Package org.apache.iceberg.data
Class DeleteFilter<T>
java.lang.Object
org.apache.iceberg.data.DeleteFilter<T>
- Direct Known Subclasses:
GenericDeleteFilter
-
Constructor Summary
ModifierConstructorDescriptionprotected
DeleteFilter
(String filePath, List<DeleteFile> deletes, Schema tableSchema, Schema requestedSchema) protected
DeleteFilter
(String filePath, List<DeleteFile> deletes, Schema tableSchema, Schema requestedSchema, DeleteCounter counter) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StructLike
asStructLike
(T record) protected int
filter
(CloseableIterable<T> records) findEqualityDeleteRows
(CloseableIterable<T> records) protected abstract InputFile
getInputFile
(String location) boolean
boolean
void
protected InputFile
loadInputFile
(DeleteFile deleteFile) protected void
markRowDeleted
(T item) protected DeleteLoader
protected long
-
Constructor Details
-
DeleteFilter
protected DeleteFilter(String filePath, List<DeleteFile> deletes, Schema tableSchema, Schema requestedSchema, DeleteCounter counter) -
DeleteFilter
protected DeleteFilter(String filePath, List<DeleteFile> deletes, Schema tableSchema, Schema requestedSchema)
-
-
Method Details
-
columnIsDeletedPosition
protected int columnIsDeletedPosition() -
requiredSchema
-
hasPosDeletes
public boolean hasPosDeletes() -
hasEqDeletes
public boolean hasEqDeletes() -
incrementDeleteCount
public void incrementDeleteCount() -
asStructLike
-
getInputFile
-
loadInputFile
-
pos
-
newDeleteLoader
-
filter
-
findEqualityDeleteRows
-
markRowDeleted
-
eqDeletedRowFilter
-
deletedRowPositions
-