Interface ExecutableSelectOperation.SelectWithTable<T>
- All Superinterfaces:
ExecutableSelectOperation.SelectWithQuery<T>, ExecutableSelectOperation.TerminatingProjections, ExecutableSelectOperation.TerminatingResults<T>, ExecutableSelectOperation.TerminatingSelect<T>
- All Known Subinterfaces:
ExecutableSelectOperation.ExecutableSelect<T>
- Enclosing interface:
ExecutableSelectOperation
public static interface ExecutableSelectOperation.SelectWithTable<T>
extends ExecutableSelectOperation.SelectWithQuery<T>
Table override (optional).
- Since:
- 2.1
- Author:
- Mark Paluch, John Blum
-
Method Summary
Methods inherited from interface ExecutableSelectOperation.SelectWithQuery
matchingMethods inherited from interface ExecutableSelectOperation.TerminatingProjections
count, existsMethods inherited from interface ExecutableSelectOperation.TerminatingResults
all, first, firstValue, map, one, oneValue, slice, stream
-
Method Details
-
inTable
@Contract("_ -> new") default ExecutableSelectOperation.SelectWithProjection<T> inTable(String table) Explicitly set thenameof the table on which to execute the query.Skip this step to use the default table derived from the
domain type.- Parameters:
table-nameof the table; must not be null or empty.- Returns:
- new instance of
ExecutableSelectOperation.SelectWithProjection. - Throws:
IllegalArgumentException- iftableis null or empty.- See Also:
-
inTable
@Contract("_ -> new") ExecutableSelectOperation.SelectWithProjection<T> inTable(com.datastax.oss.driver.api.core.CqlIdentifier table) Explicitly set thenameof the table on which to execute the query.Skip this step to use the default table derived from the
domain type.- Parameters:
table-nameof the table; must not be null.- Returns:
- new instance of
ExecutableSelectOperation.SelectWithProjection. - Throws:
IllegalArgumentException- iftableis null.- See Also:
-