aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram/adaptive/protos
diff options
context:
space:
mode:
authorzosimov <zosimov@yandex-team.ru>2022-02-10 16:50:32 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:32 +0300
commita1d67d6a31f789aa011250c3edce5751c0cadad2 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/histogram/adaptive/protos
parenta8f009e06d613c9567eb4c0f461dbed5e0d8092b (diff)
downloadydb-a1d67d6a31f789aa011250c3edce5751c0cadad2.tar.gz
Restoring authorship annotation for <zosimov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/histogram/adaptive/protos')
-rw-r--r--library/cpp/histogram/adaptive/protos/histo.proto28
-rw-r--r--library/cpp/histogram/adaptive/protos/ya.make2
2 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/histogram/adaptive/protos/histo.proto b/library/cpp/histogram/adaptive/protos/histo.proto
index 3ca752d4d7..8961fef022 100644
--- a/library/cpp/histogram/adaptive/protos/histo.proto
+++ b/library/cpp/histogram/adaptive/protos/histo.proto
@@ -5,32 +5,32 @@ package NKiwiAggr;
message THistoRec {
optional uint64 Id = 1; // Current histogram identifier
optional double Value = 2;
- optional double Weight = 3 [default = 1.0]; // You can set a certain weight to each record or just skip records using Weight=0
+ optional double Weight = 3 [default = 1.0]; // You can set a certain weight to each record or just skip records using Weight=0
}
message THistoRecs {
repeated THistoRec HistoRecs = 1;
}
-enum EHistogramType {
- HT_FIXED_BIN_HISTOGRAM = 1;
- HT_ADAPTIVE_DISTANCE_HISTOGRAM = 2;
- HT_ADAPTIVE_WEIGHT_HISTOGRAM = 3;
- HT_ADAPTIVE_HISTOGRAM = 4; // if the quality function is unknown
+enum EHistogramType {
+ HT_FIXED_BIN_HISTOGRAM = 1;
+ HT_ADAPTIVE_DISTANCE_HISTOGRAM = 2;
+ HT_ADAPTIVE_WEIGHT_HISTOGRAM = 3;
+ HT_ADAPTIVE_HISTOGRAM = 4; // if the quality function is unknown
HT_ADAPTIVE_WARD_HISTOGRAM = 5;
-}
-
+}
+
message THistogram {
optional uint64 Id = 1;
optional double MinValue = 2;
- optional double BinRange = 4; // for FIXED_BIN_HISTOGRAM only. And it's OK that it is 4 after 2
- repeated float Freq = 5;
- repeated float Position = 6; // for ADAPTIVE histograms only
- optional double MaxValue = 7;
- optional EHistogramType Type = 8; // Empty field means FIXED_BIN_HISTOGRAM
+ optional double BinRange = 4; // for FIXED_BIN_HISTOGRAM only. And it's OK that it is 4 after 2
+ repeated float Freq = 5;
+ repeated float Position = 6; // for ADAPTIVE histograms only
+ optional double MaxValue = 7;
+ optional EHistogramType Type = 8; // Empty field means FIXED_BIN_HISTOGRAM
}
// Multihistogam
message THistograms {
repeated THistogram HistoRecs = 1;
-}
+}
diff --git a/library/cpp/histogram/adaptive/protos/ya.make b/library/cpp/histogram/adaptive/protos/ya.make
index b5a0c42114..7635cfcb8c 100644
--- a/library/cpp/histogram/adaptive/protos/ya.make
+++ b/library/cpp/histogram/adaptive/protos/ya.make
@@ -1,6 +1,6 @@
PROTO_LIBRARY()
-OWNER(g:crawl)
+OWNER(g:crawl)
SRCS(
histo.proto