A B C D E F G H I J L M N O P Q R S T U V W

A

AbstractBuilder<ExpressionType> - Interface in org.sql.generation.api.grammar.builders
A common interface for all builders.
addClassloader(ClassLoader) - Static method in class org.sql.generation.api.vendor.internal.ServiceLoader
 
addColumnNames(String...) - Method in interface org.sql.generation.api.grammar.builders.modification.ColumnSourceByValuesBuilder
Adds the names for the columns.
addCrossJoin(TableReference) - Method in interface org.sql.generation.api.grammar.builders.query.TableReferenceBuilder
Adds a cross join (CROSS JOIN) to whatever current table of builder, and overwrites the current table with the result.
addGroupingElements(GroupingElement...) - Method in interface org.sql.generation.api.grammar.builders.query.GroupByBuilder
Adds grouping elements to this GROUP BY clause.
addNamedColumns(ColumnReferences.ColumnReferenceInfo...) - Method in interface org.sql.generation.api.grammar.builders.query.ColumnsBuilder
Add columns with aliases to this SELECT statement.
addNaturalJoin(JoinType, TableReference) - Method in interface org.sql.generation.api.grammar.builders.query.TableReferenceBuilder
Adds a natural join (NATURAL JOIN) to whatever current table of builder, and overwrites the current table with the result.
addQualifiedJoin(JoinType, TableReference, JoinSpecification) - Method in interface org.sql.generation.api.grammar.builders.query.TableReferenceBuilder
Adds a qualified join (JOIN) to whatever current table of builder, and overwrites the current table with the result.
addSetClauses(SetClause...) - Method in interface org.sql.generation.api.grammar.builders.modification.UpdateBySearchBuilder
Adds the clause to the set-clause list of this UPDATE statement.
addSortSpecs(SortSpecification...) - Method in interface org.sql.generation.api.grammar.builders.query.OrderByBuilder
Adds sort specifications to this ORDER BY clause.
addTableReferences(TableReferenceBuilder...) - Method in interface org.sql.generation.api.grammar.builders.query.FromBuilder
Adds table reference builders to this FROM clause.
addUnionJoin(TableReference) - Method in interface org.sql.generation.api.grammar.builders.query.TableReferenceBuilder
Adds an union join (UNION JOIN) to whatever current table of builder, and overwrites the current table with the result.
addUnnamedColumns(ColumnReference...) - Method in interface org.sql.generation.api.grammar.builders.query.ColumnsBuilder
Adds columns without aliases to this SELECT statement.
addValues(NonBooleanExpression...) - Method in interface org.sql.generation.api.grammar.builders.InBuilder
 
