Skip to main content

Module cache

Module cache 

Source

Re-exportsยง

pub use table::TableRoute;

Modulesยง

container ๐Ÿ”’
flow ๐Ÿ”’
registry ๐Ÿ”’
table ๐Ÿ”’

Structsยง

CacheContainer
Caches metadata and coalesces backend reads for concurrent callers.
CacheRegistry
CacheRegistry provides ability of
CacheRegistryBuilder
CacheRegistryBuilder provides ability of
LayeredCacheRegistry
LayeredCacheRegistry invalidate caches sequentially from the first layer.
LayeredCacheRegistryBuilder
LayeredCacheRegistry Builder.

Functionsยง

load_shared_flow_infos
Loads each returned definition into an Arc shared by duplicate IDs in a scan.
new_flow_info_cache
Builds a cache for individual and batched flow lookups.
new_schema_cache
Constructs a SchemaCache.
new_table_flownode_set_cache
Constructs a TableFlownodeSetCache.
new_table_info_cache
Constructs a TableInfoCache.
new_table_name_cache
Constructs a TableNameCache.
new_table_route_cache
Constructs a TableRouteCache.
new_table_schema_cache
Constructs a TableSchemaCache.
new_view_info_cache
Constructs a ViewInfoCache.
share_batch_values ๐Ÿ”’

Type Aliasesยง

BatchInitializer
Loads missing keys in one backend request. Absent keys are omitted from the result.
CacheRegistryRef
FlowInfoCache
Caches flow definitions by flow ID.
FlowInfoCacheRef
Initializer
Initializes value (i.e., fetches from remote).
LayeredCacheRegistryRef
SchemaCache
SchemaCacheRef
TableFlownodeSetCache
TableFlownodeSetCache caches the TableId to [FlownodeSet] mapping.
TableFlownodeSetCacheRef
TableInfoCache
TableInfoCache caches the [TableId] to TableInfo mapping.
TableInfoCacheRef
TableNameCache
TableNameCache caches the TableName to TableId mapping.
TableNameCacheRef
TableRouteCache
TableRouteCache caches the [TableId] to TableRoute mapping.
TableRouteCacheRef
TableSchemaCache
TableSchemaCacheRef
ViewInfoCache
ViewInfoCache caches the [TableId] to ViewInfoValue mapping.
ViewInfoCacheRef