Documentation of 'org.hsqldb.FunctionSQL' Java class
FunctionSQL
org.hsqldb

Class FunctionSQL

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    FunctionCustom


    public class FunctionSQL
    extends Expression
    Implementation of SQL standard function calls
    Since:
    1.9.0
    • Method Detail

      • setArguments

        public void setArguments(Expression[] newNodes)
      • getFunctionExpression

        public Expression getFunctionExpression()
      • getValue

        public java.lang.Object getValue(Session session)
        Evaluates and returns this Function in the context of the session.

        Overrides:
        getValue in class Expression
      • getSQL

        public java.lang.String getSQL()
        Description copied from class: Expression
        For 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:
        getSQL in class Expression
      • describe

        public java.lang.String describe(Session session,
                                         int blanks)
        Returns a String representation of this object.

      • isDeterministic

        public boolean isDeterministic()
      • isValueFunction

        public boolean isValueFunction()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.