Modifier and Type | Field and Description |
---|---|
static int |
DUMMY_LEVEL |
static BinaryRow |
EMPTY_MAX_KEY |
static BinaryRow |
EMPTY_MIN_KEY |
static RowType |
SCHEMA |
Constructor and Description |
---|
DataFileMeta(String fileName,
long fileSize,
long rowCount,
BinaryRow minKey,
BinaryRow maxKey,
SimpleStats keyStats,
SimpleStats valueStats,
long minSequenceNumber,
long maxSequenceNumber,
long schemaId,
int level,
List<String> extraFiles,
Long deleteRowCount,
byte[] embeddedIndex,
FileSource fileSource,
List<String> valueStatsCols) |
DataFileMeta(String fileName,
long fileSize,
long rowCount,
BinaryRow minKey,
BinaryRow maxKey,
SimpleStats keyStats,
SimpleStats valueStats,
long minSequenceNumber,
long maxSequenceNumber,
long schemaId,
int level,
List<String> extraFiles,
Timestamp creationTime,
Long deleteRowCount,
byte[] embeddedIndex,
FileSource fileSource,
List<String> valueStatsCols) |
DataFileMeta(String fileName,
long fileSize,
long rowCount,
BinaryRow minKey,
BinaryRow maxKey,
SimpleStats keyStats,
SimpleStats valueStats,
long minSequenceNumber,
long maxSequenceNumber,
long schemaId,
int level,
Long deleteRowCount,
byte[] embeddedIndex,
FileSource fileSource,
List<String> valueStatsCols) |
public static final RowType SCHEMA
public static final BinaryRow EMPTY_MIN_KEY
public static final BinaryRow EMPTY_MAX_KEY
public static final int DUMMY_LEVEL
public DataFileMeta(String fileName, long fileSize, long rowCount, BinaryRow minKey, BinaryRow maxKey, SimpleStats keyStats, SimpleStats valueStats, long minSequenceNumber, long maxSequenceNumber, long schemaId, int level, List<String> extraFiles, @Nullable Long deleteRowCount, @Nullable byte[] embeddedIndex, @Nullable FileSource fileSource, @Nullable List<String> valueStatsCols)
public DataFileMeta(String fileName, long fileSize, long rowCount, BinaryRow minKey, BinaryRow maxKey, SimpleStats keyStats, SimpleStats valueStats, long minSequenceNumber, long maxSequenceNumber, long schemaId, int level, @Nullable Long deleteRowCount, @Nullable byte[] embeddedIndex, @Nullable FileSource fileSource, @Nullable List<String> valueStatsCols)
public DataFileMeta(String fileName, long fileSize, long rowCount, BinaryRow minKey, BinaryRow maxKey, SimpleStats keyStats, SimpleStats valueStats, long minSequenceNumber, long maxSequenceNumber, long schemaId, int level, List<String> extraFiles, Timestamp creationTime, @Nullable Long deleteRowCount, @Nullable byte[] embeddedIndex, @Nullable FileSource fileSource, @Nullable List<String> valueStatsCols)
public static DataFileMeta forAppend(String fileName, long fileSize, long rowCount, SimpleStats rowStats, long minSequenceNumber, long maxSequenceNumber, long schemaId, List<String> extraFiles, @Nullable byte[] embeddedIndex, @Nullable FileSource fileSource, @Nullable List<String> valueStatsCols)
public String fileName()
public long fileSize()
public long rowCount()
public byte[] embeddedIndex()
public BinaryRow minKey()
public BinaryRow maxKey()
public SimpleStats keyStats()
public SimpleStats valueStats()
public long minSequenceNumber()
public long maxSequenceNumber()
public long schemaId()
public int level()
public List<String> extraFiles()
CoreOptions.ChangelogProducer#INPUT
. Changelog
files are moved to DataIncrement
since Paimon 0.3.
public Timestamp creationTime()
public long creationTimeEpochMillis()
public String fileFormat()
public Optional<FileSource> fileSource()
public DataFileMeta upgrade(int newLevel)
public DataFileMeta rename(String newFileName)
public List<Path> collectFiles(DataFilePathFactory pathFactory)
public DataFileMeta copy(List<String> newExtraFiles)
public DataFileMeta copy(byte[] newEmbeddedIndex)
public static long getMaxSequenceNumber(List<DataFileMeta> fileMetas)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.