public class ColumnIOFactory extends Object
| Constructor and Description |
|---|
ColumnIOFactory()
validation is off by default
|
ColumnIOFactory(boolean validating) |
ColumnIOFactory(String createdBy)
validation is off by default
|
ColumnIOFactory(String createdBy,
boolean validating) |
| Modifier and Type | Method and Description |
|---|---|
MessageColumnIO |
getColumnIO(MessageType schema) |
MessageColumnIO |
getColumnIO(MessageType requestedSchema,
MessageType fileSchema) |
MessageColumnIO |
getColumnIO(MessageType requestedSchema,
MessageType fileSchema,
boolean strict) |
public ColumnIOFactory()
public ColumnIOFactory(String createdBy)
createdBy - createdBy string for readerspublic ColumnIOFactory(boolean validating)
validating - to turn validation onpublic ColumnIOFactory(String createdBy, boolean validating)
createdBy - createdBy string for readersvalidating - to turn validation onpublic MessageColumnIO getColumnIO(MessageType requestedSchema, MessageType fileSchema)
requestedSchema - the requestedSchema we want to read/writefileSchema - the file schema (when reading it can be different from the requested schema)public MessageColumnIO getColumnIO(MessageType requestedSchema, MessageType fileSchema, boolean strict)
requestedSchema - the requestedSchema we want to read/writefileSchema - the file schema (when reading it can be different from the requested schema)strict - should file type and requested primitive types matchpublic MessageColumnIO getColumnIO(MessageType schema)
schema - the schema we want to read/writeCopyright © 2023 The Apache Software Foundation. All rights reserved.