Package org.apache.avro.io
Class FastReaderBuilder
java.lang.Object
org.apache.avro.io.FastReaderBuilder
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static class
static class
static interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<D> DatumReader
<D> createDatumReader
(Schema schema) <D> DatumReader
<D> createDatumReader
(Schema writerSchema, Schema readerSchema) static FastReaderBuilder
get()
static FastReaderBuilder
boolean
boolean
static boolean
isSupportedData
(GenericData data) withClassPropEnabled
(boolean enabled) withKeyClassEnabled
(boolean enabled)
-
Constructor Details
-
FastReaderBuilder
-
-
Method Details
-
get
-
getSpecific
-
isSupportedData
-
withKeyClassEnabled
-
isKeyClassEnabled
public boolean isKeyClassEnabled() -
withClassPropEnabled
-
isClassPropEnabled
public boolean isClassPropEnabled() -
createDatumReader
- Throws:
IOException
-
createDatumReader
public <D> DatumReader<D> createDatumReader(Schema writerSchema, Schema readerSchema) throws IOException - Throws:
IOException
-
reusingReader
public static FastReaderBuilder.FieldReader reusingReader(FastReaderBuilder.ReusingFieldReader reader)
-