diff options
author | reverie <reverie@yandex-team.ru> | 2022-02-10 16:50:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:56 +0300 |
commit | a53448e7a898701b4411c68f0d438e703872f1a1 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/histogram/adaptive/protos | |
parent | 715969815532bc3ecdd5169efec8fc265e700a8b (diff) | |
download | ydb-a53448e7a898701b4411c68f0d438e703872f1a1.tar.gz |
Restoring authorship annotation for <reverie@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/histogram/adaptive/protos')
-rw-r--r-- | library/cpp/histogram/adaptive/protos/histo.proto | 42 | ||||
-rw-r--r-- | library/cpp/histogram/adaptive/protos/ya.make | 14 |
2 files changed, 28 insertions, 28 deletions
diff --git a/library/cpp/histogram/adaptive/protos/histo.proto b/library/cpp/histogram/adaptive/protos/histo.proto index 55099fbf74..8961fef022 100644 --- a/library/cpp/histogram/adaptive/protos/histo.proto +++ b/library/cpp/histogram/adaptive/protos/histo.proto @@ -1,17 +1,17 @@ -package NKiwiAggr; - - -// THistoRec represents a value record added to a multihistogram -message THistoRec { - optional uint64 Id = 1; // Current histogram identifier - optional double Value = 2; +package NKiwiAggr; + + +// THistoRec represents a value record added to a multihistogram +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 -} - -message THistoRecs { - repeated THistoRec HistoRecs = 1; -} - +} + +message THistoRecs { + repeated THistoRec HistoRecs = 1; +} + enum EHistogramType { HT_FIXED_BIN_HISTOGRAM = 1; HT_ADAPTIVE_DISTANCE_HISTOGRAM = 2; @@ -20,17 +20,17 @@ enum EHistogramType { HT_ADAPTIVE_WARD_HISTOGRAM = 5; } -message THistogram { - optional uint64 Id = 1; - optional double MinValue = 2; +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 -} - -// Multihistogam -message THistograms { - repeated THistogram HistoRecs = 1; +} + +// 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 8a9e578a5f..7635cfcb8c 100644 --- a/library/cpp/histogram/adaptive/protos/ya.make +++ b/library/cpp/histogram/adaptive/protos/ya.make @@ -1,13 +1,13 @@ PROTO_LIBRARY() - + OWNER(g:crawl) - -SRCS( - histo.proto -) - + +SRCS( + histo.proto +) + IF (NOT PY_PROTOS_FOR) EXCLUDE_TAGS(GO_PROTO) ENDIF() -END() +END() |