summaryrefslogtreecommitdiff
path: root/internal/protocol
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-09-08 19:10:50 +0300
committerPaul Buetow <paul@buetow.org>2021-10-02 12:26:29 +0300
commit16dc57e1e1c28e9d762424e596223a980770e059 (patch)
treeea5a7d5caa7f4de7bd3b21e57d0e18c0d8507c7d /internal/protocol
parentc83c9e61a08c7ea1cb528bc26dfab25b46faa866 (diff)
mapreduce tables are in colors now too
Diffstat (limited to 'internal/protocol')
-rw-r--r--internal/protocol/protocol.go11
1 files changed, 9 insertions, 2 deletions
diff --git a/internal/protocol/protocol.go b/internal/protocol/protocol.go
index d3035e4..8c9e861 100644
--- a/internal/protocol/protocol.go
+++ b/internal/protocol/protocol.go
@@ -5,8 +5,15 @@ const (
ProtocolCompat string = "4"
// MessageDelimiter delimits separate messages.
MessageDelimiter byte = '¬'
- // FieldDelimiter delimits aggregation fields.
+ // FieldDelimiter delimits messagefields.
FieldDelimiter string = "|"
+ // CSVDelimiter delimits CSV file fields.kj:w
+ CSVDelimiter string = ","
+ // AggregateKVDelimiter delimits key-values of an aggregation message.
+ AggregateKVDelimiter string = "≔"
// AggregateDelimiter delimits parts of an aggregation message.
- AggregateDelimiter string = "➔"
+ AggregateDelimiter string = "∥"
+ // AggregateDelimiter string = "⦀"
+ // AggregateGroupKeyCombinator combines the group set keys.
+ AggregateGroupKeyCombinator string = ","
)