Package com.github.eikecochu.sqlbuilder
Interface BeforeFrom<T extends BeforeFrom<T>>
-
- Type Parameters:
T- the generic type returned by some fluent methods of this interface
- All Superinterfaces:
QueryPart,QueryPartLinked<T>,QueryPartSQL<T>
- All Known Implementing Classes:
Select
public interface BeforeFrom<T extends BeforeFrom<T>> extends QueryPart, QueryPartSQL<T>, QueryPartLinked<T>
Implemented by keywords that precede the FROM statement.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Fromfrom()Continue query with FROMdefault Fromfrom(From from)Accept an existing FROM statement as predecessordefault Fromfrom(QueryBuilder<?> subquery)Specify a subquery to select fromdefault Fromfrom(QueryBuilder<?> subquery, java.lang.String alias)Specify a subquery to select fromdefault Fromfrom(Table... tables)Continue query with FROMdefault Fromfrom(java.lang.String... tables)Continue query with FROMdefault FromfromSQL(java.lang.String sql)Use plain SQL to form this FROM 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
-
from
default From from()
Continue query with FROM- Returns:
- The new FROM statement
-
from
default From from(java.lang.String... tables)
Continue query with FROM- Parameters:
tables- The names of the tables to select from- Returns:
- The new FROM statement
-
from
default From from(Table... tables)
Continue query with FROM- Parameters:
tables- The Table representations of the tables to select from- Returns:
- The new FROM statement
-
from
default From from(QueryBuilder<?> subquery, java.lang.String alias)
Specify a subquery to select from- Parameters:
subquery- The subquery to select fromalias- The subquery alias- Returns:
- This FROM statement
-
from
default From from(QueryBuilder<?> subquery)
Specify a subquery to select from- Parameters:
subquery- The subquery to select from- Returns:
- This FROM statement
-
from
default From from(From from)
Accept an existing FROM statement as predecessor- Parameters:
from- The existing FROM statement- Returns:
- Returns the passed FROM statement
-
fromSQL
default From fromSQL(java.lang.String sql)
Use plain SQL to form this FROM statement- Parameters:
sql- The sql string- Returns:
- The new FROM statement
-
-