Package com.linkedin.venice.client.store
Class QueryTool
java.lang.Object
com.linkedin.venice.client.store.QueryTool
A tool use thin client to query the value from a store by the specified key.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatchQueryStoreForKeys(String store, Set<String> keyStrings, String url, boolean isVsonStore, Optional<String> sslConfigFile) static ObjectconvertKey(String keyString, org.apache.avro.Schema keySchema) static voidqueryStoreForKey(String store, String keyString, String url, boolean isVsonStore, Optional<String> sslConfigFile) static StringremoveQuotes(String str)
-
Constructor Details
-
QueryTool
public QueryTool()
-
-
Method Details
-
main
- Throws:
Exception
-
queryStoreForKey
public static Map<String,String> queryStoreForKey(String store, String keyString, String url, boolean isVsonStore, Optional<String> sslConfigFile) throws Exception - Throws:
Exception
-
batchQueryStoreForKeys
public static Map<String,Map<String, batchQueryStoreForKeysString>> (String store, Set<String> keyStrings, String url, boolean isVsonStore, Optional<String> sslConfigFile) throws Exception - Throws:
Exception
-
convertKey
-
removeQuotes
-