Package com.linkedin.venice.client.store
Class QueryTool
- java.lang.Object
-
- com.linkedin.venice.client.store.QueryTool
-
public class QueryTool extends java.lang.Object
A tool use thin client to query the value from a store by the specified key.
-
-
Constructor Summary
Constructors Constructor Description QueryTool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
convertKey(java.lang.String keyString, org.apache.avro.Schema keySchema)
static void
main(java.lang.String[] args)
static java.util.Map<java.lang.String,java.lang.String>
queryStoreForKey(java.lang.String store, java.lang.String keyString, java.lang.String url, boolean isVsonStore, java.util.Optional<java.lang.String> sslConfigFile)
static java.lang.String
removeQuotes(java.lang.String str)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
queryStoreForKey
public static java.util.Map<java.lang.String,java.lang.String> queryStoreForKey(java.lang.String store, java.lang.String keyString, java.lang.String url, boolean isVsonStore, java.util.Optional<java.lang.String> sslConfigFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
convertKey
public static java.lang.Object convertKey(java.lang.String keyString, org.apache.avro.Schema keySchema)
-
removeQuotes
public static java.lang.String removeQuotes(java.lang.String str)
-
-