public class ColumnIOFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ColumnIOFactory.ColumnIOCreatorVisitor |
| Constructor and Description |
|---|
ColumnIOFactory()
validation is off by default
|
ColumnIOFactory(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(boolean validating)
validating - to turn validation onpublic MessageColumnIO getColumnIO(MessageType requestedSchema, MessageType fileSchema)
schema - 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)
schema - 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 © 2015 The Apache Software Foundation. All rights reserved.