You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pulsar/table_view.go
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,12 +56,18 @@ type TableView interface {
56
56
// ContainsKey returns true if this TableView contains a mapping for the specified key.
57
57
ContainsKey(keystring) bool
58
58
59
-
// Get returns the value to which the specified key is mapped, or nil if this map contains no mapping for the key.
59
+
// Get returns the value to which the specified key is mapped, or nil if this map contains no mapping for the key or the Message cannot be encoded to the SchemaValueType
60
60
Get(keystring) interface{}
61
61
62
-
// Entries returns a map view of the mappings contained in this TableView.
62
+
// Message returns the Message to which the specified key is mapped, or nil if this map contains no mapping for the key.
63
+
Message(keystring) Message
64
+
65
+
// Entries returns a map view of the mappings contained in this TableView, with values encoded into SchemaValueType.
63
66
Entries() map[string]interface{}
64
67
68
+
// Messages returns a map view of the Message mappings contained in this TableView.
69
+
Messages() map[string]Message
70
+
65
71
// Keys returns a slice of the keys contained in this TableView.
0 commit comments