public class Deletes
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static CloseableIterable<java.lang.Long> |
deletePositions(java.lang.CharSequence dataLocation,
CloseableIterable<StructLike> deleteFile) |
static <T extends StructLike> |
deletePositions(java.lang.CharSequence dataLocation,
java.util.List<CloseableIterable<T>> deleteFiles) |
static <T> CloseableIterable<T> |
filter(CloseableIterable<T> rows,
java.util.function.Function<T,java.lang.Long> rowToPosition,
java.util.Set<java.lang.Long> deleteSet) |
static <T> CloseableIterable<T> |
filter(CloseableIterable<T> rows,
java.util.function.Function<T,StructLike> rowToDeleteKey,
StructLikeSet deleteSet) |
static <T> CloseableIterable<T> |
streamingFilter(CloseableIterable<T> rows,
java.util.function.Function<T,java.lang.Long> rowToPosition,
CloseableIterable<java.lang.Long> posDeletes) |
static StructLikeSet |
toEqualitySet(CloseableIterable<StructLike> eqDeletes,
Types.StructType eqType) |
static java.util.Set<java.lang.Long> |
toPositionSet(java.lang.CharSequence dataLocation,
CloseableIterable<? extends StructLike> deleteFile) |
static <T extends StructLike> |
toPositionSet(java.lang.CharSequence dataLocation,
java.util.List<CloseableIterable<T>> deleteFiles) |
static java.util.Set<java.lang.Long> |
toPositionSet(CloseableIterable<java.lang.Long> posDeletes) |
public static <T> CloseableIterable<T> filter(CloseableIterable<T> rows, java.util.function.Function<T,StructLike> rowToDeleteKey, StructLikeSet deleteSet)
public static <T> CloseableIterable<T> filter(CloseableIterable<T> rows, java.util.function.Function<T,java.lang.Long> rowToPosition, java.util.Set<java.lang.Long> deleteSet)
public static StructLikeSet toEqualitySet(CloseableIterable<StructLike> eqDeletes, Types.StructType eqType)
public static java.util.Set<java.lang.Long> toPositionSet(java.lang.CharSequence dataLocation, CloseableIterable<? extends StructLike> deleteFile)
public static <T extends StructLike> java.util.Set<java.lang.Long> toPositionSet(java.lang.CharSequence dataLocation, java.util.List<CloseableIterable<T>> deleteFiles)
public static java.util.Set<java.lang.Long> toPositionSet(CloseableIterable<java.lang.Long> posDeletes)
public static <T> CloseableIterable<T> streamingFilter(CloseableIterable<T> rows, java.util.function.Function<T,java.lang.Long> rowToPosition, CloseableIterable<java.lang.Long> posDeletes)
public static CloseableIterable<java.lang.Long> deletePositions(java.lang.CharSequence dataLocation, CloseableIterable<StructLike> deleteFile)
public static <T extends StructLike> CloseableIterable<java.lang.Long> deletePositions(java.lang.CharSequence dataLocation, java.util.List<CloseableIterable<T>> deleteFiles)