Package org.apache.druid.data.input.impl
Class NestedInputFormat
- java.lang.Object
-
- org.apache.druid.data.input.impl.NestedInputFormat
-
- All Implemented Interfaces:
InputFormat
- Direct Known Subclasses:
JsonInputFormat
public abstract class NestedInputFormat extends Object implements InputFormat
Abstract class for nested file formats such as JSON, ORC, etc. It hasJSONPathSpec
, which is internall calledflattenSpec
, to flatten the nested data structure.
-
-
Field Summary
-
Fields inherited from interface org.apache.druid.data.input.InputFormat
TYPE_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NestedInputFormat(JSONPathSpec flattenSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
JSONPathSpec
getFlattenSpec()
int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.data.input.InputFormat
createReader, createRowAdapter, getWeightedSize, isSplittable
-
-
-
-
Constructor Detail
-
NestedInputFormat
protected NestedInputFormat(@Nullable JSONPathSpec flattenSpec)
-
-