class Index extends UnaryOp
FALSE, 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 |
appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index)
Append the
indexth SQL element to the given buffer. |
protected String |
getOperator()
Return the name of this operator.
|
protected Class |
getType(Class c)
Return the type of this value based on the argument type.
|
ExpState |
initialize(Select sel,
ExpContext ctx,
int flags)
Initialize the value.
|
acceptVisit, calculateValue, getMetaData, getNoParen, getType, getValue, groupBy, initializeValue, length, load, nullableValue, orderBy, select, selectColumns, setImplicitType, setMetaDataappendIndex, appendIsEmpty, appendIsNotEmpty, appendIsNotNull, appendIsNull, appendSize, appendType, getAlias, getId, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, toDataStoreValuepublic Index(Val val)
public ExpState initialize(Select sel, ExpContext ctx, int flags)
Valinitialize in interface Valinitialize in class UnaryOppublic void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)
Valindexth SQL element to the given buffer.protected Class getType(Class c)
UnaryOpprotected String getOperator()
UnaryOpgetOperator in class UnaryOpCopyright © 2006–2015 Apache Software Foundation. All rights reserved.