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,
Timestamp creationTime,
Long deleteRowCount,
byte[] embeddedIndex,
FileSource fileSource) |
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) |
Modifier and Type | Method and Description |
---|---|
Optional<Long> |
addRowCount() |
List<Path> |
collectFiles(DataFilePathFactory pathFactory) |
DataFileMeta |
copy(byte[] newEmbeddedIndex) |
DataFileMeta |
copy(List<String> newExtraFiles) |
Timestamp |
creationTime() |
long |
creationTimeEpochMillis() |
Optional<Long> |
deleteRowCount() |
byte[] |
embeddedIndex() |
boolean |
equals(Object o) |
List<String> |
extraFiles()
Usage:
Paimon 0.2
Stores changelog files for
CoreOptions.ChangelogProducer#INPUT . |
String |
fileFormat() |
String |
fileName() |
long |
fileSize() |
Optional<FileSource> |
fileSource() |
static DataFileMeta |
forAppend(String fileName,
long fileSize,
long rowCount,
SimpleStats rowStats,
long minSequenceNumber,
long maxSequenceNumber,
long schemaId,
FileSource fileSource) |
static DataFileMeta |
forAppend(String fileName,
long fileSize,
long rowCount,
SimpleStats rowStats,
long minSequenceNumber,
long maxSequenceNumber,
long schemaId,
List<String> extraFiles,
byte[] embeddedIndex,
FileSource fileSource) |
static long |
getMaxSequenceNumber(List<DataFileMeta> fileMetas) |
int |
hashCode() |
SimpleStats |
keyStats() |
int |
level() |
BinaryRow |
maxKey() |
long |
maxSequenceNumber() |
BinaryRow |
minKey() |
long |
minSequenceNumber() |
DataFileMeta |
rename(String newFileName) |
long |
rowCount() |
long |
schemaId() |
String |
toString() |
DataFileMeta |
upgrade(int newLevel) |
SimpleStats |
valueStats() |
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, @Nullable Long deleteRowCount, @Nullable byte[] embeddedIndex, @Nullable FileSource fileSource)
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)
public static DataFileMeta forAppend(String fileName, long fileSize, long rowCount, SimpleStats rowStats, long minSequenceNumber, long maxSequenceNumber, long schemaId, @Nullable FileSource fileSource)
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)
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.