public class HoodieColumnRangeMetadata<T extends Comparable> extends Object implements Serializable
Comparable is used as raw-type so that we can handle polymorphism, where
caller apriori is not aware of the type HoodieColumnRangeMetadata is
associated with| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<T>> |
create(String filePath,
String columnName,
T minValue,
T maxValue,
long nullCount,
long valueCount,
long totalSize,
long totalUncompressedSize) |
boolean |
equals(Object o) |
String |
getColumnName() |
String |
getFilePath() |
T |
getMaxValue() |
T |
getMinValue() |
long |
getNullCount() |
long |
getTotalSize() |
long |
getTotalUncompressedSize() |
long |
getValueCount() |
int |
hashCode() |
static HoodieColumnRangeMetadata<Comparable> |
merge(HoodieColumnRangeMetadata<Comparable> left,
HoodieColumnRangeMetadata<Comparable> right)
Merges the given two column range metadata.
|
static HoodieColumnRangeMetadata<Comparable> |
stub(String filePath,
String columnName) |
String |
toString() |
public String getFilePath()
public String getColumnName()
public long getNullCount()
public long getValueCount()
public long getTotalSize()
public long getTotalUncompressedSize()
public static <T extends Comparable<T>> HoodieColumnRangeMetadata<T> create(String filePath, String columnName, @Nullable T minValue, @Nullable T maxValue, long nullCount, long valueCount, long totalSize, long totalUncompressedSize)
public static HoodieColumnRangeMetadata<Comparable> stub(String filePath, String columnName)
public static HoodieColumnRangeMetadata<Comparable> merge(HoodieColumnRangeMetadata<Comparable> left, HoodieColumnRangeMetadata<Comparable> right)
Copyright © 2024 The Apache Software Foundation. All rights reserved.