Const.ConstExpStateFALSE, TRUEABS_VAL, ARGS_VAL, CMP_EQUAL, COALESCE_VAL, CONCAT_VAL, FORCE_OUTER, GENERALCASE_VAL, INDEXOF_VAL, JOIN_REL, LENGTH_VAL, LOCATE_VAL, LOWER_VAL, MATH_VAL, NULL_CMP, NULLIF_VAL, SIMPLECASE_VAL, SQRT_VAL, SUBSTRING_VAL, TRIM_VAL, UPPER_VAL, VAL, WHENCONDITION_VAL, WHENSCALAR_VAL| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisit(ExpressionVisitor visitor)
Accept a visit from a tree visitor.
|
void |
appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index)
Append the
indexth SQL element to the given buffer. |
void |
calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState)
Calculate and cache the SQL for this value.
|
void |
get(FieldMetaData field,
boolean nullTraversal)
Traverse into the given field of the current object, and update
the current object to that field value.
|
void |
get(FieldMetaData fmd,
XMLMetaData meta)
Traverse into the given field that maps to xml column, and update
the current object to that field value.
|
void |
get(XMLMetaData meta,
String name)
Traverse into the gevin xpath name of the current object, and update
the current object to that xpath field.
|
String |
getCorrelationVar() |
void |
getKey() |
String |
getSchemaAlias() |
Object |
getSQLValue(Select sel,
ExpContext ctx,
ExpState state)
Return the SQL value of this constant.
|
Class |
getType()
Return the expected type for this value, or
Object if
the type is unknown. |
Object |
getValue(ExpContext ctx,
ExpState state)
Return the value of this constant.
|
Object |
getValue(Object[] params)
Return the value for this constant given the specified parameters.
|
XMLMetaData |
getXmlMapping()
Return the current XPath's xmlmapping metadata.
|
ExpState |
initialize(Select sel,
ExpContext ctx,
int flags)
Initialize the value.
|
FieldMetaData |
last()
Return the last field in the path, or null if the path does not
not contain a final field.
|
void |
setImplicitType(Class type)
Set the implicit type of the value, based on how it is used in the
filter.
|
void |
setSchemaAlias(String schemaAlias)
Set the schema alias (the identification variable)
this path is begin with.
|
void |
setSubqueryContext(Context conext,
String correlationVar) |
appendIsEmpty, appendIsNotEmpty, appendIsNotNull, appendIsNull, appendSize, getMetaData, groupBy, isSQLValueNull, length, load, orderBy, select, selectColumns, setMetaDataappendIndex, appendType, getAlias, getId, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, toDataStoreValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendIndex, appendIsEmpty, appendIsNotEmpty, appendIsNotNull, appendIsNull, appendSize, appendType, getId, getSelectAs, groupBy, length, load, orderBy, select, selectColumns, toDataStoreValuegetAlias, getMetaData, getName, getPath, isAggregate, isVariable, isXPath, setAlias, setMetaDatapublic ConstPath(Const constant)
public Class getType()
ValueObject if
the type is unknown.public void setImplicitType(Class type)
ValueObject from Value.getType().setImplicitType in interface Valuepublic void get(FieldMetaData field, boolean nullTraversal)
Pathpublic FieldMetaData last()
Pathpublic Object getValue(Object[] params)
Constantpublic Object getValue(ExpContext ctx, ExpState state)
Constpublic Object getSQLValue(Select sel, ExpContext ctx, ExpState state)
ConstgetSQLValue in class Constpublic ExpState initialize(Select sel, ExpContext ctx, int flags)
Valinitialize in interface Valinitialize in class Constpublic void calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
Vallength or any append methods.calculateValue in interface ValcalculateValue in class Constother - the value being compared to, or null if not a comparisonpublic void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)
Valindexth SQL element to the given buffer.public void acceptVisit(ExpressionVisitor visitor)
ValueacceptVisit in interface ValueacceptVisit in class AbstractValpublic void get(FieldMetaData fmd, XMLMetaData meta)
Pathpublic void get(XMLMetaData meta, String name)
Pathpublic XMLMetaData getXmlMapping()
PathgetXmlMapping in interface Pathpublic void setSchemaAlias(String schemaAlias)
PathsetSchemaAlias in interface Pathpublic String getSchemaAlias()
getSchemaAlias in interface Pathpublic void setSubqueryContext(Context conext, String correlationVar)
setSubqueryContext in interface Pathpublic String getCorrelationVar()
getCorrelationVar in interface PathCopyright © 2006–2013 Apache Software Foundation. All rights reserved.