public class TypePredicate extends SimplePredicate
MAP_IN_AGGREGATE, MAP_IN_WINDOW, MAP_INITIAL| Constructor and Description |
|---|
TypePredicate(Expression left,
boolean not,
TypeInfo[] typeList) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getNotIfPossible(Session session)
If it is possible, return the negated expression.
|
java.lang.StringBuilder |
getSQL(java.lang.StringBuilder builder,
boolean alwaysQuote)
Appends the SQL statement of this expression to the specified builder.
|
TypeInfo |
getType()
Returns the data type.
|
Value |
getValue(Session session)
Return the resulting value for the current row.
|
Expression |
optimize(Session session)
Try to optimize the expression.
|
getCost, getSubexpression, getSubexpressionCount, isEverything, mapColumns, setEvaluatable, updateAggregateaddFilterConditions, createIndexConditions, getAlias, getBooleanValue, getColumnName, getExpressionColumns, getExpressionColumns, getExpressionColumns, getNonAliasExpression, getNullable, getSchemaName, getSQL, getTableAlias, getTableName, getUnenclosedSQL, isAutoIncrement, isConstant, isNullConstant, isValueSet, toString, writeExpressions, writeExpressionspublic TypePredicate(Expression left, boolean not, TypeInfo[] typeList)
public java.lang.StringBuilder getSQL(java.lang.StringBuilder builder,
boolean alwaysQuote)
ExpressiongetSQL in class Expressionbuilder - string builderalwaysQuote - quote all identifierspublic Expression optimize(Session session)
Expressionoptimize in class SimplePredicatesession - the sessionpublic Value getValue(Session session)
ExpressiongetValue in class Expressionsession - the sessionpublic Expression getNotIfPossible(Session session)
ExpressiongetNotIfPossible in class Expressionsession - the sessionpublic TypeInfo getType()
ExpressiongetType in class Expression