Package com.github.eikecochu.sqlbuilder
Interface BeforeWhere<T extends BeforeWhere<T>>
-
- Type Parameters:
T- the generic type returned by some fluent methods of this interface
- All Superinterfaces:
QueryPart,QueryPartLinked<T>,QueryPartSQL<T>
public interface BeforeWhere<T extends BeforeWhere<T>> extends QueryPart, QueryPartSQL<T>, QueryPartLinked<T>
Implemented by keywords that precede the WHERE statement.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Wherewhere()Continue query with WHEREdefault Wherewhere(ValueHolder values)Continue query with WHEREdefault Wherewhere(ValueHolder values, java.lang.String columnPrefix)Continue query with WHEREdefault Wherewhere(Where where)Accept an existing WHERE statement as predecessordefault WherewhereSQL(java.lang.String sql)Use plain SQL to form this WHERE statement-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent, parent
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartSQL
sql
-
-
-
-
Method Detail
-
where
default Where where()
Continue query with WHERE- Returns:
- The new WHERE statement
-
where
default Where where(ValueHolder values)
Continue query with WHERE- Parameters:
values- The ValueHolder to use as WHERE conditions- Returns:
- The new WHERE statement
-
where
default Where where(ValueHolder values, java.lang.String columnPrefix)
Continue query with WHERE- Parameters:
values- The ValueHolder to use as WHERE conditionscolumnPrefix- The column prefix for each constraint- Returns:
- The new WHERE statement
-
where
default Where where(Where where)
Accept an existing WHERE statement as predecessor- Parameters:
where- The existing WHERE statement- Returns:
- Returns the passed WHERE statement
-
whereSQL
default Where whereSQL(java.lang.String sql)
Use plain SQL to form this WHERE statement- Parameters:
sql- The sql string- Returns:
- The new WHERE statement
-
-