Package org.apache.iceberg.spark.source
Class EqualityDeleteRowReader
- java.lang.Object
-
- org.apache.iceberg.spark.source.EqualityDeleteRowReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class EqualityDeleteRowReader extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EqualityDeleteRowReader(CombinedScanTask task, Table table, Schema expectedSchema, boolean caseSensitive)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected java.util.Map<java.lang.Integer,?>constantsMap(FileScanTask task, Schema readSchema)protected static java.lang.ObjectconvertConstant(Type type, java.lang.Object value)Tget()protected InputFilegetInputFile(java.lang.String location)protected InputFilegetInputFile(FileScanTask task)booleannext()protected CloseableIterable<org.apache.spark.sql.catalyst.InternalRow>open(FileScanTask task, Schema readSchema, java.util.Map<java.lang.Integer,?> idToConstant)protected Tabletable()protected SchematableSchema()
-
-
-
Constructor Detail
-
EqualityDeleteRowReader
public EqualityDeleteRowReader(CombinedScanTask task, Table table, Schema expectedSchema, boolean caseSensitive)
-
-
Method Detail
-
tableSchema
protected Schema tableSchema()
-
open
protected CloseableIterable<org.apache.spark.sql.catalyst.InternalRow> open(FileScanTask task, Schema readSchema, java.util.Map<java.lang.Integer,?> idToConstant)
-
table
protected Table table()
-
next
public boolean next() throws java.io.IOException- Throws:
java.io.IOException
-
get
public T get()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
getInputFile
protected InputFile getInputFile(FileScanTask task)
-
getInputFile
protected InputFile getInputFile(java.lang.String location)
-
constantsMap
protected java.util.Map<java.lang.Integer,?> constantsMap(FileScanTask task, Schema readSchema)
-
convertConstant
protected static java.lang.Object convertConstant(Type type, java.lang.Object value)
-
-