mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 08:35:55 +00:00
This commit refactors the pilosa codebase. It makes several major changes: * Removes bitmap handles * Removes dispatch/hold/transport * Removes etcd dependency * Adds consistent hash ring for slice placement * Refactors parser/lexer * Adds strong typing to PQL AST * Flattens package hierarchy
28 lines
466 B
Protocol Buffer
28 lines
466 B
Protocol Buffer
package internal;
|
|
|
|
message Bitmap {
|
|
repeated Chunk Chunks = 1;
|
|
}
|
|
|
|
message Chunk {
|
|
required uint64 Key = 1;
|
|
repeated uint64 Value = 2;
|
|
}
|
|
|
|
message Pair {
|
|
required uint64 Key = 1;
|
|
required uint64 Count = 2;
|
|
}
|
|
|
|
message QueryRequest {
|
|
required string DB = 1;
|
|
required string Query = 2;
|
|
repeated uint64 Slices = 3;
|
|
}
|
|
|
|
message QueryResponse {
|
|
optional string Err = 1;
|
|
optional Bitmap Bitmap = 2;
|
|
optional uint64 N = 3;
|
|
repeated Pair Pairs = 4;
|
|
}
|