dsql.value
Class ScalarValue
java.lang.Object
dsql.DMExecuted
dsql.value.Value
dsql.value.ScalarValue
- Direct Known Subclasses:
- NumericValue, StringValue
- public abstract class ScalarValue
- extends Value
Methods inherited from class dsql.value.Value |
getBoolean, getField, getFloat, getInt, getObject, getObjectClass, getRecordHolder, getString, getType, getValue, getValue, setField |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScalarValue
public ScalarValue()
equals
public boolean equals(java.lang.Object obj)
isScalar
public boolean isScalar()
- Specified by:
isScalar
in class Value
- Returns:
- true if this value is a scalar, e.g. number, string, etc.
getMeta
public ConstructedResults getMeta()
throws ExecuteException
- Specified by:
getMeta
in class Value
- Returns:
- meta-information about this Value, e.g. for a table,
it returns the names,types,width,etc. of its columns.
- Throws:
ExecuteException
print
public void print(ASTPrint printer)
throws ExecuteException
- Description copied from class:
Value
- Print this value using printer
- Specified by:
print
in class Value
- Throws:
ExecuteException
getTypeName
public abstract java.lang.String getTypeName()
- Returns:
- the internal scalar type, e.g. "STRING"
getSQLTypeName
public abstract java.lang.String getSQLTypeName()
- Returns:
- the corresponding SQL type, e.g. "VARCHAR"