public abstract class DeleteFilter<T>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
DeleteFilter(FileScanTask task,
Schema tableSchema,
Schema requestedSchema) |
Modifier and Type | Method and Description |
---|---|
protected abstract StructLike |
asStructLike(T record) |
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() |
protected long |
pos(T record) |
Schema |
requiredSchema() |
protected DeleteFilter(FileScanTask task, Schema tableSchema, Schema requestedSchema)
public Schema requiredSchema()
public boolean hasPosDeletes()
public boolean hasEqDeletes()
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)
public java.util.function.Predicate<T> eqDeletedRowFilter()
public PositionDeleteIndex deletedRowPositions()