Public Methods |
static
Map<String, String>
|
JsonToMap(String jsonString)
|
static
<T>
T
|
JsonToObject(Class<T> clazz, String jsonString)
|
static
String
|
ObjectToJson(Object object)
|
static
String
|
ZNRecordToJson(ZNRecord record)
|
static
HelixDataAccessor
|
getClusterDataAccessor(ZkClient zkClient, String clusterName)
|
static
String
|
getClusterPropertyAsString(ZkClient zkClient, String clusterName, MediaType mediaType, PropertyKey propertyKey)
|
static
String
|
getClusterPropertyAsString(ZkClient zkClient, String clusterName, PropertyKey propertyKey, MediaType mediaType)
|
static
String
|
getErrorAsJsonStringFromException(Exception e)
|
static
String
|
getFormJsonParameterString(Form form, String key)
|
static
Map<String, String>
|
getFormJsonParameters(Form form)
|
static
Map<String, String>
|
getFormJsonParameters(Form form, String key)
|
static
<T>
T
|
getFormJsonParameters(Class<T> clazz, Form form, String key)
|
static
String
|
getInstancePropertiesAsString(ZkClient zkClient, String clusterName, PropertyKey propertyKey, MediaType mediaType)
|
static
String
|
getInstancePropertyAsString(ZkClient zkClient, String clusterName, PropertyKey propertyKey, MediaType mediaType)
|
static
List<String>
|
getInstancePropertyList(ZkClient zkClient, String clusterName, String instanceName, PropertyType property, String key)
|
static
String
|
getInstancePropertyNameListAsString(ZkClient zkClient, String clusterName, String instanceName, PropertyType instanceProperty, String key, MediaType mediaType)
|
static
String
|
getInstanceSessionId(ZkClient zkClient, String clusterName, String instanceName)
|
static
String
|
getPropertyAsString(ZkClient zkClient, String clusterName, PropertyKey propertyKey, MediaType mediaType)
|