Package org.apache.iceberg.avro
Class Avro.ReadBuilder
- java.lang.Object
- 
- org.apache.iceberg.avro.Avro.ReadBuilder
 
- 
- Enclosing class:
- Avro
 
 public static class Avro.ReadBuilder extends java.lang.Object
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <D> AvroIterable<D>build()Avro.ReadBuilderclassLoader(java.lang.ClassLoader classLoader)Avro.ReadBuildercreateReaderFunc(java.util.function.BiFunction<Schema,org.apache.avro.Schema,org.apache.avro.io.DatumReader<?>> readerFunction)Avro.ReadBuildercreateReaderFunc(java.util.function.Function<org.apache.avro.Schema,org.apache.avro.io.DatumReader<?>> readerFunction)Avro.ReadBuilderproject(Schema projectedSchema)Avro.ReadBuilderrename(java.lang.String fullName, java.lang.String newName)Avro.ReadBuilderreuseContainers()Avro.ReadBuilderreuseContainers(boolean shouldReuse)Avro.ReadBuildersplit(long newStart, long newLength)Restricts the read to the given range: [start, end = start + length).Avro.ReadBuilderwithNameMapping(NameMapping newNameMapping)
 
- 
- 
- 
Method Detail- 
createReaderFuncpublic Avro.ReadBuilder createReaderFunc(java.util.function.Function<org.apache.avro.Schema,org.apache.avro.io.DatumReader<?>> readerFunction) 
 - 
createReaderFuncpublic Avro.ReadBuilder createReaderFunc(java.util.function.BiFunction<Schema,org.apache.avro.Schema,org.apache.avro.io.DatumReader<?>> readerFunction) 
 - 
splitpublic Avro.ReadBuilder split(long newStart, long newLength) Restricts the read to the given range: [start, end = start + length).- Parameters:
- newStart- the start position for this read
- newLength- the length of the range this read should scan
- Returns:
- this builder for method chaining
 
 - 
projectpublic Avro.ReadBuilder project(Schema projectedSchema) 
 - 
reuseContainerspublic Avro.ReadBuilder reuseContainers() 
 - 
reuseContainerspublic Avro.ReadBuilder reuseContainers(boolean shouldReuse) 
 - 
renamepublic Avro.ReadBuilder rename(java.lang.String fullName, java.lang.String newName) 
 - 
withNameMappingpublic Avro.ReadBuilder withNameMapping(NameMapping newNameMapping) 
 - 
classLoaderpublic Avro.ReadBuilder classLoader(java.lang.ClassLoader classLoader) 
 - 
buildpublic <D> AvroIterable<D> build() 
 
- 
 
-