org.hsqldb
Class FunctionSQLInvoked
- java.lang.Object
-
- org.hsqldb.Expression
-
- org.hsqldb.FunctionSQLInvoked
-
- All Implemented Interfaces:
- java.lang.Cloneable
public class FunctionSQLInvoked extends Expression
Implementation of SQL-invoked user-defined function calls - PSM and JRT- Since:
- 1.9.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Stringdescribe(Session session, int blanks)booleanequals(Expression other)java.lang.ObjectgetAggregatedValue(Session session, java.lang.Object currValue)ExpressiongetCondition()ResultgetResult(Session session)java.lang.StringgetSQL()For use with CHECK constraints.java.lang.ObjectgetValue(Session session)booleanhasCondition()booleanisDeterministic()HsqlListresolveColumnReferences(Session session, RangeGroup rangeGroup, int rangeCount, RangeGroup[] rangeGroups, HsqlList unresolvedSet, boolean acceptsSequences)voidresolveTypes(Session session, Expression parent)voidsetArguments(Expression[] newNodes)voidsetCondition(Expression e)java.lang.ObjectupdateAggregatingValue(Session session, java.lang.Object currValue)-
Methods inherited from class org.hsqldb.Expression
checkValidCheckConstraint, duplicate, equals, getColumn, getConstantValueNoCheck, getRowValue, getSubqueries, getTable, getType, getUnkeyedColumns, hashCode, isCorrelated, isFalse, isIndexable, isTrue, materialise, resolveCheckOrGenExpression, resolveColumnReferences, setCollation, testCondition
-
-
-
-
Method Detail
-
setArguments
public void setArguments(Expression[] newNodes)
-
resolveColumnReferences
public HsqlList resolveColumnReferences(Session session, RangeGroup rangeGroup, int rangeCount, RangeGroup[] rangeGroups, HsqlList unresolvedSet, boolean acceptsSequences)
- Overrides:
resolveColumnReferencesin classExpression
-
resolveTypes
public void resolveTypes(Session session, Expression parent)
- Overrides:
resolveTypesin classExpression
-
getValue
public java.lang.Object getValue(Session session)
- Overrides:
getValuein classExpression
-
getResult
public Result getResult(Session session)
- Overrides:
getResultin classExpression
-
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
-
describe
public java.lang.String describe(Session session, int blanks)
-
isDeterministic
public boolean isDeterministic()
-
equals
public boolean equals(Expression other)
- Overrides:
equalsin classExpression
-
updateAggregatingValue
public java.lang.Object updateAggregatingValue(Session session, java.lang.Object currValue)
- Overrides:
updateAggregatingValuein classExpression
-
getAggregatedValue
public java.lang.Object getAggregatedValue(Session session, java.lang.Object currValue)
- Overrides:
getAggregatedValuein classExpression
-
getCondition
public Expression getCondition()
- Overrides:
getConditionin classExpression
-
hasCondition
public boolean hasCondition()
- Overrides:
hasConditionin classExpression
-
setCondition
public void setCondition(Expression e)
- Overrides:
setConditionin classExpression
-
-
DataMelt 3.0 © DataMelt by jWork.ORG