T
- col internal data type@Experimental public class ColStats<T> extends Object
Constructor and Description |
---|
ColStats(int colId,
Long distinctCount,
String serializedMin,
String serializedMax,
Long nullCount,
Long avgLen,
Long maxLen) |
Modifier and Type | Method and Description |
---|---|
OptionalLong |
avgLen() |
int |
colId() |
void |
deserializeFieldsFromString(DataType dataType) |
OptionalLong |
distinctCount() |
boolean |
equals(Object o) |
int |
hashCode() |
Optional<Comparable<T>> |
max() |
OptionalLong |
maxLen() |
Optional<Comparable<T>> |
min() |
static <T> ColStats<T> |
newColStats(int colId,
Long distinctCount,
Comparable<T> min,
Comparable<T> max,
Long nullCount,
Long avgLen,
Long maxLen) |
OptionalLong |
nullCount() |
void |
serializeFieldsToString(DataType dataType) |
String |
toString() |
public static <T> ColStats<T> newColStats(int colId, @Nullable Long distinctCount, @Nullable Comparable<T> min, @Nullable Comparable<T> max, @Nullable Long nullCount, @Nullable Long avgLen, @Nullable Long maxLen)
public int colId()
public OptionalLong distinctCount()
public Optional<Comparable<T>> min()
public Optional<Comparable<T>> max()
public OptionalLong nullCount()
public OptionalLong avgLen()
public OptionalLong maxLen()
public void serializeFieldsToString(DataType dataType)
public void deserializeFieldsFromString(DataType dataType)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.