Type Alias QueryBatch

Source
pub type QueryBatch = BodyReqBatch;

Aliased Type§

pub struct QueryBatch {
    pub batch_type: BatchType,
    pub queries: Vec<BatchQuery>,
    pub consistency: Consistency,
    pub query_flags: Vec<QueryFlags>,
    pub serial_consistency: Option<Consistency>,
    pub timestamp: Option<i64>,
}

Fields§

§batch_type: BatchType§queries: Vec<BatchQuery>§consistency: Consistency§query_flags: Vec<QueryFlags>

IMPORTANT NOTE: with names flag does not work and should not be used. https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L413

§serial_consistency: Option<Consistency>§timestamp: Option<i64>