Package org.apache.iceberg
Class ManifestReader<F extends ContentFile<F>>
java.lang.Object
org.apache.iceberg.io.CloseableGroup
org.apache.iceberg.ManifestReader<F>
- Type Parameters:
- F- The Java class of files returned by this reader.
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Iterable<F>,- CloseableIterable<F>
public class ManifestReader<F extends ContentFile<F>>
extends CloseableGroup
implements CloseableIterable<F>
Base reader for data and delete manifest files.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterableCloseableIterable.ConcatCloseableIterable<E>
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedManifestReader(InputFile file, int specId, Map<Integer, PartitionSpec> specsById, org.apache.iceberg.InheritableMetadata inheritableMetadata, Long firstRowId, ManifestReader.FileType content) protectedManifestReader(InputFile file, int specId, Map<Integer, PartitionSpec> specsById, org.apache.iceberg.InheritableMetadata inheritableMetadata, ManifestReader.FileType content) 
- 
Method SummaryModifier and TypeMethodDescriptioncaseSensitive(boolean isCaseSensitive) file()filterPartitions(Expression expr) filterPartitions(PartitionSet partitions) filterRows(Expression expr) booleaniterator()Returns a closeable iterator over elements of typeT.schema()select(Collection<String> newColumns) spec()Methods inherited from class org.apache.iceberg.io.CloseableGroupaddCloseable, addCloseable, close, setSuppressCloseFailureMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
ManifestReaderprotected ManifestReader(InputFile file, int specId, Map<Integer, PartitionSpec> specsById, org.apache.iceberg.InheritableMetadata inheritableMetadata, ManifestReader.FileType content) 
- 
ManifestReaderprotected ManifestReader(InputFile file, int specId, Map<Integer, PartitionSpec> specsById, org.apache.iceberg.InheritableMetadata inheritableMetadata, Long firstRowId, ManifestReader.FileType content) 
 
- 
- 
Method Details- 
isDeleteManifestReaderpublic boolean isDeleteManifestReader()
- 
file
- 
schema
- 
spec
- 
select
- 
project
- 
filterPartitions
- 
filterPartitions
- 
filterRows
- 
caseSensitive
- 
iteratorDescription copied from interface:CloseableIterableReturns a closeable iterator over elements of typeT.- Specified by:
- iteratorin interface- CloseableIterable<F extends ContentFile<F>>
- Specified by:
- iteratorin interface- Iterable<F extends ContentFile<F>>
- Returns:
- an Iterator of DataFile. Makes defensive copies of files before returning
 
 
-