public class ELSDefJSONMarshaller extends Object implements DataSetDefJSONMarshallerExt<ElasticSearchDataSetDef>
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_SYNCED |
static String |
CLUSTER_NAME |
static String |
INDEX |
static ELSDefJSONMarshaller |
INSTANCE |
static String |
QUERY |
static String |
RELEVANCE |
static String |
SERVER_URL |
static String |
TYPE |
| Constructor and Description |
|---|
ELSDefJSONMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(ElasticSearchDataSetDef dataSetDef,
JsonObject json)
Updates the given data set def instance with the status stored into the json object passed as a parameter.
|
void |
toJson(ElasticSearchDataSetDef dataSetDef,
JsonObject json)
Writes into the given json object the status of the data set def instance.
|
public static ELSDefJSONMarshaller INSTANCE
public static final String SERVER_URL
public static final String CLUSTER_NAME
public static final String INDEX
public static final String TYPE
public static final String QUERY
public static final String RELEVANCE
public static final String CACHE_SYNCED
public void fromJson(ElasticSearchDataSetDef dataSetDef, JsonObject json)
DataSetDefJSONMarshallerExtfromJson in interface DataSetDefJSONMarshallerExt<ElasticSearchDataSetDef>public void toJson(ElasticSearchDataSetDef dataSetDef, JsonObject json)
DataSetDefJSONMarshallerExttoJson in interface DataSetDefJSONMarshallerExt<ElasticSearchDataSetDef>Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.