Package org.h2.table

Class CTE

    • Constructor Detail

      • CTE

        public CTE​(java.lang.String name,
                   Query query,
                   java.lang.String querySQL,
                   java.util.ArrayList<Parameter> params,
                   Column[] columnTemplates,
                   SessionLocal session,
                   boolean recursive,
                   QueryScope queryScope)
    • Method Detail

      • getCreateSQL

        public java.lang.String getCreateSQL()
        Description copied from class: DbObject
        Construct the CREATE ... SQL statement for this object.
        Specified by:
        getCreateSQL in class DbObject
        Returns:
        the SQL statement
      • canDrop

        public boolean canDrop()
        Description copied from class: Table
        Check if this table can be dropped.
        Specified by:
        canDrop in class Table
        Returns:
        true if it can
      • getTableType

        public TableType getTableType()
        Description copied from class: Table
        Get the table type name
        Specified by:
        getTableType in class Table
        Returns:
        the table type name
      • getSQL

        public java.lang.StringBuilder getSQL​(java.lang.StringBuilder builder,
                                              int sqlFlags)
        Description copied from interface: HasSQL
        Appends the SQL statement of this object to the specified builder.
        Specified by:
        getSQL in interface HasSQL
        Overrides:
        getSQL in class SchemaObject
        Parameters:
        builder - string builder
        sqlFlags - formatting flags
        Returns:
        the specified string builder
      • getQuerySQL

        public java.lang.String getQuerySQL()
      • isRecursive

        public boolean isRecursive()
      • isDeterministic

        public boolean isDeterministic()
        Description copied from class: Table
        Check if the table is deterministic.
        Overrides:
        isDeterministic in class QueryExpressionTable
        Returns:
        true if it is
      • setRecursiveResult

        public void setRecursiveResult​(ResultInterface value)