featurebase/internal/private.proto
Ben Johnson d32edb5329 Add cacheType to frame options.
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`.
2017-04-18 08:24:58 -06:00

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;
}