Package org.apache.iceberg.avro
Class AvroIterable<D>
- java.lang.Object
-
- org.apache.iceberg.io.CloseableGroup
-
- org.apache.iceberg.avro.AvroIterable<D>
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Iterable<D>
,CloseableIterable<D>
public class AvroIterable<D> extends CloseableGroup implements CloseableIterable<D>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterable
CloseableIterable.ConcatCloseableIterable<E>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getMetadata()
CloseableIterator<D>
iterator()
Returns a closeable iterator over elements of typeT
.-
Methods inherited from class org.apache.iceberg.io.CloseableGroup
addCloseable, addCloseable, close, setSuppressCloseFailure
-
-
-
-
Method Detail
-
getMetadata
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
-
iterator
public CloseableIterator<D> iterator()
Description copied from interface:CloseableIterable
Returns a closeable iterator over elements of typeT
.- Specified by:
iterator
in interfaceCloseableIterable<D>
- Specified by:
iterator
in interfacejava.lang.Iterable<D>
- Returns:
- an
CloseableIterator
.
-
-