Class JSONOptions

java.lang.Object
org.apache.drill.common.JSONOptions

public class JSONOptions extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    JSONOptions(com.fasterxml.jackson.databind.JsonNode n, com.fasterxml.jackson.core.JsonLocation location)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    com.fasterxml.jackson.core.JsonParser
     
    <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
     
    <T> T
    getWith(com.fasterxml.jackson.databind.ObjectMapper mapper, Class<T> c)
     
    com.fasterxml.jackson.databind.JsonNode
    path(String name)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JSONOptions

      public JSONOptions(Object opaque)
    • JSONOptions

      public JSONOptions(com.fasterxml.jackson.databind.JsonNode n, com.fasterxml.jackson.core.JsonLocation location)
  • Method Details

    • getWith

      public <T> T getWith(com.fasterxml.jackson.databind.ObjectMapper mapper, Class<T> c)
    • 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

      public <T> T getListWith(com.fasterxml.jackson.core.type.TypeReference<T> t) throws IOException
      Throws:
      IOException
    • path

      public com.fasterxml.jackson.databind.JsonNode path(String name)
    • getRoot

      public com.fasterxml.jackson.databind.JsonNode getRoot()