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:
- java.io.Closeable,- java.lang.AutoCloseable,- java.lang.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 Classes Modifier and Type Class Description protected static classManifestReader.FileType- 
Nested classes/interfaces inherited from interface org.apache.iceberg.io.CloseableIterableCloseableIterable.ConcatCloseableIterable<E>
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedManifestReader(InputFile file, int specId, java.util.Map<java.lang.Integer,PartitionSpec> specsById, org.apache.iceberg.InheritableMetadata inheritableMetadata, ManifestReader.FileType content)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ManifestReader<F>caseSensitive(boolean isCaseSensitive)InputFilefile()ManifestReader<F>filterPartitions(Expression expr)ManifestReader<F>filterPartitions(PartitionSet partitions)ManifestReader<F>filterRows(Expression expr)booleanisDeleteManifestReader()CloseableIterator<F>iterator()Returns a closeable iterator over elements of typeT.ManifestReader<F>project(Schema newFileProjection)Schemaschema()ManifestReader<F>select(java.util.Collection<java.lang.String> newColumns)PartitionSpecspec()- 
Methods inherited from class org.apache.iceberg.io.CloseableGroupaddCloseable, addCloseable, close, setSuppressCloseFailure
 
- 
 
- 
- 
- 
Constructor Detail- 
ManifestReaderprotected ManifestReader(InputFile file, int specId, java.util.Map<java.lang.Integer,PartitionSpec> specsById, org.apache.iceberg.InheritableMetadata inheritableMetadata, ManifestReader.FileType content) 
 
- 
 - 
Method Detail- 
isDeleteManifestReaderpublic boolean isDeleteManifestReader() 
 - 
filepublic InputFile file() 
 - 
schemapublic Schema schema() 
 - 
specpublic PartitionSpec spec() 
 - 
selectpublic ManifestReader<F> select(java.util.Collection<java.lang.String> newColumns) 
 - 
projectpublic ManifestReader<F> project(Schema newFileProjection) 
 - 
filterPartitionspublic ManifestReader<F> filterPartitions(Expression expr) 
 - 
filterPartitionspublic ManifestReader<F> filterPartitions(PartitionSet partitions) 
 - 
filterRowspublic ManifestReader<F> filterRows(Expression expr) 
 - 
caseSensitivepublic ManifestReader<F> caseSensitive(boolean isCaseSensitive) 
 - 
iteratorpublic CloseableIterator<F> iterator() Description copied from interface:CloseableIterableReturns a closeable iterator over elements of typeT.- Specified by:
- iteratorin interface- CloseableIterable<F extends ContentFile<F>>
- Specified by:
- iteratorin interface- java.lang.Iterable<F extends ContentFile<F>>
- Returns:
- an Iterator of DataFile. Makes defensive copies of files before returning
 
 
- 
 
-