public static class TreeWriter.Factory extends Object
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static TreeWriter |
create(TypeDescription schema,
WriterEncryptionVariant encryption,
WriterContext streamFactory)
Create a new tree writer for the given types and insert encryption if
required.
|
public static TreeWriter create(TypeDescription schema, WriterEncryptionVariant encryption, WriterContext streamFactory) throws IOException
schema
- the type to build a writer forencryption
- the encryption statusstreamFactory
- the writer contextIOException
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.