public class QueryBuilder extends Object implements CharSequence
Modifier and Type | Class and Description |
---|---|
static interface |
QueryBuilder.Appender<T> |
static class |
QueryBuilder.Options |
Constructor and Description |
---|
QueryBuilder(QueryBuilder.Options options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
public QueryBuilder(QueryBuilder.Options options)
@Nonnull public String toString()
toString
in interface CharSequence
toString
in class Object
public int length()
length
in interface CharSequence
public char charAt(int index)
charAt
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public QueryBuilder keyword(Keyword... keywords)
public QueryBuilder appendIdentifier(String value, String identifier)
public QueryBuilder appendQuoted(String value)
public QueryBuilder tableName(Object value)
public QueryBuilder tableNames(Iterable<Expression<?>> values)
public QueryBuilder attribute(Attribute value)
public QueryBuilder aliasAttribute(String alias, Attribute value)
public QueryBuilder append(Object value)
public QueryBuilder value(Object value)
public QueryBuilder append(Object value, boolean space)
public <T> QueryBuilder appendWhereConditions(Set<Attribute<T,?>> attributes)
public QueryBuilder commaSeparatedExpressions(Iterable<Expression<?>> values)
public <E> QueryBuilder commaSeparatedAttributes(Iterable<Attribute<E,?>> values)
public <T> QueryBuilder commaSeparated(Iterable<? extends T> values)
public <T> QueryBuilder commaSeparated(Iterable<? extends T> values, QueryBuilder.Appender<T> appender)
public <T> QueryBuilder commaSeparated(Iterator<? extends T> values, QueryBuilder.Appender<T> appender)
public QueryBuilder openParenthesis()
public QueryBuilder closeParenthesis()
public QueryBuilder space()
public QueryBuilder comma()