Skip to main content

Constants for the fields of the /show/resource/objects request.

Option fields

options

Constants for options.

pub const EVICTABLE: &str = “evictable”;
pub const EXPRESSION: &str = “expression”;

An expression to filter the returned objects. Expression is limited to the following operators: =,!=,<,<=,>,>=,+,-,*,AND,OR,LIKE. For details see Expressions. To use a more complex expression, query the ki_catalog.ki_tiered_objects table directly.

pub const ID: &str = “id”;
pub const LIMIT: &str = “limit”;

An integer indicating the maximum number of results to be returned, per rank, or (-1) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server’s own limit, defined by the max_get_records_size parameter in the server configuration.

pub const LOCKED: &str = “locked”;
pub const ORDER_BY: &str = “order_by”;

Single column to be sorted by as well as the sort direction, e.g., ‘size asc’.

pub const OWNER_RESOURCE_GROUP: &str = “owner_resource_group”;
pub const PERSIST_EVICTIONS: &str = “persist_evictions”;
pub const PIN_COUNT: &str = “pin_count”;
pub const PRIORITY: &str = “priority”;
pub const RAM_EVICTIONS: &str = “ram_evictions”;
pub const SIZE: &str = “size”;
pub const TABLE_NAMES: &str = “table_names”;

Comma-separated list of tables to restrict the results to. Use ‘*’ to show all tables.

pub const TIER: &str = “tier”;
pub const TIERS: &str = “tiers”;

Comma-separated list of tiers to query, leave blank for all tiers.