net.ontopia.persistence.query.sql
Class SQLVerbatimExpression
java.lang.Object
net.ontopia.persistence.query.sql.SQLVerbatimExpression
- All Implemented Interfaces:
- SQLExpressionIF
public class SQLVerbatimExpression
- extends Object
- implements SQLExpressionIF
INTERNAL: Represents a verbatim SQL expression.
Fields inherited from interface net.ontopia.persistence.query.sql.SQLExpressionIF |
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM |
DEFAULT_VALUE_TYPE
protected static final Class DEFAULT_VALUE_TYPE
DEFAULT_FIELD_HANDLER
protected static final FieldHandlerIF DEFAULT_FIELD_HANDLER
value
protected Object value
alias
protected String alias
tables
protected SQLTable[] tables
vtype
protected Class vtype
fhandler
protected FieldHandlerIF fhandler
SQLVerbatimExpression
public SQLVerbatimExpression(Object value)
SQLVerbatimExpression
public SQLVerbatimExpression(Object value,
SQLTable[] tables)
getType
public int getType()
- Description copied from interface:
SQLExpressionIF
- INTERNAL: Returns the expression type. The type is represented by
one of the constants in the
SQLExpressionIF
interface.
- Specified by:
getType
in interface SQLExpressionIF
getValue
public Object getValue()
getTables
public SQLTable[] getTables()
- INTERNAL: Returns the tables that are involved in the verbatim
expression. This information is neccessary so that the FROM
clause can be correctly generated.
setTables
public void setTables(SQLTable[] tables)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2012 Ontopia.