public class SQLVerbatim extends Object implements SQLValueIF
| Modifier and Type | Field and Description |
|---|---|
protected String |
alias |
protected static FieldHandlerIF |
DEFAULT_FIELD_HANDLER |
protected static Class |
DEFAULT_VALUE_TYPE |
protected FieldHandlerIF |
fhandler |
protected SQLTable[] |
tables |
protected Object |
value |
protected Class |
vtype |
| Constructor and Description |
|---|
SQLVerbatim(Object value) |
SQLVerbatim(Object value,
SQLTable[] tables) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
INTERNAL: The column alias to use if this value is
included in the projection.
|
int |
getArity()
INTERNAL: Returns the [column] arity of the value.
|
FieldHandlerIF |
getFieldHandler()
INTERNAL: Returns the field handler for the columns.
|
SQLValueIF |
getReference()
INTERNAL: Returns the referenced value if one exists.
|
SQLTable[] |
getTables()
INTERNAL: Returns the tables that are involved in the verbatim
expression.
|
int |
getType()
INTERNAL: Returns the value class type.
|
Object |
getValue() |
int |
getValueArity()
INTERNAL: Returns the value arity of the value.
|
Class |
getValueType()
INTERNAL: Returns the value type.
|
boolean |
isReference()
INTERNAL: Returns true if this value is a reference to another.
|
void |
setAlias(String alias)
INTERNAL: Sets the column alias.
|
void |
setFieldHandler(FieldHandlerIF fhandler)
INTERNAL: Sets the field handler for the value.
|
void |
setTables(SQLTable[] tables) |
void |
setValueType(Class vtype)
INTERNAL: Sets the value type.
|
String |
toString() |
protected static final Class DEFAULT_VALUE_TYPE
protected static final FieldHandlerIF DEFAULT_FIELD_HANDLER
protected Object value
protected String alias
protected SQLTable[] tables
protected Class vtype
protected FieldHandlerIF fhandler
public SQLVerbatim(Object value)
public int getType()
SQLValueIFSQLValueIF interface.getType in interface SQLValueIFpublic int getArity()
SQLValueIFgetArity in interface SQLValueIFpublic int getValueArity()
SQLValueIFgetValueArity in interface SQLValueIFpublic String getAlias()
SQLValueIFgetAlias in interface SQLValueIFpublic void setAlias(String alias)
SQLValueIFsetAlias in interface SQLValueIFpublic boolean isReference()
SQLValueIFisReference in interface SQLValueIFpublic SQLValueIF getReference()
SQLValueIFgetReference in interface SQLValueIFpublic Object getValue()
public Class getValueType()
SQLValueIFgetValueType in interface SQLValueIFpublic void setValueType(Class vtype)
SQLValueIFsetValueType in interface SQLValueIFpublic FieldHandlerIF getFieldHandler()
getFieldHandler in interface SQLValueIFpublic void setFieldHandler(FieldHandlerIF fhandler)
SQLValueIFsetFieldHandler in interface SQLValueIFpublic SQLTable[] getTables()
public void setTables(SQLTable[] tables)