Class SelectStatement

java.lang.Object
org.apache.cassandra.cql3.statements.SelectStatement
All Implemented Interfaces:
CQLStatement, CQLStatement.SingleKeyspaceCqlStatement

@ThreadSafe public class SelectStatement extends Object implements CQLStatement.SingleKeyspaceCqlStatement
Encapsulates a completely parsed SELECT query, including the target column family, expression, result count, and ordering clause.

A number of public methods here are only used internally. However, many of these are made accessible for the benefit of custom QueryHandler implementations, so before reducing their accessibility due consideration should be given.

Note that select statements can be accessed by multiple threads, so we cannot rely on mutable attributes.