Struct scylla::statement::prepared_statement::PreparedStatement[][src]

pub struct PreparedStatement {
    pub prepare_tracing_ids: Vec<Uuid>,
    // some fields omitted
}
Expand description

Represents a statement prepared on the server.

Fields

prepare_tracing_ids: Vec<Uuid>

Implementations

Sets the page size for this CQL query.

Disables paging for this CQL query.

Returns the page size for this CQL query.

Gets tracing ids of queries used to prepare this statement

Computes the partition key of the target table from given values Partition keys have a specific serialization rules. Ref: https://github.com/scylladb/scylla/blob/40adf38915b6d8f5314c621a94d694d172360833/compound_compat.hh#L33-L47

Returns the name of the keyspace this statement is operating on.

Sets the consistency to be used when executing this batch.

Gets the consistency to be used when executing this batch.

Sets the serial consistency to be used when executing this batch. (Ignored unless the batch is an LWT)

Gets the serial consistency to be used when executing this batch. (Ignored unless the batch is an LWT)

Sets the idempotence of this statement A query is idempotent if it can be applied multiple times without changing the result of the initial application If set to true we can be sure that it is idempotent If set to false it is unknown whether it is idempotent This is used in RetryPolicy to decide if retrying a query is safe

Gets the idempotence of this statement

Sets a custom RetryPolicy to be used with this statement By default Session’s retry policy is used, this allows to use a custom retry policy

Gets custom RetryPolicy used by this statement

Enable or disable CQL Tracing for this batch If enabled session.batch() will return a BatchResult containing tracing_id which can be used to query tracing information about the execution of this query

Gets whether tracing is enabled for this batch

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.