public class FastReaderBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
FastReaderBuilder.ExecutionStep |
static interface |
FastReaderBuilder.FieldReader |
static class |
FastReaderBuilder.MapReader |
static class |
FastReaderBuilder.RecordReader |
static interface |
FastReaderBuilder.ReusingFieldReader |
Constructor and Description |
---|
FastReaderBuilder(GenericData parentData) |
Modifier and Type | Method and Description |
---|---|
<D> DatumReader<D> |
createDatumReader(Schema schema) |
<D> DatumReader<D> |
createDatumReader(Schema writerSchema,
Schema readerSchema) |
static FastReaderBuilder |
get() |
static FastReaderBuilder |
getSpecific() |
boolean |
isClassPropEnabled() |
boolean |
isKeyClassEnabled() |
static boolean |
isSupportedData(GenericData data) |
static FastReaderBuilder.FieldReader |
reusingReader(FastReaderBuilder.ReusingFieldReader reader) |
FastReaderBuilder |
withClassPropEnabled(boolean enabled) |
FastReaderBuilder |
withKeyClassEnabled(boolean enabled) |
public FastReaderBuilder(GenericData parentData)
public static FastReaderBuilder get()
public static FastReaderBuilder getSpecific()
public static boolean isSupportedData(GenericData data)
public FastReaderBuilder withKeyClassEnabled(boolean enabled)
public boolean isKeyClassEnabled()
public FastReaderBuilder withClassPropEnabled(boolean enabled)
public boolean isClassPropEnabled()
public <D> DatumReader<D> createDatumReader(Schema schema) throws IOException
IOException
public <D> DatumReader<D> createDatumReader(Schema writerSchema, Schema readerSchema) throws IOException
IOException
public static FastReaderBuilder.FieldReader reusingReader(FastReaderBuilder.ReusingFieldReader reader)
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.