mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Previously the cache type (`lru` or `ranked`) was determined by checking the ending suffix of the frame. If it ended with a `.n` then it was ranked. Otherwise it was an LRU. This commit changes frames so that a `cacheType` option can be passed in during creation to set either `lru` or `ranked`.
41 lines
603 B
Protocol Buffer
41 lines
603 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package internal;
|
|
|
|
message DB {
|
|
string TimeQuantum = 1;
|
|
string ColumnLabel = 2;
|
|
}
|
|
|
|
message Frame {
|
|
string TimeQuantum = 1;
|
|
string RowLabel = 2;
|
|
bool InverseEnabled = 3;
|
|
string CacheType = 4;
|
|
}
|
|
|
|
message ImportResponse {
|
|
string Err = 1;
|
|
}
|
|
|
|
message BlockDataRequest {
|
|
string DB = 1;
|
|
string Frame = 2;
|
|
string View = 5;
|
|
uint64 Slice = 4;
|
|
uint64 Block = 3;
|
|
}
|
|
|
|
message BlockDataResponse {
|
|
repeated uint64 BitmapIDs = 1;
|
|
repeated uint64 ProfileIDs = 2;
|
|
}
|
|
|
|
message Cache {
|
|
repeated uint64 BitmapIDs = 1;
|
|
}
|
|
|
|
message MaxSlicesResponse {
|
|
map<string, uint64> MaxSlices = 1;
|
|
}
|
|
|