public class Select extends BuiltStatement
Modifier and Type | Class and Description |
---|---|
static class |
Select.Builder
An in-construction SELECT statement.
|
static class |
Select.Selection
An Selection clause for an in-construction SELECT statement.
|
static class |
Select.SelectionOrAlias
An Selection clause for an in-construction SELECT statement.
|
static class |
Select.Where
The WHERE clause of a SELECT statement.
|
idempotent, NULL_PAYLOAD_VALUE
Modifier and Type | Method and Description |
---|---|
Select |
allowFiltering()
Adds an ALLOW FILTERING directive to this statement.
|
Select |
limit(BindMarker marker)
Adds a prepared LIMIT clause to this statement.
|
Select |
limit(int limit)
Adds a LIMIT clause to this statement.
|
Select |
orderBy(Ordering... orderings)
Adds an ORDER BY clause to this statement.
|
Select.Where |
where()
Returns a Where statement for this query without adding clause.
|
Select.Where |
where(Clause clause)
Adds a WHERE clause to this statement.
|
escapeId, getKeyspace, getNamedValues, getObject, getObject, getQueryString, getRoutingKey, getValues, hasValues, isIdempotent, setForceNoValues, toString, usesNamedValues
getQueryString, hasValues
disableTracing, enableTracing, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getOutgoingPayload, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setIdempotent, setOutgoingPayload, setPagingState, setPagingState, setPagingStateUnsafe, setReadTimeoutMillis, setRetryPolicy, setSerialConsistencyLevel
public Select.Where where(Clause clause)
where().and(clause)
.clause
- the clause to add.public Select.Where where()
public Select orderBy(Ordering... orderings)
orderings
- the orderings to define for this query.IllegalStateException
- if an ORDER BY clause has already been
provided.public Select limit(int limit)
limit
- the limit to set.IllegalArgumentException
- if limit >e; 0
.IllegalStateException
- if a LIMIT clause has already been
provided.public Select limit(BindMarker marker)
marker
- the marker to use for the limit.IllegalStateException
- if a LIMIT clause has already been
provided.public Select allowFiltering()