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 Summary
ConstructorsConstructorDescriptionEqualityDeleteRowReader(CombinedScanTask task, Table table, Schema tableSchema, Schema expectedSchema, boolean caseSensitive)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidclose()constantsMap(ContentScanTask<?> task, Schema readSchema) protected static ObjectconvertConstant(Type type, Object value) 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.connector.read.PartitionReader
get, next 
- 
Constructor Details
- 
EqualityDeleteRowReader
public EqualityDeleteRowReader(CombinedScanTask task, Table table, Schema tableSchema, Schema expectedSchema, boolean caseSensitive)  
 - 
 - 
Method Details
- 
open
 - 
currentMetricsValues
public org.apache.spark.sql.connector.metric.CustomTaskMetric[] currentMetricsValues()- Specified by:
 currentMetricsValuesin interfaceorg.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
 - 
referencedFiles
 - 
open
protected CloseableIterable<org.apache.spark.sql.catalyst.InternalRow> open(FileScanTask task, Schema readSchema, Map<Integer, ?> idToConstant)  - 
newIterable
protected CloseableIterable<org.apache.spark.sql.catalyst.InternalRow> newIterable(InputFile file, FileFormat format, long start, long length, Expression residual, Schema projection, Map<Integer, ?> idToConstant)  - 
expectedSchema
 - 
caseSensitive
protected boolean caseSensitive() - 
nameMapping
 - 
table
 - 
counter
 - 
next
- Throws:
 IOException
 - 
get
public org.apache.spark.sql.catalyst.InternalRow get() - 
close
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Throws:
 IOException
 - 
getInputFile
 - 
constantsMap
 - 
convertConstant
 
 -