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) |
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 schema)
schema
- the schema we want to read/writeCopyright © 2015. All rights reserved.