public class CommitMessageImpl extends Object implements CommitMessage
Constructor and Description |
---|
CommitMessageImpl(BinaryRow partition,
int bucket,
Integer totalBuckets,
DataIncrement dataIncrement,
CompactIncrement compactIncrement) |
CommitMessageImpl(BinaryRow partition,
int bucket,
Integer totalBuckets,
DataIncrement dataIncrement,
CompactIncrement compactIncrement,
IndexIncrement indexIncrement) |
Modifier and Type | Method and Description |
---|---|
int |
bucket()
Bucket of this commit message.
|
CompactIncrement |
compactIncrement() |
boolean |
equals(Object o) |
int |
hashCode() |
IndexIncrement |
indexIncrement() |
boolean |
isEmpty() |
DataIncrement |
newFilesIncrement() |
BinaryRow |
partition()
Partition of this commit message.
|
String |
toString() |
Integer |
totalBuckets()
Total number of buckets in this partition.
|
@VisibleForTesting public CommitMessageImpl(BinaryRow partition, int bucket, @Nullable Integer totalBuckets, DataIncrement dataIncrement, CompactIncrement compactIncrement)
public CommitMessageImpl(BinaryRow partition, int bucket, @Nullable Integer totalBuckets, DataIncrement dataIncrement, CompactIncrement compactIncrement, IndexIncrement indexIncrement)
public BinaryRow partition()
CommitMessage
partition
in interface CommitMessage
public int bucket()
CommitMessage
bucket
in interface CommitMessage
@Nullable public Integer totalBuckets()
CommitMessage
totalBuckets
in interface CommitMessage
public DataIncrement newFilesIncrement()
public CompactIncrement compactIncrement()
public IndexIncrement indexIncrement()
public boolean isEmpty()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.