public static class FastReaderBuilder.RecordReader extends Object implements FastReaderBuilder.FieldReader
Modifier and Type | Class and Description |
---|---|
static class |
FastReaderBuilder.RecordReader.Stage |
Constructor and Description |
---|
RecordReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
canReuse() |
void |
finishInitialization(FastReaderBuilder.ExecutionStep[] readSteps,
Schema schema,
GenericData.InstanceSupplier supp) |
FastReaderBuilder.RecordReader.Stage |
getInitializationStage() |
Object |
read(Object reuse,
Decoder decoder)
Read a datum.
|
void |
reset() |
void |
startInitialization() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSchema
public FastReaderBuilder.RecordReader.Stage getInitializationStage()
public void reset()
public void startInitialization()
public void finishInitialization(FastReaderBuilder.ExecutionStep[] readSteps, Schema schema, GenericData.InstanceSupplier supp)
public boolean canReuse()
canReuse
in interface FastReaderBuilder.FieldReader
public Object read(Object reuse, Decoder decoder) throws IOException
DatumReader
read
in interface DatumReader<Object>
read
in interface FastReaderBuilder.FieldReader
IOException
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.