Statement Properties |
The Statement type exposes the following members.
Name | Description | |
---|---|---|
AutoPage |
Determines if the RowSet returned when executing this IStatement will automatically fetch the following result pages. Defaults to true.
| |
ConsistencyLevel |
Gets the consistency level for this query.
| |
Host |
Gets the host configured on this Statement, or null if none is configured.
In the general case, the host used to execute this Statement will depend on the configured ILoadBalancingPolicy and this property will return null. | |
IsIdempotent |
Determines if this statement is idempotent, i.e. whether it can be applied multiple times without
changing the result beyond the initial application.
Idempotence of the statement plays a role in ISpeculativeExecutionPolicy. If a statement is not idempotent, the driver will not schedule speculative executions for it. When the property is null, the driver will use the default value from the GetDefaultIdempotence. | |
IsTracing |
Gets whether tracing is enabled for this query or not.
| |
Keyspace |
Returns the keyspace this query operates on.
Note that not all Statement implementations specify on which keyspace they operate on so this method can return null. The keyspace returned is used as a hint for token-aware routing. | |
OutgoingPayload |
Gets custom payload for that will be included when executing this Statement.
| |
PageSize |
Gets query's page size.
| |
PagingState |
This object represents the next page to be fetched if the query is multi page. It can be saved and reused
later on a different execution.
| |
QueryValues | ||
ReadTimeoutMillis |
Gets the per-host read timeout for this statement.
When the value is 0 or lower, the default value from the socket options will be used. | |
RetryPolicy |
Gets the retry policy sets for this query, if any.
| |
RoutingKey |
The routing key (in binary raw form) to use for token aware routing of this
query. The routing key is optional in the sense that implementers are free to return null. The routing key is an hint used for token aware routing (see TokenAwarePolicy), and if provided should correspond to the binary value for the query partition key. However, not providing a routing key never causes a query to fail and if the load balancing policy used is not token aware, then the routing key can be safely ignored. | |
SerialConsistencyLevel |
Gets the serial consistency level for this query.
| |
SkipMetadata | ||
Timestamp |
Gets the timestamp associated with this statement execution.
|