public class FunctionCustom extends FunctionSQL
Title: Dataspace Framework
Description: Dataspace underlying provider implementation
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static int |
FUNC_FROM_JSON |
static int |
FUNC_FROM_XML |
static int |
FUNC_LINK_FILE |
static int |
FUNC_READ_FILE |
static int |
FUNC_READ_LINES |
static int |
FUNC_TO_FLOB |
static int |
FUNC_TO_JSON |
static int |
FUNC_TO_XML |
static java.lang.String[] |
openGroupDateTimeFunctions |
static java.lang.String[] |
openGroupNumericFunctions |
static java.lang.String[] |
openGroupStringFunctions |
static java.lang.String[] |
openGroupSystemFunctions |
FUNC_CURRENT_DATE, FUNC_CURRENT_TIME, FUNC_CURRENT_TIMESTAMP, FUNC_GET_ASSIGNED_TYPE, FUNC_GET_DOMAIN_TYPE, FUNC_IS_TYPE, FUNC_LOCALTIME, FUNC_LOCALTIMESTAMP, FUNC_VALUE, funcType, parseList, parseListAlt
BINARY, collation, columnExpressionSet, columnIndex, dataType, emptyArray, emptyExpressionSet, EXPR_FALSE, EXPR_TRUE, exprSubType, isColumnEqual, isSingleColumnCondition, LEFT, metaResultObject, nodes, opType, parameterIndex, rangePosition, RIGHT, subQuery, TERNARY, UNARY, unresolvedExpressions, valueData
Modifier and Type | Method and Description |
---|---|
com.streamscape.ds.parser.expression.Expression |
getFunctionExpression() |
static SQLFunctionsMetaData.SQLFunctionMetaData |
getFunctionMetaData(java.lang.String functionName) |
java.lang.String |
getSQL()
For use with CHECK constraints.
|
java.lang.Object |
getValue(com.streamscape.ds.session.Session session)
Evaluates and returns this Function in the context of the session.
|
static FunctionSQL |
newCustomFunction(java.lang.String token,
int tokenType) |
void |
resolveTypes(com.streamscape.ds.session.Session session,
com.streamscape.ds.parser.expression.Expression parent) |
void |
setArguments(com.streamscape.ds.parser.expression.Expression[] nodes) |
static char[] |
soundex(java.lang.String s)
Returns a four character code representing the sound of the given
String . |
static void |
unloadSerializers() |
collectObjectNames, describe, describeJson, equals, getFunctionDefinition, getName, hashCode, isDeterministic, isValueFunction, listFunctions, newSQLFunction
checkValidCheckConstraint, collectAllExpressions, collectAllSubqueries, collectRangeVariables, costFactor, duplicate, equals, getAggregatedValue, getCheckSelect, getColumn, getColumnIndex, getColumnName, getCondition, getConstantValueNoCheck, getDataType, getDegree, getIndexableExpression, getJoinRangeVariables, getLeftNode, getNodeDataType, getNodeDataTypes, getRangeVariable, getResult, getRightNode, getRowValue, getSubqueries, getTable, getType, getUnkeyedColumns, getValue, hasCondition, isAggregate, isCorrelated, isDynamicParam, isFutureFunctionSensitive, isIndexable, isUnresolvedParam, materialise, prepareTable, replaceColumnReferences, replaceRangeVariables, resetColumnReferences, resolveCheckOrGenExpression, resolveColumnReferences, resolveColumnReferences, resolveColumnSet, setAlias, setAttributesAsColumn, setCollation, setCondition, setDataType, setLeftNode, setRightNode, setSubType, testCondition, toString, updateAggregatingValue
public static final java.lang.String[] openGroupNumericFunctions
public static final java.lang.String[] openGroupStringFunctions
public static final java.lang.String[] openGroupDateTimeFunctions
public static final java.lang.String[] openGroupSystemFunctions
public static final int FUNC_READ_FILE
public static final int FUNC_TO_XML
public static final int FUNC_TO_JSON
public static final int FUNC_FROM_XML
public static final int FUNC_FROM_JSON
public static final int FUNC_LINK_FILE
public static final int FUNC_TO_FLOB
public static final int FUNC_READ_LINES
public static SQLFunctionsMetaData.SQLFunctionMetaData getFunctionMetaData(java.lang.String functionName)
public static FunctionSQL newCustomFunction(java.lang.String token, int tokenType)
public void setArguments(com.streamscape.ds.parser.expression.Expression[] nodes)
setArguments
in class FunctionSQL
public com.streamscape.ds.parser.expression.Expression getFunctionExpression()
getFunctionExpression
in class FunctionSQL
public java.lang.Object getValue(com.streamscape.ds.session.Session session)
FunctionSQL
getValue
in class FunctionSQL
public void resolveTypes(com.streamscape.ds.session.Session session, com.streamscape.ds.parser.expression.Expression parent)
resolveTypes
in class FunctionSQL
public java.lang.String getSQL()
com.streamscape.ds.parser.expression.Expression
getSQL
in class FunctionSQL
public static char[] soundex(java.lang.String s)
String
. Non-ASCCI characters in the
input String
are ignored. This method was rewritten for HSQLDB to comply with the description at http://www.archives.gov/genealogy/census/soundex.html .
s
- the String
for which to calculate the 4 character
SOUNDEX
valueSOUNDEX
value for the given
String
public static void unloadSerializers()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.