aarondb/storage/internal
Types
pub type AttributeConfig {
AttributeConfig(
unique: Bool,
component: Bool,
retention: Retention,
cardinality: Cardinality,
check: option.Option(String),
composite_group: option.Option(String),
layout: StorageLayout,
tier: StorageTier,
eviction: EvictionPolicy,
)
}
Constructors
-
AttributeConfig( unique: Bool, component: Bool, retention: Retention, cardinality: Cardinality, check: option.Option(String), composite_group: option.Option(String), layout: StorageLayout, tier: StorageTier, eviction: EvictionPolicy, )
pub type Cardinality {
Many
One
}
Constructors
-
Many -
One
pub type CrackingNode {
Leaf(values: List(fact.Value))
Branch(
pivot: fact.Value,
left: CrackingNode,
right: CrackingNode,
)
}
Constructors
-
Leaf(values: List(fact.Value)) -
Branch( pivot: fact.Value, left: CrackingNode, right: CrackingNode, )
pub type EvictionPolicy {
AlwaysInMemory
LruToDisk
LruToCloud
}
Constructors
-
AlwaysInMemory -
LruToDisk -
LruToCloud
pub type Retention {
All
LatestOnly
Last(Int)
}
Constructors
-
All -
LatestOnly -
Last(Int)
pub type StorageChunk {
StorageChunk(
attribute: String,
values: CrackingNode,
max_tx: Int,
is_compressed: Bool,
)
}
Constructors
-
StorageChunk( attribute: String, values: CrackingNode, max_tx: Int, is_compressed: Bool, )
pub type StorageLayout {
Row
Columnar
}
Constructors
-
Row -
Columnar
pub type StorageTier {
Memory
Disk
Cloud
}
Constructors
-
Memory -
Disk -
Cloud