public static class AvroColumnReader.Params extends Object
| Constructor and Description |
|---|
Params(File file)
Construct reading from a file.
|
Params(Input input)
Construct reading from input.
|
| Modifier and Type | Method and Description |
|---|---|
AvroColumnReader.Params |
setModel(GenericData model)
Set data representation.
|
AvroColumnReader.Params |
setSchema(Schema schema)
Set subset schema to project data down to.
|
public Params(File file) throws IOException
IOExceptionpublic Params(Input input)
public AvroColumnReader.Params setSchema(Schema schema)
public AvroColumnReader.Params setModel(GenericData model)
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.