public class DatastoreFunction extends UnaryOp
FALSE, TRUE
ABS_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
Constructor and Description |
---|
DatastoreFunction(String name,
Class<?> resultType,
Arguments args) |
Modifier and Type | Method and Description |
---|---|
void |
appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index)
Append the
index th SQL element to the given buffer. |
protected String |
getOperator()
Return the name of this operator.
|
acceptVisit, calculateValue, getMetaData, getNoParen, getType, getType, getValue, groupBy, initialize, initializeValue, length, load, nullableValue, orderBy, select, selectColumns, setImplicitType, setMetaData
appendIndex, appendIsEmpty, appendIsNotEmpty, appendIsNotNull, appendIsNull, appendSize, appendType, getAlias, getId, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, toDataStoreValue
protected String getOperator()
UnaryOp
getOperator
in class UnaryOp
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.