addValues(ValueExpression...) - Method in interface org.sql.generation.api.grammar.builders.modification.ColumnSourceByValuesBuilder
Adds the expressions as values to columns.
ALIAS_DEFINER - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
and(BooleanExpression) - Method in interface org.sql.generation.api.grammar.builders.BooleanBuilder
Sets current expression as current expression AND next.
AND - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
and(BooleanExpression, BooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new Conjunction.
ANY - Static variable in interface org.sql.generation.api.grammar.common.SQLFunctions
 
ASTERISK - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
AsteriskSelect - Interface in org.sql.generation.api.grammar.query
This syntax element represents the asterisk in expression SELECT *.
asTypeable() - Method in interface org.sql.generation.api.grammar.query.TableReference
Helper method to cast this object into Typeable.
AVG - Static variable in interface org.sql.generation.api.grammar.common.SQLFunctions
 

B

between(NonBooleanExpression, NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new BetweenPredicate.
BetweenPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing SQL expression BETWEEN x AND y.
BinaryPredicate - Interface in org.sql.generation.api.grammar.booleans
A common interface for all boolean expressions taking two value expressions and having some operator between them.
BooleanBuilder - Interface in org.sql.generation.api.grammar.builders
A builder-pattern interface to build boolean expressions.
booleanBuilder() - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Returns new BooleanBuilder with Predicate.EmptyPredicate as initial value.
booleanBuilder(BooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Returns new BooleanBuilder with given boolean expression as initial value.
BooleanExpression - Interface in org.sql.generation.api.grammar.booleans
A common interface for all boolean expressions in SQL language.
BooleanExpression.False - Class in org.sql.generation.api.grammar.booleans
This class represents a boolean expression which always evaluates to false (FALSE.
BooleanExpression.True - Class in org.sql.generation.api.grammar.booleans
This class represents a boolean expression which always evaluates to true (TRUE).
BooleanFactory - Interface in org.sql.generation.api.grammar.factories
A factory for creating various BooleanExpressions.
BooleanTest - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing <X> IS [NOT] (TRUE | FALSE | UNKNOWN) expression (boolean test), where <X> is some boolean expression.
BooleanTest.TestType - Enum in org.sql.generation.api.grammar.booleans
The type of the test.
BooleanTest.TruthValue - Enum in org.sql.generation.api.grammar.booleans
The tested truth value.

C

CLOSE_PARENTHESIS - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
colExp(ValueExpression) - Method in interface org.sql.generation.api.grammar.factories.ColumnsFactory
Creates column reference, which has value of some expression.
colName(String) - Method in interface org.sql.generation.api.grammar.factories.ColumnsFactory
Creates column reference, which references column by name, without table name.
colName(String, String) - Method in interface org.sql.generation.api.grammar.factories.ColumnsFactory
Creates column reference, which reference column by its name and by name of table, to which it belongs.
colNames(String...) - Method in interface org.sql.generation.api.grammar.factories.ColumnsFactory
Constructs new ColumnNameList.
ColumnNameList - Interface in org.sql.generation.api.grammar.common
This interface presents a non-empty list of plain-text column names.
ColumnReference - Interface in org.sql.generation.api.grammar.query
Common interface for columns in expression SELECT <column1>, <column2>, ....
ColumnReferenceByExpression - Interface in org.sql.generation.api.grammar.query
This syntax element represents the column reference in SELECT <column reference> clause, where the column reference is some kind of expression (for example, a constant, or a query).
ColumnReferenceByName - Interface in org.sql.generation.api.grammar.query
This syntax element represents the column reference in SELECT <column reference> clause, where the column reference is column name, either with table name or without.
ColumnReferences - Interface in org.sql.generation.api.grammar.query
This syntax element represents the whole SELECT <column1>, <column2>, ... clause, up until FROM.
ColumnReferences.ColumnReferenceInfo - Class in org.sql.generation.api.grammar.query
A helper class to encapsulate column reference along with its alias.
ColumnReferences.ColumnReferenceInfo(String, ColumnReference) - Constructor for class org.sql.generation.api.grammar.query.ColumnReferences.ColumnReferenceInfo
 
ColumnsBuilder - Interface in org.sql.generation.api.grammar.builders.query
This builder builds the columns for SELECT statement.
columnsBuilder() - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a builder for the columns in SELECT expressions.
columnsBuilder(SetQuantifier) - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a builder for columns in SELECT expressions, which has specified set quantifier initially.
ColumnsFactory - Interface in org.sql.generation.api.grammar.factories
A factory to create various expressions related to columns.
ColumnSource - Interface in org.sql.generation.api.grammar.modification
This is common interface for syntax elements representing the data source for columns in INSERT INTO statement.
ColumnSource.Defaults - Class in org.sql.generation.api.grammar.modification
This syntax element represents when default values of columns are wanted to be inserted into table.
columnSourceByQuery(QueryExpression) - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates a column source, which uses a query as a source for columns in INSERT INTO statement.
columnSourceByQuery(ColumnNameList, QueryExpression) - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates a column source, which uses specified target table column names and query as source columns in INSERT INTO statement.
ColumnSourceByQuery - Interface in org.sql.generation.api.grammar.modification
This syntax element represents column source acquired by some query, for INSERT INTO statement.
columnSourceByValues() - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates a builder to add values as column sources in INSERT INTO statement.
ColumnSourceByValues - Interface in org.sql.generation.api.grammar.modification
This syntax element represents explicitly defined values for column source in INSERT INTO statement.
ColumnSourceByValuesBuilder - Interface in org.sql.generation.api.grammar.builders.modification
This builder builds the ColumnSourceByValues syntax element.
COMMA - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
ComposedBooleanExpression - Interface in org.sql.generation.api.grammar.booleans
A common interface for all boolean expressions composing of other boolean expressions.
Conjunction - Interface in org.sql.generation.api.grammar.booleans
A conjunction (AND) of two boolean expressions.
CorrespondingSpec - Interface in org.sql.generation.api.grammar.query
This syntax element represents the CORRESPONDING BY clause in UNION, INTERSECT, and EXCEPT operations on queries.
COUNT - Static variable in interface org.sql.generation.api.grammar.common.SQLFunctions
 
createExpression() - Method in interface org.sql.generation.api.grammar.builders.AbstractBuilder
Returns the expression which was being built by this builder.
createExpression() - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
 
createQuery(QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates new query, which has the specified body as an actual query.
createTargetTable(TableName) - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates new target table to use in modification statements.
createTargetTable(TableName, Boolean) - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates new target table to use in modification statements.
createVendor(Class<VendorType>) - Static method in class org.sql.generation.api.vendor.SQLVendorProvider
Creates a new vendor.
CrossJoinedTable - Interface in org.sql.generation.api.grammar.query.joins
This syntax element represents the cross join (CROSS JOIN between two tables.

D

DateTimeLiteral - Interface in org.sql.generation.api.grammar.literals
This syntax element encapsulates reference to some date to be inserted into SQL statement.
deleteBySearch() - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates builder to create DeleteBySearch statements.
DeleteBySearch - Interface in org.sql.generation.api.grammar.modification
This syntax element represents a DELETE FROM statement.
DeleteBySearchBuilder - Interface in org.sql.generation.api.grammar.builders.modification
This builder builds statements deleting rows matching search condition (DELETE FROM table [WHERE searchCondition ]).
DeleteStatement - Interface in org.sql.generation.api.grammar.modification
A common interface for all statements deleting data from tables.
DirectLiteral - Interface in org.sql.generation.api.grammar.literals
This syntax element encapsulates text to be inserted directly into SQL statement.
Disjunction - Interface in org.sql.generation.api.grammar.booleans
A disjunction (OR of two boolean expressions.
dt(Date) - Method in interface org.sql.generation.api.grammar.factories.LiteralFactory
Creates a literal, which has some date as content.
DynamicColumnSource - Interface in org.sql.generation.api.grammar.modification
A common interface for column sources with named columns for INSERT INTO statement.

E

eq(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new EqualsPredicate.
EqualsPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing equality test (x = y).
EVERY - Static variable in interface org.sql.generation.api.grammar.common.SQLFunctions
 
except(SetQuantifier, CorrespondingSpec, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds EXCEPT between current query and the given query.
except(QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds EXCEPT <setQuantifier> between current query and the given query.
except(SetQuantifier, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds EXCEPT <correspondingSpec> between current query and the given query.
except(CorrespondingSpec, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds EXCEPT <setQuantifier> <correspondingSpec> between current query and the given query.
exists(QueryExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new ExistsPredicate.
ExistsPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing existence test (EXISTS).

F

firstProvider(Class<T>) - Method in class org.sql.generation.api.vendor.internal.ServiceLoader
 
FROM - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
FromBuilder - Interface in org.sql.generation.api.grammar.builders.query
The builder that builds the FROM clause in SQL SELECT query.
fromBuilder() - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a builder for FROM clause.
FromClause - Interface in org.sql.generation.api.grammar.query
This syntax element represents the FROM clause in SELECT statement.
func(String, ValueExpression...) - Method in interface org.sql.generation.api.grammar.factories.LiteralFactory
Creates a literal, which represents a use of SQL function.

G

geq(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new GreaterOrEqualPredicate.
getAlias() - Method in class org.sql.generation.api.grammar.query.ColumnReferences.ColumnReferenceInfo
Returns the alias of this column reference.
getBooleanExpression() - Method in interface org.sql.generation.api.grammar.booleans.BooleanTest
Returns the boolean expression to be tested.
getBooleanFactory() - Method in interface org.sql.generation.api.vendor.SQLVendor
Returns the boolean factory for this vendor.
getColumnAliases() - Method in interface org.sql.generation.api.grammar.query.TableAlias
Returns aliases for columns in the original table.
getColumnList() - Method in interface org.sql.generation.api.grammar.query.CorrespondingSpec
Gets the column name correspondence list.
getColumnName() - Method in interface org.sql.generation.api.grammar.query.ColumnReferenceByName
Gets the column name of this column.
getColumnNames() - Method in interface org.sql.generation.api.grammar.builders.modification.ColumnSourceByValuesBuilder
Returns the names for the columns.
getColumnNames() - Method in interface org.sql.generation.api.grammar.common.ColumnNameList
Returns the list of column names.
getColumnNames() - Method in interface org.sql.generation.api.grammar.modification.DynamicColumnSource
Returns the named columns of this column source.
getColumnNames() - Method in interface org.sql.generation.api.grammar.query.joins.NamedColumnsJoin
Returns the column names.
getColumns() - Method in interface org.sql.generation.api.grammar.builders.query.ColumnsBuilder
Returns the columns of this SELECT statement.
getColumns() - Method in interface org.sql.generation.api.grammar.query.ColumnReferences
Returns the list of column references, along with their aliases.
getColumns() - Method in interface org.sql.generation.api.grammar.query.OrdinaryGroupingSet
Returns the grouping column reference expressions.
getColumns() - Method in interface org.sql.generation.api.grammar.query.QuerySpecification
Returns the columns in this SELECT statement.
getColumnsFactory() - Method in interface org.sql.generation.api.vendor.SQLVendor
Returns the columns factory for this vendor.
getColumnSource() - Method in interface org.sql.generation.api.grammar.builders.modification.InsertStatementBuilder
Returns the source for the columns for this INSERT statement.
getColumnSource() - Method in interface org.sql.generation.api.grammar.modification.InsertStatement
Returns the data source for columns.
getCorrespondingColumns() - Method in interface org.sql.generation.api.grammar.query.QueryExpressionBodyBinary
Returns the correspondence columns.
getDate() - Method in interface org.sql.generation.api.grammar.literals.DateTimeLiteral
Returns the date to be inserted into SQL statement.
getDirectLiteral() - Method in interface org.sql.generation.api.grammar.literals.DirectLiteral
Returns the text to be inserted directly into SQL statement.
getExpression() - Method in interface org.sql.generation.api.grammar.query.ColumnReferenceByExpression
Gets the expression for this column reference.
getFrom() - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Gets the builder for FROM clause of this SELECT statement.
getFrom() - Method in interface org.sql.generation.api.grammar.query.QuerySpecification
Returns the FROM clause of this SELECT statement.
getFunctionName() - Method in interface org.sql.generation.api.grammar.literals.SQLFunctionLiteral
Returns the name of the SQL function.
getGroupBy() - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Gets the builder for GROUP BY clause of this SELECT statement.
getGroupBy() - Method in interface org.sql.generation.api.grammar.query.QuerySpecification
Returns the GROUP BY clause of this SELECT statement.
getGroupingElements() - Method in interface org.sql.generation.api.grammar.builders.query.GroupByBuilder
Returns the list of added grouping elements.
getGroupingElements() - Method in interface org.sql.generation.api.grammar.query.GroupByClause
Returns the grouping elements of this GROUP BY clause.
getHaving() - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Gets the builder for grouping condition in HAVING clause of this SELECT statement.
getHaving() - Method in interface org.sql.generation.api.grammar.query.QuerySpecification
Returns the grouping condition for GROUP BY clause of this SELECT statement.
getImplementedType() - Method in class org.sql.generation.api.grammar.booleans.BooleanExpression.False
Returns BooleanExpression.False.
getImplementedType() - Method in class org.sql.generation.api.grammar.booleans.BooleanExpression.True
Returns BooleanExpression.True.
getImplementedType() - Method in class org.sql.generation.api.grammar.booleans.Predicate.EmptyPredicate
Returns Predicate.EmptyPredicate.
getImplementedType() - Method in class org.sql.generation.api.grammar.modification.ColumnSource.Defaults
Returns ColumnSource.Defaults.
getImplementedType() - Method in class org.sql.generation.api.grammar.modification.UpdateSource.Default
Returns UpdateSource.Default.
getImplementedType() - Method in class org.sql.generation.api.grammar.modification.UpdateSource.Null
Returns UpdateSource.Null.
getImplementedType() - Method in class org.sql.generation.api.grammar.query.GroupingElement.GrandTotal
Returns GroupingElement.GrandTotal
getImplementedType() - Method in class org.sql.generation.api.grammar.query.QueryExpressionBody.EmptyQueryExpressionBody
Returns QueryExpressionBody.EmptyQueryExpressionBody.
getJoinSpecification() - Method in interface org.sql.generation.api.grammar.query.joins.QualifiedJoinedTable
Returns the join specification for this JOIN.
getJoinType() - Method in interface org.sql.generation.api.grammar.query.joins.NaturalJoinedTable
Returns the join type for this NATURAL JOIN.
getJoinType() - Method in interface org.sql.generation.api.grammar.query.joins.QualifiedJoinedTable
Returns the join type for this JOIN.
getLeft() - Method in interface org.sql.generation.api.grammar.booleans.BinaryPredicate
Returns the expression on the left side of the operator.
getLeft() - Method in interface org.sql.generation.api.grammar.booleans.Conjunction
Returns the boolean expression on the left side of AND.
getLeft() - Method in interface org.sql.generation.api.grammar.booleans.Disjunction
Returns the boolean expression on the left side of OR.
getLeft() - Method in interface org.sql.generation.api.grammar.booleans.MultiPredicate
Returns the expression on the left side (the first expression).
getLeft() - Method in interface org.sql.generation.api.grammar.query.joins.JoinedTable
Returns the table on the left side of the join.
getLeft() - Method in interface org.sql.generation.api.grammar.query.QueryExpressionBodyBinary
Returns the query on the left side of the set operation.
getLimit() - Method in interface org.sql.generation.api.grammar.query.pgsql.LimitByNumber
Gets the value of LIMIT, that is, the maximum amount of results to be returned.
getLimit() - Method in interface org.sql.generation.api.grammar.query.pgsql.PgSQLQuerySpecification
Returns the LimitClause of this query.
getLiteralFactory() - Method in interface org.sql.generation.api.vendor.SQLVendor
Returns the literal factory for this vendor.
getMaximum() - Method in interface org.sql.generation.api.grammar.booleans.BetweenPredicate
Returns the maxmimum value (the expression on the right side of AND).
getMaximum() - Method in interface org.sql.generation.api.grammar.booleans.NotBetweenPredicate
Returns the maxmimum value (the expression on the right side of AND).
getMinimum() - Method in interface org.sql.generation.api.grammar.booleans.BetweenPredicate
Returns the minimum value (the expression on the left side of AND).
getMinimum() - Method in interface org.sql.generation.api.grammar.booleans.NotBetweenPredicate
Returns the minimum value (the expression on the left side of AND).
getModificationFactory() - Method in interface org.sql.generation.api.vendor.SQLVendor
Returns the factory to create modification statements for this vendor.
getNegated() - Method in interface org.sql.generation.api.grammar.booleans.Negation
Returns the boolean expression being negated.
getNumber() - Method in interface org.sql.generation.api.grammar.literals.NumericLiteral
Returns the number to be inserted into SQL statement.
getOffset() - Method in interface org.sql.generation.api.grammar.query.pgsql.OffsetClause
Returns the value of OFFSET clause, that is, how many result rows should be skipped before starting to include them into query result.
getOffset() - Method in interface org.sql.generation.api.grammar.query.pgsql.PgSQLQuerySpecification
Returns the OffsetClause of this query.
getOrderBy() - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Gets the builder for ORDER BY clause of this SELECT statement.
getOrderBy() - Method in interface org.sql.generation.api.grammar.query.QuerySpecification
Returns the ORDER BY clause of this SELECT statement.
getOrderingColumns() - Method in interface org.sql.generation.api.grammar.query.OrderByClause
Returns the ordering columns of this ORDER BY clause.
getOrderingSpecification() - Method in interface org.sql.generation.api.grammar.query.SortSpecification
Returns the Ordering of this sort specification.
getParameters() - Method in interface org.sql.generation.api.grammar.literals.SQLFunctionLiteral
The parameters for SQL function.
getQuery() - Method in interface org.sql.generation.api.grammar.modification.ColumnSourceByQuery
Returns the query to use as column source.
getQuery() - Method in interface org.sql.generation.api.grammar.query.TableReferenceByExpression
Returns the query to use.
getQueryExpressionBody() - Method in interface org.sql.generation.api.grammar.query.QueryExpression
Returns the body of this query.
getQueryFactory() - Method in interface org.sql.generation.api.vendor.PostgreSQLVendor
Returns the query factory, which knows to create PostgreSQL-specific query elements.
getQueryFactory() - Method in interface org.sql.generation.api.vendor.SQLVendor
Returns the query factory of this vendor.
getReference() - Method in class org.sql.generation.api.grammar.query.ColumnReferences.ColumnReferenceInfo
Returns the column reference.
getRight() - Method in interface org.sql.generation.api.grammar.booleans.BinaryPredicate
Returns the expression on the right side of the operator.
getRight() - Method in interface org.sql.generation.api.grammar.booleans.Conjunction
Returns the boolean expression on the right side of AND.
getRight() - Method in interface org.sql.generation.api.grammar.booleans.Disjunction
Returns the boolean expression on the right side of OR.
getRight() - Method in interface org.sql.generation.api.grammar.query.joins.JoinedTable
Gets the table on the right side of the join.
getRight() - Method in interface org.sql.generation.api.grammar.query.QueryExpressionBodyBinary
Returns the query on the right side of the set operation.
getRights() - Method in interface org.sql.generation.api.grammar.booleans.MultiPredicate
Returns the remaining expressions after the first one.
getSchemaName() - Method in interface org.sql.generation.api.grammar.common.TableName
Gets the schema name.
getSearchConidition() - Method in interface org.sql.generation.api.grammar.query.joins.JoinCondition
Returns the join condition for the QualifiedJoinedTable.
getSelect() - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Gets the builder for columns in this SELECT statement.
getSetClauses() - Method in interface org.sql.generation.api.grammar.builders.modification.UpdateBySearchBuilder
Returns the list of set clauses which has been added to this builder.
getSetClauses() - Method in interface org.sql.generation.api.grammar.modification.UpdateBySearch
Returns the SET clauses for columns of the target table.
getSetOperation() - Method in interface org.sql.generation.api.grammar.query.QueryExpressionBodyBinary
Returns the set operation to put between queries.
getSetQuantifier() - Method in interface org.sql.generation.api.grammar.builders.query.ColumnsBuilder
Returns the set quantifier (ALL or DISTINCT) of this SELECT statement.
getSetQuantifier() - Method in interface org.sql.generation.api.grammar.query.QueryExpressionBodyBinary
Returns the set quantifier for the set operation.
getSetQuantifier() - Method in interface org.sql.generation.api.grammar.query.SelectColumnClause
Returns the set quantifier for the columns of SELECT statement.
getSortSpecs() - Method in interface org.sql.generation.api.grammar.builders.query.OrderByBuilder
Returns the list of added sort specifications.
getString() - Method in interface org.sql.generation.api.grammar.literals.StringLiteral
Returns the contents of the string literal, that is, the string to be put between ' and '.
getTableAlias() - Method in interface org.sql.generation.api.grammar.query.TableAlias
Returns an alias for a table name.
getTableAlias() - Method in interface org.sql.generation.api.grammar.query.TableReferencePrimary
Returns the alias for this table.
getTableName() - Method in interface org.sql.generation.api.grammar.builders.modification.InsertStatementBuilder
Returns the table name for this INSERT statement.
getTableName() - Method in interface org.sql.generation.api.grammar.common.TableName
Gets name of the table.
getTableName() - Method in interface org.sql.generation.api.grammar.modification.InsertStatement
Returns the table name where to insert.
getTableName() - Method in interface org.sql.generation.api.grammar.modification.TargetTable
Returns the table name of the target table.
getTableName() - Method in interface org.sql.generation.api.grammar.query.ColumnReferenceByName
Gets the table name of this column.
getTableName() - Method in interface org.sql.generation.api.grammar.query.TableReferenceByName
Returns the table name.
getTableReferenceFactory() - Method in interface org.sql.generation.api.vendor.SQLVendor
Returns the table reference factory for this vendor.
getTableReferences() - Method in interface org.sql.generation.api.grammar.builders.query.FromBuilder
Returns a list of table reference builders in this builder.
getTableReferences() - Method in interface org.sql.generation.api.grammar.query.FromClause
Gets all the table references.
getTargetTable() - Method in interface org.sql.generation.api.grammar.builders.modification.DeleteBySearchBuilder
Retrieves the target table for this DELETE statement.
getTargetTable() - Method in interface org.sql.generation.api.grammar.modification.DeleteBySearch
Returns the target table for this DELETE FROM statement.
getTargetTable() - Method in interface org.sql.generation.api.grammar.modification.UpdateBySearch
Returns the target table of this UPDATE statement.
getTestType() - Method in interface org.sql.generation.api.grammar.booleans.BooleanTest
Returns the test type - whether it should, or should not, be something.
getTruthValue() - Method in interface org.sql.generation.api.grammar.booleans.BooleanTest
The truth value which must evaluate from the expression.
getUpdateSource() - Method in interface org.sql.generation.api.grammar.modification.SetClause
Returns the update source, that is, data, for the columns.
getUpdateTarget() - Method in interface org.sql.generation.api.grammar.modification.SetClause
Returns the update target, typically a name of the column.
getValueExpression() - Method in interface org.sql.generation.api.grammar.booleans.ExistsPredicate
Returns the query on which EXISTS operates on.
getValueExpression() - Method in interface org.sql.generation.api.grammar.booleans.UnaryPredicate
Returns the value expression for this predicate.
getValueExpression() - Method in interface org.sql.generation.api.grammar.booleans.UniquePredicate
Gets the query on which UNIQUE operates on.
getValueExpression() - Method in interface org.sql.generation.api.grammar.modification.UpdateSourceByExpression
Returns the value expression to use as value for update source.
getValueExpression() - Method in interface org.sql.generation.api.grammar.query.SortSpecification
The value expression, which may be a column reference, for example.
getValues() - Method in interface org.sql.generation.api.grammar.builders.modification.ColumnSourceByValuesBuilder
Returns the value expressions for the columns.
getValues() - Method in interface org.sql.generation.api.grammar.modification.ColumnSourceByValues
Returns the values to use as column source.
getWhere() - Method in interface org.sql.generation.api.grammar.builders.modification.DeleteBySearchBuilder
Returns the builder for search condition for this DELETE statement (boolean expression after WHERE).
getWhere() - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Gets the builder for search condition in WHERE clause of this SELECT statement.
getWhere() - Method in interface org.sql.generation.api.grammar.modification.DeleteBySearch
Returns the search condition for rows to delete.
getWhere() - Method in interface org.sql.generation.api.grammar.modification.UpdateBySearch
Returns the search condition for the rows to be updated.
getWhere() - Method in interface org.sql.generation.api.grammar.query.QuerySpecification
Returns the search condition for resulting rows of this SELECT statement.
getWhereBuilder() - Method in interface org.sql.generation.api.grammar.builders.modification.UpdateBySearchBuilder
Returns the builder for search condition for this UPDATE statement (boolean expression after WHERE).
GreaterOrEqualPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of left value being greater than, or equal to right value (x >= y).
GreaterThanPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of left value being greater than right value (x > y).
GROUP_BY - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
GroupByBuilder - Interface in org.sql.generation.api.grammar.builders.query
The builder that builds the GROUP BY clause in SQL SELECT query.
groupByBuilder() - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a builder for GROUP BY clause.
GroupByClause - Interface in org.sql.generation.api.grammar.query
This syntax element represents the GROUP BY clause in SELECT statement.
groupingElement(NonBooleanExpression...) - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a new grouping element, which has some expressions as grouping columns.
GroupingElement - Interface in org.sql.generation.api.grammar.query
This is a common interface for a grouping element of the GROUP BY clause.
GroupingElement.GrandTotal - Class in org.sql.generation.api.grammar.query
This syntax element represents the grand total grouping element.
gt(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new GreaterThanPredicate.

H

HAVING - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 

I

in(NonBooleanExpression, NonBooleanExpression...) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new InPredicate.
InBuilder - Interface in org.sql.generation.api.grammar.builders
The builder to build IN expressions
inBuilder(NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Returns a builder for InPredicate.
InPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of something being one of the specified set of values (x IN (y, z, ...)).
insert() - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates builder to create InsertStatements.
InsertStatement - Interface in org.sql.generation.api.grammar.modification
This syntax element represents a INSERT INTO statement.
InsertStatementBuilder - Interface in org.sql.generation.api.grammar.builders.modification
This builder builds statements inserting rows to tables (INSERT INTO tableName [( column names )] expression).
INSTANCE - Static variable in class org.sql.generation.api.grammar.booleans.BooleanExpression.False
Returns the singleton instance representing FALSE.
INSTANCE - Static variable in class org.sql.generation.api.grammar.booleans.BooleanExpression.True
Returns the singleton instance representing TRUE.
INSTANCE - Static variable in class org.sql.generation.api.grammar.booleans.Predicate.EmptyPredicate
Singleton instance of Predicate.EmptyPredicate.
INSTANCE - Static variable in class org.sql.generation.api.grammar.modification.ColumnSource.Defaults
The singleton reference to object of this class.
INSTANCE - Static variable in class org.sql.generation.api.grammar.modification.UpdateSource.Default
Singleton instance of UpdateSource.Default.
INSTANCE - Static variable in class org.sql.generation.api.grammar.modification.UpdateSource.Null
The singleton instance of UpdateSource.Null.
INSTANCE - Static variable in class org.sql.generation.api.grammar.query.GroupingElement.GrandTotal
The singleton instance of GroupingElement.GrandTotal.
INSTANCE - Static variable in class org.sql.generation.api.grammar.query.pgsql.LimitClause.LimitAll
The singleton instance of LimitClause.LimitAll.
INSTANCE - Static variable in class org.sql.generation.api.grammar.query.QueryExpressionBody.EmptyQueryExpressionBody
The singleton instance of QueryExpressionBody.EmptyQueryExpressionBody.
intersect(QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds INTERSECT between current query and the given query.
intersect(SetQuantifier, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds INTERSECT <setQuantifier> between current query and the given query.
intersect(CorrespondingSpec, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds INTERSECT <correspondingSpec> between current query and the given query.
intersect(SetQuantifier, CorrespondingSpec, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds INTERSECT <setQuantifier> <correspondingSpec> between current query and the given query.
IS - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
isNotNull(NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new IsNotNullPredicate.
IsNotNullPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing test for something being not NULL (x IS NOT NULL).
isNull(NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new IsNullPredicate.
IsNullPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing test for something being NULL (x IS NULL).
isOnly() - Method in interface org.sql.generation.api.grammar.modification.TargetTable
Returns whether only this table should be updated (and not, for example, inheriting tables).

J

jc(BooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a join-condition using specified boolean expression to join tables.
JoinCondition - Interface in org.sql.generation.api.grammar.query.joins
This syntax element represents the join condition, used in QualifiedJoinedTable.
JoinedTable - Interface in org.sql.generation.api.grammar.query.joins
This is common interface for joined tables.
JoinSpecification - Interface in org.sql.generation.api.grammar.query.joins
This is common interface for join specification used in QualifiedJoinedTable.
JoinType - Enum in org.sql.generation.api.grammar.query.joins
This enum represents the join type, used in QualifiedJoinedTable and NaturalJoinedTable.

L

l(String) - Method in interface org.sql.generation.api.grammar.factories.LiteralFactory
Creates a literal, which has some textual content.
leq(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new LessOrEqualPredicate.
LessOrEqualPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of left value being lesser than, or equal to right value (x <= y).
LessThanPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of left value being less than right value (x < y).
like(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new LikePredicate.
LikePredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of left expression matching the supplied pattern using basic SQL match (x LIKE y).
limit(LimitClause) - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
Sets the LIMIT value of this SELECT statement
limit(Integer) - Method in interface org.sql.generation.api.grammar.factories.pgsql.PgSQLQueryFactory
Creates new limit clause, which limits result by number.
LimitByNumber - Interface in org.sql.generation.api.grammar.query.pgsql
This syntax element represents the LIMIT clause of PostgreSQL SELECT statement, used with number.
LimitClause - Interface in org.sql.generation.api.grammar.query.pgsql
This is common interface for LIMIT clauses used in PostgreSQL queries.
LimitClause.LimitAll - Class in org.sql.generation.api.grammar.query.pgsql
This syntax element represents the LIMIT ALL clause in PostgreSQL queries.
LiteralExpression - Interface in org.sql.generation.api.grammar.literals
This is common interface for all literal expressions.
LiteralFactory - Interface in org.sql.generation.api.grammar.factories
A factory to create various literal expressions.
lt(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new LessThanPredicate.

M

MAX - Static variable in interface org.sql.generation.api.grammar.common.SQLFunctions
 
MIN - Static variable in interface org.sql.generation.api.grammar.common.SQLFunctions
 
ModificationFactory - Interface in org.sql.generation.api.grammar.factories
A factory, which creates SQL syntax elements related to modification statements (INSERT INTO, DELETE FROM, and UPDATE).
MultiPredicate - Interface in org.sql.generation.api.grammar.booleans
A common interface for all predicates accepting more than two expressions.
MySQLVendor - Interface in org.sql.generation.api.vendor
This is vendor for MySQL database.

N

n(Number) - Method in interface org.sql.generation.api.grammar.factories.LiteralFactory
Creates a literal, which has some number as contents.
NamedColumnsJoin - Interface in org.sql.generation.api.grammar.query.joins
This syntax element represents the join based on same-named columns in two tables having same value.
NaturalJoinedTable - Interface in org.sql.generation.api.grammar.query.joins
This syntax element represents the NATURAL JOIN between two tables.
nc(ColumnNameList) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new named columns join specification, which will use column names to join tables.
Negation - Interface in org.sql.generation.api.grammar.booleans
A negation (NOT x) of a boolean expression.
neq(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new NotEqualsPredicate.
NEWLINE - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
NonBooleanExpression - Interface in org.sql.generation.api.grammar.common
A common interface for all expressions, which return non-boolean value.
not() - Method in interface org.sql.generation.api.grammar.builders.BooleanBuilder
Sets current expression as NOT current expression.
NOT - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
not(BooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new Negation.
notBetween(NonBooleanExpression, NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new NotBetweenPredicate.
NotBetweenPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing SQL expression NOT BETWEEN x AND y.
NotEqualsPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing inequality test (x <> y).
notIn(NonBooleanExpression, NonBooleanExpression...) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new NotInPredicate.
NotInPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of something not being one of the specified set of values (x NOT IN (y, z, ...)).
notLike(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new NotLikePredicate.
NotLikePredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of left expression not matching the supplied pattern using basic SQL match (x NOT LIKE y).
notRegexp(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new NotRegexpPredicate.
NotRegexpPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of left expression not matching the supplied pattern using advanced regular expression match (operator varies).
NULL - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
NullArgumentException - Exception in org.sql.generation.api.common
Pretty much copy of org.qi4j.api.util.NullArgumentException.
NumericLiteral - Interface in org.sql.generation.api.grammar.literals
This syntax element encapsulates reference to some number to be inserted into SQL statement.

O

offset(OffsetClause) - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
Sets the OFFSET value of this SELECT statement.
offset(Integer) - Method in interface org.sql.generation.api.grammar.factories.pgsql.PgSQLQueryFactory
Creates new offset clause, which sets the offset for query.
OffsetClause - Interface in org.sql.generation.api.grammar.query.pgsql
This syntax element represents the OFFSET clause in PostgreSQL queries.
OPEN_PARENTHESIS - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
or(BooleanExpression) - Method in interface org.sql.generation.api.grammar.builders.BooleanBuilder
Sets current expression as current expression OR next
OR - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
or(BooleanExpression, BooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new Disjunction.
ORDER_BY - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
OrderByBuilder - Interface in org.sql.generation.api.grammar.builders.query
The builder that builds the ORDER BY clause in SQL SELECT query.
orderByBuilder() - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creats a builder for ORDER BY clause.
OrderByClause - Interface in org.sql.generation.api.grammar.query
This syntax element represents the ORDER BY clause of SELECT statement.
Ordering - Enum in org.sql.generation.api.grammar.query
This is enum for what kind of order will be applied to each ordering column.
OrdinaryGroupingSet - Interface in org.sql.generation.api.grammar.query
This syntax element represents the ordinary grouping set specification.
org.sql.generation.api.common - package org.sql.generation.api.common
This package defines some utilities common for all parts of SQL generator.
org.sql.generation.api.grammar.booleans - package org.sql.generation.api.grammar.booleans
This package provides interfaces for syntax elements of boolean expressions in SQL language.
org.sql.generation.api.grammar.builders - package org.sql.generation.api.grammar.builders
A package containing builders for common elements of SQL syntax.
org.sql.generation.api.grammar.builders.modification - package org.sql.generation.api.grammar.builders.modification
Package to hold builders common for SQL modification clauses (INSERT, UPDATE, and DELETE).
org.sql.generation.api.grammar.builders.query - package org.sql.generation.api.grammar.builders.query
Package to hold builders for SQL queries (SELECT -statements).
org.sql.generation.api.grammar.builders.query.pgsql - package org.sql.generation.api.grammar.builders.query.pgsql
This package contains builders specified to work with SQL syntax of the PostgreSQL database provider.
org.sql.generation.api.grammar.common - package org.sql.generation.api.grammar.common
This package contains interfaces and classes common for most parts of SQL generator.
org.sql.generation.api.grammar.factories - package org.sql.generation.api.grammar.factories
This package provides factories to create various builders and SQL syntax elements.
org.sql.generation.api.grammar.factories.pgsql - package org.sql.generation.api.grammar.factories.pgsql
Package to contain PostgreSQL-specific factories enabling creating of PostgreSQL-specific syntax elements.
org.sql.generation.api.grammar.literals - package org.sql.generation.api.grammar.literals
The package for syntax elements representing various literals.
org.sql.generation.api.grammar.modification - package org.sql.generation.api.grammar.modification
This package contains syntax elements relevant to SQL modification clauses (INSERT INTO, DELETE FROM, and UPDATE).
org.sql.generation.api.grammar.query - package org.sql.generation.api.grammar.query
This package and its sub-package contain elements related to SQL queries (SELECT statements).
org.sql.generation.api.grammar.query.joins - package org.sql.generation.api.grammar.query.joins
This package provides syntax interfaces for joined tables, mostly used in FROM clause.
org.sql.generation.api.grammar.query.pgsql - package org.sql.generation.api.grammar.query.pgsql
This package contains syntax elements specific for queries in PostgreSQL database provider.
org.sql.generation.api.vendor - package org.sql.generation.api.vendor
This package provides an API for SQLVendors to implement, and a way to load different vendors dynamically.
org.sql.generation.api.vendor.internal - package org.sql.generation.api.vendor.internal
This is package for internal use of vendor loading.

P

param() - Method in interface org.sql.generation.api.grammar.factories.LiteralFactory
Returns literal, representing a parameter (?)
PERIOD - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
PgSQLQueryFactory - Interface in org.sql.generation.api.grammar.factories.pgsql
The query factory, which is able to create PostgreSQL-specific syntax elements.
PgSQLQuerySpecification - Interface in org.sql.generation.api.grammar.query.pgsql
This syntax element represents the query specification in PostgreSQL.
PgSQLQuerySpecificationBuilder - Interface in org.sql.generation.api.grammar.builders.query.pgsql
Builder to build query specifications with extra elements that are added by PostgreSQL.
PostgreSQLVendor - Interface in org.sql.generation.api.vendor
This is vendor for PostgreSQL database.
Predicate - Interface in org.sql.generation.api.grammar.booleans
A common interfaces for predicates (boolean expressions not containing other boolean expressions).
Predicate.EmptyPredicate - Class in org.sql.generation.api.grammar.booleans
A class representing empty predicate.
providers(Class<T>) - Method in class org.sql.generation.api.vendor.internal.ServiceLoader
 

Q

QualifiedJoinedTable - Interface in org.sql.generation.api.grammar.query.joins
This syntax element represents the qualified join (JOIN between two tables.
QueryBuilder - Interface in org.sql.generation.api.grammar.builders.query
The builder that builds the SQL queries having UNION, INTERSECT, or EXCEPT between the SELECT statements.
queryBuilder() - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a builder to build queries with capability for UNION, INTERSECT, and EXCEPT set operations.
queryBuilder(QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a builder to build queries with capability for UNION, INTERSECT, and EXCEPT set operations.
QueryExpression - Interface in org.sql.generation.api.grammar.query
This syntax element represents the QueryExpressionBody and, in future, the WithClause (WITH) to be used with query.
QueryExpressionBody - Interface in org.sql.generation.api.grammar.query
This is common interface for a queries and joined tables.
QueryExpressionBody.EmptyQueryExpressionBody - Class in org.sql.generation.api.grammar.query
This syntax element represents the empty query expression body.
QueryExpressionBodyActual - Interface in org.sql.generation.api.grammar.query
This is common interface for a query, which is either one SELECT statement, or many SELECT statements joined together with SetOperations.
QueryExpressionBodyBinary - Interface in org.sql.generation.api.grammar.query
This syntax element represents two queries which have a set operation (UNION, INTERSECT, or EXCEPT) between them.
QueryExpressionBodyQuery - Interface in org.sql.generation.api.grammar.query
This syntax element represents the single query (currently only SELECT statement, represented by QuerySpecification.
QueryFactory - Interface in org.sql.generation.api.grammar.factories
A factory, which creates builders and syntax elements for SQL queries (SELECT statements).
QuerySpecification - Interface in org.sql.generation.api.grammar.query
This syntax element represents the single SELECT statement.
QuerySpecificationBuilder - Interface in org.sql.generation.api.grammar.builders.query
This builder builds a single SELECT query.
querySpecificationBuilder() - Method in interface org.sql.generation.api.grammar.factories.pgsql.PgSQLQueryFactory
Returns query builder, which is capable of accepting PostgreSQL-specific syntax elements.
querySpecificationBuilder() - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a builder to build query specifications (SELECT expressions).
QUESTION_MARK - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 

R

regexp(NonBooleanExpression, NonBooleanExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new RegexpPredicate.
RegexpPredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test of left expression matching the supplied pattern using advanced regular expression match (operator varies).
removeClassloader(ClassLoader) - Static method in class org.sql.generation.api.vendor.internal.ServiceLoader
 
reset(BooleanExpression) - Method in interface org.sql.generation.api.grammar.builders.BooleanBuilder
Sets current expression as given parameter.

S

s(String) - Method in interface org.sql.generation.api.grammar.factories.LiteralFactory
Creates new string literal, that is, a string to be enclosed in ' -characters.
SCHEMA_TABLE_SEPARATOR - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
SELECT - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
selectAll() - Method in interface org.sql.generation.api.grammar.builders.query.ColumnsBuilder
Marks that all columns should be selected (SELECT *).
SelectColumnClause - Interface in org.sql.generation.api.grammar.query
This is common interface for columns of SELECT statement.
ServiceLoader - Class in org.sql.generation.api.vendor.internal
This is a copy from file located Qi4j's bootstrap project, since there is no java.util.ServiceLoader in Java 1.5.
ServiceLoader() - Constructor for class org.sql.generation.api.vendor.internal.ServiceLoader
 
setClause(String, UpdateSource) - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates a new set clause for UPDATE statement.
SetClause - Interface in org.sql.generation.api.grammar.modification
This syntax element represents a single SET element of UPDATE statement.
setColumnSource(ColumnSource) - Method in interface org.sql.generation.api.grammar.builders.modification.InsertStatementBuilder
Sets the source for the columns for this INSERT statement.
setFrom(FromBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
 
setFrom(FromBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Sets the builder for FROM clause of this SELECT statement.
setGroupBy(GroupByBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
 
setGroupBy(GroupByBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Sets the builder for GROUP BY clause of this SELECT statement.
setHaving(BooleanBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
 
setHaving(BooleanBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Sets the builder for grouping condition in HAVING clause of this SELECT statement.
SetOperation - Enum in org.sql.generation.api.grammar.query
This enum represents the possible set operations to combine queries with.
setOrderBy(OrderByBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
 
setOrderBy(OrderByBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Sets the builder for ORDER BY clause of this SELECT statement.
setOrderByToFirstColumnIfOffsetOrLimit() - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
Helper method to add the first column of this SELECT statement to ORDER BY clause, if LIMIT or OFFSET clause is present.
SetQuantifier - Enum in org.sql.generation.api.grammar.common
Set quantifer, can be either SetQuantifier.ALL or SetQuantifier.DISTINCT.
setSelect(ColumnsBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
 
setSelect(ColumnsBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Sets the builder for columns in SELECT statement.
setSetQuantifier(SetQuantifier) - Method in interface org.sql.generation.api.grammar.builders.query.ColumnsBuilder
Sets the set quantifier (ALL or DISTINCT) for this SELECT statement.
setTableName(TableName) - Method in interface org.sql.generation.api.grammar.builders.modification.InsertStatementBuilder
Sets the table name for this INSERT statement.
setTargetTable(TargetTable) - Method in interface org.sql.generation.api.grammar.builders.modification.DeleteBySearchBuilder
Sets the target table for this DELETE statement.
setTargetTable(TargetTable) - Method in interface org.sql.generation.api.grammar.builders.modification.UpdateBySearchBuilder
Sets the target table for this UPDATE statement.
setWhere(BooleanBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
 
setWhere(BooleanBuilder) - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Sets the builder for search condition in WHERE clause of this SELECT statement.
sortSpec(ValueExpression, Ordering) - Method in interface org.sql.generation.api.grammar.factories.QueryFactory
Creates a new sort specification for ORDER BY clause.
SortSpecification - Interface in org.sql.generation.api.grammar.query
This syntax element represents the sort specification used in ORDER BY clause.
SQLConstants - Interface in org.sql.generation.api.grammar.common
A container for common textual constants of SQL language.
SQLFunctionLiteral - Interface in org.sql.generation.api.grammar.literals
This syntax element encapsulates reference to some SQL function to be inserted into SQL statement.
SQLFunctions - Interface in org.sql.generation.api.grammar.common
A container for textual names of default SQL functions.
SQLStatement - Interface in org.sql.generation.api.grammar.common
A single SQL statement, which is to be sent to database.
SQLVendor - Interface in org.sql.generation.api.vendor
This is the base API interface for all SQLVendors to implement.
SQLVendorProvider - Class in org.sql.generation.api.vendor
This class provides easy way of acquiring vendors for specific databases.
SQLVendorProvider() - Constructor for class org.sql.generation.api.vendor.SQLVendorProvider
 
StringLiteral - Interface in org.sql.generation.api.grammar.literals
This syntax element encapsulates reference to SQL string, that is, some element between ' and ' characters.
SUM - Static variable in interface org.sql.generation.api.grammar.common.SQLFunctions
 

T

table(TableName) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new table reference, which uses given table name, without table alias.
table(TableName, TableAlias) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new table references, which uses given table name along with given table alias.
table(QueryExpression) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new table reference, which will use the values returned by query as if they were values of the table.
table(QueryExpression, TableAlias) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new table reference, which will use the values returned by query as if they were values of the table.
TABLE_COLUMN_SEPARATOR - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
tableAlias(String) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new alias for table.
TableAlias - Interface in org.sql.generation.api.grammar.query
This syntax element represents the alias for a table.
tableAliasWithCols(String, String...) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new table alias for table, with renamed columns.
tableBuilder(TableReferencePrimary) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new TableReferenceBuilder typically used to build joined tables.
TableName - Interface in org.sql.generation.api.grammar.common
A table name may be just table name, or schema-qualified table name.
tableName(String) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new table name, which isn't schema-qualified.
tableName(String, String) - Method in interface org.sql.generation.api.grammar.factories.TableReferenceFactory
Creates a new table name.
TableReference - Interface in org.sql.generation.api.grammar.query
This is common interface for all table references in FROM clause.
TableReferenceBuilder - Interface in org.sql.generation.api.grammar.builders.query
The builder to build joined tables.
TableReferenceByExpression - Interface in org.sql.generation.api.grammar.query
This syntax element represents the sub-query which acts as a table in FROM clause.
TableReferenceByName - Interface in org.sql.generation.api.grammar.query
This syntax element represents the reference to a table in FROM clause.
TableReferenceFactory - Interface in org.sql.generation.api.grammar.factories
A factory for creating builders and syntax elements related to tables.
TableReferencePrimary - Interface in org.sql.generation.api.grammar.query
This is common interface for non-joined table references.
TargetTable - Interface in org.sql.generation.api.grammar.modification
This syntax element represents the target table of DELETE FROM and UPDATE statements.
test(BooleanExpression, BooleanTest.TestType, BooleanTest.TruthValue) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new BooleanTest.
TOKEN_SEPARATOR - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 
toString(SQLStatement) - Method in interface org.sql.generation.api.vendor.SQLVendor
Takes the SQLStatement (typically either a query, or a modification statement) and produces a textual SQL statement out of it.
trimGroupBy() - Method in interface org.sql.generation.api.grammar.builders.query.pgsql.PgSQLQuerySpecificationBuilder
 
trimGroupBy() - Method in interface org.sql.generation.api.grammar.builders.query.QuerySpecificationBuilder
Checks that all selected columns are in GROUP BY clause.

U

UnaryPredicate - Interface in org.sql.generation.api.grammar.booleans
A common interface for all boolean expressions requiring exactly one value expression.
union(QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds UNION between current query and the given query.
union(SetQuantifier, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds UNION <setQuantifier> between current query and the given query.
union(CorrespondingSpec, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds UNION <correspondingSpec> between current query and the given query.
union(SetQuantifier, CorrespondingSpec, QueryExpressionBody) - Method in interface org.sql.generation.api.grammar.builders.query.QueryBuilder
Adds UNION <setQuantifier> <correspondingSpec> between current query and the given query.
UnionJoinedTable - Interface in org.sql.generation.api.grammar.query.joins
This syntax element represents the UNION JOIN between two tables.
unique(QueryExpression) - Method in interface org.sql.generation.api.grammar.factories.BooleanFactory
Creates new UniquePredicate.
UniquePredicate - Interface in org.sql.generation.api.grammar.booleans
The interface for syntax element representing the test for uniqueness (UNIQUE sub-query).
updateBySearch() - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates builder to create UpdateBySearch statements.
UpdateBySearch - Interface in org.sql.generation.api.grammar.modification
This syntax element represents UPDATE statement.
UpdateBySearchBuilder - Interface in org.sql.generation.api.grammar.builders.modification
This builder builds statements updating rows matching search condition (UPDATE table SET set-clauses [WHERE searchCondition ]).
UpdateSource - Interface in org.sql.generation.api.grammar.modification
This syntax element represents the data source for column in SET clause of UPDATE statement.
UpdateSource.Default - Class in org.sql.generation.api.grammar.modification
This syntax element represents the DEFAULT keyword as data source for column, meaning to use the default value for the column.
UpdateSource.Null - Class in org.sql.generation.api.grammar.modification
This syntax element represents the NULL keyword as data source for column, meaning to use the NULL value for the column.
updateSourceByExp(ValueExpression) - Method in interface org.sql.generation.api.grammar.factories.ModificationFactory
Creates a new source for UPDATE statement.
UpdateSourceByExpression - Interface in org.sql.generation.api.grammar.modification
This syntax element represents the update source having value of whatever expression it holds.
UpdateStatement - Interface in org.sql.generation.api.grammar.modification
This is common interface for all statements doing updates.

V

validateNotNull(String, Object) - Static method in exception org.sql.generation.api.common.NullArgumentException
Validates that passed object is not null.
ValueExpression - Interface in org.sql.generation.api.grammar.common
A common interface for BooleanExpression and NonBooleanExpression.
valueOf(String) - Static method in enum org.sql.generation.api.grammar.booleans.BooleanTest.TestType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sql.generation.api.grammar.booleans.BooleanTest.TruthValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sql.generation.api.grammar.common.SetQuantifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sql.generation.api.grammar.query.joins.JoinType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sql.generation.api.grammar.query.Ordering
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sql.generation.api.grammar.query.SetOperation
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sql.generation.api.grammar.booleans.BooleanTest.TestType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sql.generation.api.grammar.booleans.BooleanTest.TruthValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sql.generation.api.grammar.common.SetQuantifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sql.generation.api.grammar.query.joins.JoinType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sql.generation.api.grammar.query.Ordering
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sql.generation.api.grammar.query.SetOperation
Returns an array containing the constants of this enum type, in the order they are declared.

W

WHERE - Static variable in interface org.sql.generation.api.grammar.common.SQLConstants
 

A B C D E F G H I J L M N O P Q R S T U V W

Copyright © 2010. All Rights Reserved.