|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.datastax.driver.core.Statement
com.datastax.driver.core.RegularStatement
com.datastax.driver.core.querybuilder.BuiltStatement
com.datastax.driver.core.querybuilder.Select
public class Select
A built SELECT statement.
Nested Class Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.datastax.driver.core.querybuilder.BuiltStatement |
---|
getKeyspace, getQueryString, getRoutingKey, getValues, setForceNoValues, toString |
Methods inherited from class com.datastax.driver.core.Statement |
---|
disableTracing, enableTracing, getConsistencyLevel, getFetchSize, getRetryPolicy, getSerialConsistencyLevel, isTracing, setConsistencyLevel, setFetchSize, setRetryPolicy, setSerialConsistencyLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |