Package com.github.eikecochu.sqlbuilder
-
Interface Summary Interface Description BeforeDelete<T extends BeforeDelete<T>> Implemented by keywords that precede the DELETE statement.BeforeFrom<T extends BeforeFrom<T>> Implemented by keywords that precede the FROM statement.BeforeGroupBy<T extends BeforeGroupBy<T>> Implemented by keywords that precede the GROUP BY statement.BeforeHaving<T extends BeforeHaving<T>> Implemented by keywords that precede the HAVING statement.BeforeInsert<T extends BeforeInsert<T>> Implemented by keywords that precede the INSERT statement.BeforeJoin<T extends BeforeJoin<T>> Implemented by keywords that precede the JOIN statement.BeforeOrderBy<T extends BeforeOrderBy<T>> Implemented by keywords that precede the ORDER BY statement.BeforeSelect<T extends BeforeSelect<T>> Implemented by keywords that precede the SELECT statement.BeforeUnion<T extends BeforeUnion<T>> Implemented by keywords that precede the UNION statement.BeforeUpdate<T extends BeforeUpdate<T>> Implemented by keywords that precede the UPDATE statement.BeforeWhere<T extends BeforeWhere<T>> Implemented by keywords that precede the WHERE statement.BeforeWith<T extends BeforeWith<T>> Implemented by keywords that precede the WITH statement.PostProcessor<T> The PostProcessor interface is used to create postprocessing instances for postprocessing multiple elements during the building process of the query.QueryBuilder<T extends QueryBuilder<T>> The QueryBuilder interface that is implemented by all expressions that mark the possible end of a query.QueryPart The QueryPart interface is implemented by all parts of the query building process to turn them into strings for query assembly when building.QueryPartLinked<T extends QueryPartLinked<T>> The QueryPartLinked interface is implemented by all expressions that can link to parent expressions for building chains.QueryPartSQL<T extends QueryPartSQL<T>> The QueryPartSQL interface is the interface of all expressions that support adding plain SQL into them instead of building methods.QueryProcessor The QueryProcessor interface to implement for query postprocessing.Table The Table interface is a representation of a table with a name.ValueHolder The ValueHolder instance allows to declare an arbitrary class as a ValueHolder to be used in various methods of the SQLBuilder, for example Where.where(ValueHolder). -
Class Summary Class Description Condition Condition to multiple statements, for example WHERE, JOIN etc.Conditionable<T extends Conditionable<T>> Abstract base class for condition like statements, generic to allow multiple origins, for example from WHERE, JOIN etc.ConditionBiValue<T extends Conditionable<T>> The ConditionBiValue is used for the BETWEEN operator, to restrict values to two.ConditionPart<T extends Conditionable<T>> The ConditionPart is a part of the conditionable expression.ConditionValue<T extends Conditionable<T>> The condition value that is used to represent values to use for conditions.Delete The DELETE expression.Exists The EXISTS expression.Expression Expressions are used to create stored procedure calls.From The FROM expression.GroupBy The GROUP BY expression.Having The HAVING expression.Insert The INSERT expression.InsertValue The InsertValue represents a value that is inserted into the database with the INSERT statement.Join The JOIN expression.Name The Name class represents a name used in a query, for example a table name, column name or function name.NestedCondition<T extends Conditionable<T>> Condition to multiple statements, for example WHERE, JOIN etc.OrderBy The ORDER BY expression.Query The Query class is the final class of the building process and describes a complete query.QueryOptions The QueryOptions class holds all options that are applied at various places throughout the building process of a query.QueryPartImpl<T extends QueryPartImpl<T>> The default QueryPart implementation used by most expressions.Select The SELECT expression.SQLBuilder Convenience class for quick starting a new statement.StringJoiner The StringJoiner class is used to assemble the query string with support for adding strings and collections of strings and optionally joining them with a delimiter.Union The UNION expression.Update The UPDATE expression.UpdateValue The UpdateValue class that represents a database value to be used with an UPDATE statement.ValueHolder.EntryWrapper The EntryWrapper is a wrapper around the Map.Entry class to support automatic key prefixing.ValueHolder.ValueEntry The ValueEntry class is an implementation of the Map.Entry classValues The default ValueHolder implementation with convenience methods to add values.Where The WHERE expression.With The WITH expression. -
Enum Summary Enum Description CompareOperator The CompareOperator represents valid comparation operations between SQL expressions, for example in the WHERE statement, or the JOIN statement.ConditionValueType The ConditionValueType is used to express what a ConditionPart contains as value.ConjunctiveOperator The ConjunctiveOperator is used to chain the various ConditionPart elements together to form the conditions of a query.InsertMode InsertMode defines how the INSERT statement inserts values into the database.JoinMode The JoinMode describes how a JOIN between two elements is made.