org.gibello.zql
Class ZConstant
java.lang.Object
org.gibello.zql.ZConstant
- All Implemented Interfaces:
- java.io.Serializable, ZExp
public class ZConstant
- extends java.lang.Object
- implements ZExp
ZConstant: a representation of SQL constants
- See Also:
- Serialized Form
Constructor Summary |
ZConstant(java.lang.String v,
int typ)
Create a new constant, given its name and type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final int UNKNOWN
- ZConstant types
- See Also:
- Constant Field Values
COLUMNNAME
public static final int COLUMNNAME
- See Also:
- Constant Field Values
NULL
public static final int NULL
- See Also:
- Constant Field Values
NUMBER
public static final int NUMBER
- See Also:
- Constant Field Values
STRING
public static final int STRING
- See Also:
- Constant Field Values
ZConstant
public ZConstant(java.lang.String v,
int typ)
- Create a new constant, given its name and type.
getValue
public java.lang.String getValue()
getType
public int getType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object