Package org.apache.orc.impl
Class TreeReaderFactory
java.lang.Object
org.apache.orc.impl.TreeReaderFactory
- Direct Known Subclasses:
ConvertTreeReaderFactory
Factory for creating ORC tree readers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic interfacestatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classA reader for string columns that are dictionary encoded in the current stripe.static classA reader for string columns that are direct encoded in the current stripe.static classA tree reader that will read string columns.static classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchReadercreateRootReader(TypeDescription readerType, TreeReaderFactory.Context context) static TypeReadercreateTreeReader(TypeDescription readerType, TreeReaderFactory.Context context) static booleanisDecimalAsLong(OrcFile.Version version, int precision)
-
Constructor Details
-
TreeReaderFactory
public TreeReaderFactory()
-
-
Method Details
-
createTreeReader
public static TypeReader createTreeReader(TypeDescription readerType, TreeReaderFactory.Context context) throws IOException - Throws:
IOException
-
isDecimalAsLong
-
createRootReader
public static BatchReader createRootReader(TypeDescription readerType, TreeReaderFactory.Context context) throws IOException - Throws:
IOException
-