Skip to main content
pub struct GetRecordsByColumnRequestOptions 
    pub expression: String,
    pub sort_by: String,
    pub sort_order: String,
    pub order_by: String,
    pub convert_wkts_to_wkbs: String,
    pub route_to_tom: String,

Optional parameters for the /get/records/bycolumn endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

expression: String

Filter expression to apply to the table.

sort_by: String

Column that the data should be sorted by. Used in conjunction with sort_order. The order_by option can be used in lieu of sort_by / sort_order.

sort_order: String

String indicating how the returned values should be sorted - ascending or descending. If sort_order is provided, sort_by has to be provided. Server default: ascending.

order_by: String

Comma-separated list of the columns to be sorted by as well as the sort direction, e.g., ‘timestamp asc, x desc’.

convert_wkts_to_wkbs: String

If true, then WKT string columns will be returned as WKB bytes. Server default: false.

route_to_tom: String

For multihead record retrieval without shard key expression - specifies from which tom to retrieve data.

Implementations

Converts the set (non-empty) options into the wire-format string map.

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