Package com.yahoo.search.dispatch.rpc
Class MapConverter
java.lang.Object
com.yahoo.search.dispatch.rpc.MapConverter
- Author:
- ollivir
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
convertMapPrimitives
(Map<String, Object> map, Consumer<ai.vespa.searchlib.searchprotocol.protobuf.SearchProtocol.StringProperty.Builder> inserter) static void
convertMapTensors
(Map<String, Object> map, Consumer<ai.vespa.searchlib.searchprotocol.protobuf.SearchProtocol.TensorProperty.Builder> inserter) static void
convertMultiMap
(Map<String, List<Object>> map, Consumer<ai.vespa.searchlib.searchprotocol.protobuf.SearchProtocol.StringProperty.Builder> stringInserter, Consumer<ai.vespa.searchlib.searchprotocol.protobuf.SearchProtocol.TensorProperty.Builder> tensorInserter) static void
convertStringMultiMap
(Map<String, List<String>> map, Consumer<ai.vespa.searchlib.searchprotocol.protobuf.SearchProtocol.StringProperty.Builder> inserter)
-
Constructor Details
-
MapConverter
public MapConverter()
-
-
Method Details
-
convertMapTensors
-
convertMapPrimitives
-
convertStringMultiMap
-
convertMultiMap
-