Skip to main content
pub struct RawExecuteSqlResponse 
    pub count_affected: i64,
    pub response_schema_str: String,
    pub binary_encoded_response: ByteBuf,
    pub json_encoded_response: String,
    pub total_number_of_records: i64,
    pub has_more_records: bool,
    pub paging_table: String,
    pub info: HashMap<String, String>,

The response from the /execute/sql endpoint.

Fields

count_affected: i64

The number of objects/records affected.

response_schema_str: String

Avro schema of binary_encoded_response or json_encoded_response.

binary_encoded_response: ByteBuf

Avro binary encoded response.

json_encoded_response: String

Avro JSON encoded response.

total_number_of_records: i64

Total/Filtered number of records.

has_more_records: bool

Too many records. Returned a partial set.

paging_table: String

Name of the table that has the result records of the query. Valid, when has_more_records is true. The caller should clear this and all tables in result_table_list when they are done querying.

info: HashMap<String, String>

Additional information.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Source

fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,

Deserialize this value from the given Serde deserializer. Read more
Source

fn serialize<__S>(&self, __serializer: __S) ->Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more