public abstract class DeleteFilter<T>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
DeleteFilter(java.lang.String filePath,
java.util.List<DeleteFile> deletes,
Schema tableSchema,
Schema requestedSchema) |
protected |
DeleteFilter(java.lang.String filePath,
java.util.List<DeleteFile> deletes,
Schema tableSchema,
Schema requestedSchema,
DeleteCounter counter) |
Modifier and Type | Method and Description |
---|---|
protected abstract StructLike |
asStructLike(T record) |
protected int |
columnIsDeletedPosition() |
PositionDeleteIndex |
deletedRowPositions() |
java.util.function.Predicate<T> |
eqDeletedRowFilter() |
CloseableIterable<T> |
filter(CloseableIterable<T> records) |
CloseableIterable<T> |
findEqualityDeleteRows(CloseableIterable<T> records) |
protected abstract InputFile |
getInputFile(java.lang.String location) |
boolean |
hasEqDeletes() |
boolean |
hasPosDeletes() |
void |
incrementDeleteCount() |
protected void |
markRowDeleted(T item) |
protected long |
pos(T record) |
Schema |
requiredSchema() |
protected DeleteFilter(java.lang.String filePath, java.util.List<DeleteFile> deletes, Schema tableSchema, Schema requestedSchema, DeleteCounter counter)
protected DeleteFilter(java.lang.String filePath, java.util.List<DeleteFile> deletes, Schema tableSchema, Schema requestedSchema)
protected int columnIsDeletedPosition()
public Schema requiredSchema()
public boolean hasPosDeletes()
public boolean hasEqDeletes()
public void incrementDeleteCount()
protected abstract StructLike asStructLike(T record)
protected abstract InputFile getInputFile(java.lang.String location)
protected long pos(T record)
public CloseableIterable<T> filter(CloseableIterable<T> records)
public CloseableIterable<T> findEqualityDeleteRows(CloseableIterable<T> records)
protected void markRowDeleted(T item)
public java.util.function.Predicate<T> eqDeletedRowFilter()
public PositionDeleteIndex deletedRowPositions()