Expand description
Storage APIs.
Modules§
- consts
- Constants.
- descriptors 🔒
- requests 🔒
- types 🔒
- Common types.
Structs§
- Column
Descriptor - A ColumnDescriptor contains information to create a column.
- Column
Descriptor Builder - Builder for
ColumnDescriptor
. - Column
Schema - Schema of a column, used as an immutable struct.
- Region
Id - Id of the region. It’s generated by concatenating table id, region group and region number.
- Scan
Request - Schema
- A common schema, should be immutable.
- Schema
Builder
Enums§
- Column
Default Constraint - Column’s default constraint.
- Column
Descriptor Builder Error - Error type for ColumnDescriptorBuilder
- Concrete
Data Type - Time
Series Distribution - A hint on how to distribute time-series data on the scan output.
- Time
Series RowSelector - A hint on how to select rows from a time-series.
Constants§
- MAX_
REGION_ SEQ - The max valid region sequence number.
Type Aliases§
- Column
Id - Id of column. Unique in each region.
- Region
Group - Group number of one region. Unique in each region.
- Region
Number - Id of regions under the same table. Unique in each table. Is composed by RegionGroup and RegionSeq.
- Region
Seq - Sequence number of region inside one table. Unique in each table. The first 8 bits are preserved for RegionGroup.
- Schema
Ref - Sequence
Number - Represents a sequence number of data in storage. The offset of logstore can be used as a sequence number.
- TableId
- Id of table. Universal unique.