org.hsqldb
Class ExpressionLogical
- java.lang.Object
-
- org.hsqldb.Expression
-
- org.hsqldb.ExpressionLogical
-
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ExpressionLike
public class ExpressionLogical extends Expression
- Since:
- 1.9.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddLeftColumnsForAllAny(RangeVariable range, OrderedIntHashSet set)java.lang.StringgetSQL()For use with CHECK constraints.java.lang.ObjectgetValue(Session session)booleanisIndexable(RangeVariable rangeVar)voidresolveTypes(Session session, Expression parent)voidsetSubType(int type)-
Methods inherited from class org.hsqldb.Expression
checkValidCheckConstraint, duplicate, equals, equals, getAggregatedValue, getColumn, getCondition, getConstantValueNoCheck, getResult, getRowValue, getSubqueries, getTable, getType, getUnkeyedColumns, hasCondition, hashCode, isCorrelated, isFalse, isTrue, materialise, resolveCheckOrGenExpression, resolveColumnReferences, resolveColumnReferences, setCollation, setCondition, testCondition, updateAggregatingValue
-
-
-
-
Method Detail
-
addLeftColumnsForAllAny
public void addLeftColumnsForAllAny(RangeVariable range, OrderedIntHashSet set)
-
setSubType
public void setSubType(int type)
-
getSQL
public java.lang.String getSQL()
Description copied from class:ExpressionFor use with CHECK constraints. Under development. Currently supports a subset of expressions and is suitable for CHECK search conditions that refer only to the inserted/updated row. For full DDL reporting of VIEW select queries and CHECK search conditions, future improvements here are dependent upon improvements to SELECT query parsing, so that it is performed in a number of passes. An early pass should result in the query turned into an Expression tree that contains the information in the original SQL without any alterations, and with tables and columns all resolved. This Expression can then be preserved for future use. Table and column names that are not user-defined aliases should be kept as the HsqlName structures so that table or column renaming is reflected in the precompiled query.- Overrides:
getSQLin classExpression
-
resolveTypes
public void resolveTypes(Session session, Expression parent)
- Overrides:
resolveTypesin classExpression
-
getValue
public java.lang.Object getValue(Session session)
- Overrides:
getValuein classExpression
-
isIndexable
public boolean isIndexable(RangeVariable rangeVar)
- Overrides:
isIndexablein classExpression
-
-
DataMelt 3.0 © DataMelt by jWork.ORG