public class RecordLevelExpire extends Object
RecordReader
expires records by time.Modifier and Type | Method and Description |
---|---|
static RecordLevelExpire |
create(CoreOptions options,
TableSchema schema,
SchemaManager schemaManager) |
static java.util.function.Function<InternalRow,Optional<Long>> |
createFieldGetterAndConvertToSecond(DataType dataType,
int fieldIndex) |
boolean |
isExpireFile(DataFileMeta file) |
FileReaderFactory<KeyValue> |
wrap(FileReaderFactory<KeyValue> readerFactory) |
@Nullable public static RecordLevelExpire create(CoreOptions options, TableSchema schema, SchemaManager schemaManager)
public boolean isExpireFile(DataFileMeta file)
public FileReaderFactory<KeyValue> wrap(FileReaderFactory<KeyValue> readerFactory)
@VisibleForTesting public static java.util.function.Function<InternalRow,Optional<Long>> createFieldGetterAndConvertToSecond(DataType dataType, int fieldIndex)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.