public class HDFSOutputSpecs extends HDFSOutputParam
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static ParameterEnum[] |
SPECIFICATIONLIST |
| Constructor and Description |
|---|
HDFSOutputSpecs(ConfigurationNode node)
Build a set of ElasticSearch parameters by reading an instance of
SpecificationNode.
|
HDFSOutputSpecs(org.json.JSONObject json)
Build a set of ElasticSearch parameters by reading an JSON object
|
HDFSOutputSpecs(String json)
Build a set of ElasticSearch parameters by reading an JSON object
|
| Modifier and Type | Method and Description |
|---|---|
static void |
contextToSpecNode(IPostParameters variableContext,
ConfigurationNode specNode,
int sequenceNumber) |
String |
getRootPath() |
org.json.JSONObject |
toJson() |
buildMapclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic static final ParameterEnum[] SPECIFICATIONLIST
public HDFSOutputSpecs(String json) throws org.json.JSONException, ManifoldCFException
json - org.json.JSONExceptionManifoldCFExceptionpublic HDFSOutputSpecs(org.json.JSONObject json)
throws org.json.JSONException,
ManifoldCFException
json - org.json.JSONExceptionManifoldCFExceptionpublic HDFSOutputSpecs(ConfigurationNode node) throws ManifoldCFException
node - ManifoldCFExceptionpublic static void contextToSpecNode(IPostParameters variableContext, ConfigurationNode specNode, int sequenceNumber)
variableContext - specNode - public org.json.JSONObject toJson()
public String getRootPath()