Package org.apache.drill.common
Class JSONOptions
java.lang.Object
org.apache.drill.common.JSONOptions
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionJSONOptions
(com.fasterxml.jackson.databind.JsonNode n, com.fasterxml.jackson.core.JsonLocation location) JSONOptions
(Object opaque) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
asNode()
com.fasterxml.jackson.core.JsonParser
asParser()
<T> T
getListWith
(com.fasterxml.jackson.core.type.TypeReference<T> t) <T> T
getListWith
(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.core.type.TypeReference<T> t) <T> T
getListWith
(LogicalPlanPersistence config, com.fasterxml.jackson.core.type.TypeReference<T> t) com.fasterxml.jackson.databind.JsonNode
getRoot()
<T> T
com.fasterxml.jackson.databind.JsonNode
-
Constructor Details
-
JSONOptions
-
JSONOptions
public JSONOptions(com.fasterxml.jackson.databind.JsonNode n, com.fasterxml.jackson.core.JsonLocation location)
-
-
Method Details
-
getWith
-
getListWith
public <T> T getListWith(LogicalPlanPersistence config, com.fasterxml.jackson.core.type.TypeReference<T> t) throws IOException - Throws:
IOException
-
asNode
public com.fasterxml.jackson.databind.JsonNode asNode() -
asParser
public com.fasterxml.jackson.core.JsonParser asParser() -
getListWith
public <T> T getListWith(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.core.type.TypeReference<T> t) throws IOException - Throws:
IOException
-
getListWith
- Throws:
IOException
-
path
-
getRoot
public com.fasterxml.jackson.databind.JsonNode getRoot()
-