Package org.apache.iceberg.spark.source
Class EqualityDeleteRowReader
java.lang.Object
org.apache.iceberg.spark.source.EqualityDeleteRowReader
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
- 
Constructor SummaryConstructorsConstructorDescriptionEqualityDeleteRowReader(CombinedScanTask task, Table table, Schema tableSchema, Schema expectedSchema, boolean caseSensitive, boolean cacheDeleteFilesOnExecutors) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanprotected booleanvoidclose()constantsMap(ContentScanTask<?> task, Schema readSchema) protected DeleteCountercounter()org.apache.spark.sql.connector.metric.CustomTaskMetric[]protected Schemaorg.apache.spark.sql.catalyst.InternalRowget()protected InputFilegetInputFile(String location) protected NameMappingprotected CloseableIterable<org.apache.spark.sql.catalyst.InternalRow> newIterable(InputFile file, FileFormat format, long start, long length, Expression residual, Schema projection, Map<Integer, ?> idToConstant) booleannext()protected CloseableIterator<org.apache.spark.sql.catalyst.InternalRow> open(FileScanTask task) protected CloseableIterable<org.apache.spark.sql.catalyst.InternalRow> open(FileScanTask task, Schema readSchema, Map<Integer, ?> idToConstant) protected Stream<ContentFile<?>> referencedFiles(FileScanTask task) protected Tabletable()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.connector.read.PartitionReaderget, next
- 
Constructor Details- 
EqualityDeleteRowReaderpublic EqualityDeleteRowReader(CombinedScanTask task, Table table, Schema tableSchema, Schema expectedSchema, boolean caseSensitive, boolean cacheDeleteFilesOnExecutors) 
 
- 
- 
Method Details- 
open
- 
currentMetricsValuespublic org.apache.spark.sql.connector.metric.CustomTaskMetric[] currentMetricsValues()- Specified by:
- currentMetricsValuesin interface- org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
 
- 
referencedFiles
- 
openprotected CloseableIterable<org.apache.spark.sql.catalyst.InternalRow> open(FileScanTask task, Schema readSchema, Map<Integer, ?> idToConstant) 
- 
newIterableprotected CloseableIterable<org.apache.spark.sql.catalyst.InternalRow> newIterable(InputFile file, FileFormat format, long start, long length, Expression residual, Schema projection, Map<Integer, ?> idToConstant) 
- 
expectedSchema
- 
caseSensitiveprotected boolean caseSensitive()
- 
cacheDeleteFilesOnExecutorsprotected boolean cacheDeleteFilesOnExecutors()
- 
nameMapping
- 
table
- 
counter
- 
next- Throws:
- IOException
 
- 
getpublic org.apache.spark.sql.catalyst.InternalRow get()
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
- 
getInputFile
- 
constantsMap
 
-