Package org.apache.orc.impl.writer
Class TreeWriter.Factory
java.lang.Object
org.apache.orc.impl.writer.TreeWriter.Factory
- Enclosing interface:
- TreeWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TreeWriter
create
(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext streamFactory) Create a new tree writer for the given types and insert encryption if required.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
public static TreeWriter create(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext streamFactory) throws IOException Create a new tree writer for the given types and insert encryption if required.- Parameters:
schema
- the type to build a writer forencryption
- the encryption statusstreamFactory
- the writer context- Returns:
- a new tree writer
- Throws:
IOException
-