Class FlattenerJsonProvider

java.lang.Object
org.apache.druid.java.util.common.parsers.FlattenerJsonProvider
All Implemented Interfaces:
com.jayway.jsonpath.spi.json.JsonProvider

public abstract class FlattenerJsonProvider extends Object implements com.jayway.jsonpath.spi.json.JsonProvider
  • Constructor Details

    • FlattenerJsonProvider

      public FlattenerJsonProvider()
  • Method Details

    • createArray

      public Object createArray()
      Specified by:
      createArray in interface com.jayway.jsonpath.spi.json.JsonProvider
    • createMap

      public Object createMap()
      Specified by:
      createMap in interface com.jayway.jsonpath.spi.json.JsonProvider
    • length

      public int length(Object o)
      Specified by:
      length in interface com.jayway.jsonpath.spi.json.JsonProvider
    • toIterable

      public Iterable<?> toIterable(Object o)
      Specified by:
      toIterable in interface com.jayway.jsonpath.spi.json.JsonProvider
    • getArrayIndex

      public Object getArrayIndex(Object o, int i)
      Specified by:
      getArrayIndex in interface com.jayway.jsonpath.spi.json.JsonProvider
    • setArrayIndex

      public void setArrayIndex(Object o, int i, Object o1)
      Specified by:
      setArrayIndex in interface com.jayway.jsonpath.spi.json.JsonProvider
    • setProperty

      public void setProperty(Object o, Object o1, Object o2)
      Specified by:
      setProperty in interface com.jayway.jsonpath.spi.json.JsonProvider
    • removeProperty

      public void removeProperty(Object o, Object o1)
      Specified by:
      removeProperty in interface com.jayway.jsonpath.spi.json.JsonProvider
    • getArrayIndex

      @Deprecated public Object getArrayIndex(Object o, int i, boolean b)
      Deprecated.
      Specified by:
      getArrayIndex in interface com.jayway.jsonpath.spi.json.JsonProvider
    • parse

      public Object parse(String s) throws com.jayway.jsonpath.InvalidJsonException
      Specified by:
      parse in interface com.jayway.jsonpath.spi.json.JsonProvider
      Throws:
      com.jayway.jsonpath.InvalidJsonException
    • parse

      public Object parse(InputStream inputStream, String s) throws com.jayway.jsonpath.InvalidJsonException
      Specified by:
      parse in interface com.jayway.jsonpath.spi.json.JsonProvider
      Throws:
      com.jayway.jsonpath.InvalidJsonException
    • toJson

      public String toJson(Object o)
      Specified by:
      toJson in interface com.jayway.jsonpath.spi.json.JsonProvider
    • unwrap

      public Object unwrap(Object o)
      Specified by:
      unwrap in interface com.jayway.jsonpath.spi.json.JsonProvider