public class NullPredicate extends SimplePredicate
MAP_IN_AGGREGATE, MAP_IN_WINDOW, MAP_INITIAL| Constructor and Description |
|---|
NullPredicate(Expression left,
boolean not) |
| Modifier and Type | Method and Description |
|---|---|
void |
createIndexConditions(Session session,
TableFilter filter)
Create index conditions if possible and attach them to the table filter.
|
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, getAlias, getBooleanValue, getColumnName, getExpressionColumns, getExpressionColumns, getExpressionColumns, getNonAliasExpression, getNullable, getSchemaName, getSQL, getTableAlias, getTableName, getUnenclosedSQL, isAutoIncrement, isConstant, isNullConstant, isValueSet, toString, writeExpressions, writeExpressionspublic NullPredicate(Expression left, boolean not)
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 void createIndexConditions(Session session, TableFilter filter)
ExpressioncreateIndexConditions in class Expressionsession - the sessionfilter - the table filterpublic TypeInfo getType()
ExpressiongetType in class Expression