Uses of Interface
com.exasol.sql.Fragment
-
-
Uses of Fragment in com.exasol.sql
Subinterfaces of Fragment in com.exasol.sql Modifier and Type Interface Description interfaceSqlStatementThis interface represents an SQL statement.Classes in com.exasol.sql that implement Fragment Modifier and Type Class Description classAbstractFragmentCommon base class for SQL statement fragmentsclassColumnThis class represents a column in an SQL statementclassColumnsDefinitionThis class represents a list of column definitions in an SQL statement.classDerivedColumnThis class represents a derived column in an SQL query.classTableRepresents aTablein an SQL Statement.classValueTableValue tables are pseudo-tables constructed from rows and columns of expressions (e.g.classValueTableRowThis class represents a row in aValueTable.Fields in com.exasol.sql declared as Fragment Modifier and Type Field Description protected FragmentAbstractFragment. rootRoot fragment of the statement fragment tree.Methods in com.exasol.sql that return Fragment Modifier and Type Method Description FragmentAbstractFragment. getRoot()FragmentFragment. getRoot()Get the root statement of this SQL fragment.Methods in com.exasol.sql with parameters of type Fragment Modifier and Type Method Description static ValueTableRow.BuilderValueTableRow. builder(Fragment root)Get aValueTableRow.Builderfor aValueTableRow.Constructors in com.exasol.sql with parameters of type Fragment Constructor Description AbstractFragment(Fragment root)Create an instance of an SQL fragmentBuilder(Fragment root)Create a new builder for a value table row.Column(Fragment root, String columnName, DataType dataType)Create a new instance of aColumnDerivedColumn(Fragment root, ValueExpression valueExpression)Create a new instance of aDerivedColumn.DerivedColumn(Fragment root, ValueExpression valueExpression, String derivedColumnName)Create a new instance of aDerivedColumn.Table(Fragment root, String name)Create a newTablewith a name and an alias.Table(Fragment root, String name, String alias)Create a newTablewith a name and an alias.ValueTable(Fragment root)Create a newValueTable.ValueTableRow(Fragment root, ValueExpression... expressions)Create a value table row from a list of expressions.ValueTableRow(Fragment root, String... values)Create a value table row from a list of string literals. -
Uses of Fragment in com.exasol.sql.ddl
Classes in com.exasol.sql.ddl that implement Fragment Modifier and Type Class Description classSchemaThis class represents aSchemain an SQL StatementConstructors in com.exasol.sql.ddl with parameters of type Fragment Constructor Description Schema(Fragment root, String schemaName)Create a newSchema -
Uses of Fragment in com.exasol.sql.ddl.create
Subinterfaces of Fragment in com.exasol.sql.ddl.create Modifier and Type Interface Description interfaceCreateSchemaFragmentThis is the common interface for all fragments of a CREATE SCHEMA statement.interfaceCreateTableFragmentThis is the common interface for all fragments of a CREATE TABLE statement.Classes in com.exasol.sql.ddl.create that implement Fragment Modifier and Type Class Description classCreateSchemaThis class implements an SQLCreateSchemastatement.classCreateTableThis class implements an SQLCreateTablestatement -
Uses of Fragment in com.exasol.sql.ddl.drop
Subinterfaces of Fragment in com.exasol.sql.ddl.drop Modifier and Type Interface Description interfaceDropSchemaFragmentThis is the common interface for all fragments of a DROP SCHEMA statement.interfaceDropTableFragmentThis is the common interface for all fragments of a DROP TABLE statement.Classes in com.exasol.sql.ddl.drop that implement Fragment Modifier and Type Class Description classCascadeThis class represents CASCADE clause in DROP SCHEMA SQL statementclassCascadeConstraintsThis class represents CASCADE CONSTRAINTS clause in the DROP TABLE SQL statementclassDropSchemaThis class implements an SQLDropSchemastatement.classDropTableThis class implements an SQLDropTablestatement.classRestrictThis class represents RESTRICT clause in DROP SCHEMA SQL statementConstructors in com.exasol.sql.ddl.drop with parameters of type Fragment Constructor Description Cascade(Fragment root)Create an instance ofCascadeclassCascadeConstraints(Fragment root)Create an instance ofCascadeConstraintsclassRestrict(Fragment root)Create an instance ofRestrictclass -
Uses of Fragment in com.exasol.sql.dml.insert
Subinterfaces of Fragment in com.exasol.sql.dml.insert Modifier and Type Interface Description interfaceInsertFragmentThis is the common interface for all fragments of a INSERT statement.Classes in com.exasol.sql.dml.insert that implement Fragment Modifier and Type Class Description classAbstractInsertValueTable<T extends AbstractInsertValueTable<T>>Abstract base class for SQL fragments that contain a insert value table (for exampleINSERT,MERGE).classInsertThis class implements an SQLInsertstatement.classInsertFieldsField list that defines the fields data is being inserted into.Constructors in com.exasol.sql.dml.insert with parameters of type Fragment Constructor Description AbstractInsertValueTable(Fragment root)Create the abstract base for a fragment containing a value table.InsertFields(Fragment root)Create an new instance ofInsertFields -
Uses of Fragment in com.exasol.sql.dml.merge
Subinterfaces of Fragment in com.exasol.sql.dml.merge Modifier and Type Interface Description interfaceMergeFragmentThis is the common interface for all fragments of aMERGEstatement.Classes in com.exasol.sql.dml.merge that implement Fragment Modifier and Type Class Description classMatchedClauseRepresentation of theWHEN MATCHEDpart of an SQLMERGE statement.classMergeclassMergeColumnUpdateUpdate of a value in a column caused by aMERGEcommand.classMergeDeleteClauseThis class represents theMERGEstrategy of deleting matched rows.classMergeInsertClauseRepresents theMERGEstrategy of inserting rows from the source that do not match any row in the destination.classMergeMethodDefinitionAbstract base class for merge method definitions likeWHEN MATCHED THEN UPDATE.classMergeUpdateClauseRepresents theMERGEstrategy of updating matched rows.classNotMatchedClauseRepresentation of theWHEN NOT MATCHEDpart of an SQLMERGE statement.classOnClauseTheONclause of an SQLMERGEstatement.classUsingClauseTheUSINGclause of an SQLMERGEstatement.Constructors in com.exasol.sql.dml.merge with parameters of type Fragment Constructor Description MatchedClause(Fragment root)Create a new instance of aMatchedClause.MergeColumnUpdate(Fragment root, String column, ValueExpression expression)Create a new instance of aMergeColumnUpdate.MergeDeleteClause(Fragment root)Create a new instance of aMergeDeleteClause.MergeInsertClause(Fragment root)Create a new instance of aMergeInsertClause.MergeMethodDefinition(Fragment root)Create the abstract base for a merge method definition.MergeUpdateClause(Fragment root)Create a new instance of aMergeUpdateClause.NotMatchedClause(Fragment root)Create a new instance of aNotMatchedClause.OnClause(Fragment root, BooleanExpression condition)Create a new instance of aOnClause.UsingClause(Fragment root, String sourceTable)Create a new instance of aUsingClause.UsingClause(Fragment root, String sourceTable, String as)Create a new instance of aUsingClause. -
Uses of Fragment in com.exasol.sql.dql.select
Subinterfaces of Fragment in com.exasol.sql.dql.select Modifier and Type Interface Description interfaceSelectFragmentThis is the common interface for all fragments of a SELECT statement.Classes in com.exasol.sql.dql.select that implement Fragment Modifier and Type Class Description classFromClauseThis class represents theFROMclause of an SQLSELECTstatement.classGroupByClauseThis class represents the GROUP BY clause of an SQL statement.classJoinThis class implements theJoinpart of a WHERE clause.classLimitClauseThis class represents the limit clause of an SQL statement.classOrderByClauseThis class represents theORDER BYclause of an SQL statement.classSelectThis class implements an SQLSelectstatement.classWhereClauseThis class represents the where clause of an SQL statement.Constructors in com.exasol.sql.dql.select with parameters of type Fragment Constructor Description FromClause(Fragment root)Create a new instance of aFromClause.Join(Fragment root, JoinType type, String name, String specification)Create a newJoininstance -
Uses of Fragment in com.exasol.sql.rendering
Methods in com.exasol.sql.rendering with parameters of type Fragment Modifier and Type Method Description protected voidAbstractFragmentRenderer. appendCommaWhenNeeded(Fragment fragment)Append a comma where necessary.protected voidAbstractFragmentRenderer. setLastVisited(Fragment fragment)Set the last statement fragment that was visited.
-