@PublicEvolving public final class ColumnStats extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ColumnStats.Builder
ColumnStats builder.
|
| Constructor and Description |
|---|
ColumnStats(Long ndv,
Long nullCount,
Double avgLen,
Integer maxLen,
Number max,
Number min)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnStats |
copy()
Create a deep copy of "this" instance.
|
boolean |
equals(Object o) |
Double |
getAvgLen() |
Comparable<?> |
getMax()
Returns null if this instance is constructed by
ColumnStats(Long, Long, Double, Integer, Number, Number). |
Integer |
getMaxLen() |
Number |
getMaxValue()
Deprecated.
|
Comparable<?> |
getMin()
Returns null if this instance is constructed by
ColumnStats(Long, Long, Double, Integer, Number, Number). |
Number |
getMinValue()
Deprecated.
|
Long |
getNdv() |
Long |
getNullCount() |
int |
hashCode() |
ColumnStats |
merge(ColumnStats other)
Merges two column stats.
|
String |
toString() |
@Deprecated public ColumnStats(Long ndv, Long nullCount, Double avgLen, Integer maxLen, Number max, Number min)
Date, Timestamp.
please use ColumnStats.Builder to construct ColumnStats instance.public Long getNdv()
public Long getNullCount()
public Double getAvgLen()
public Integer getMaxLen()
@Deprecated public Number getMaxValue()
Date, Timestamp.
Returns null if this instance is constructed by ColumnStats.Builder.
public Comparable<?> getMax()
ColumnStats(Long, Long, Double, Integer, Number, Number).@Deprecated public Number getMinValue()
Date, Timestamp.
Returns null if this instance is constructed by ColumnStats.Builder.
public Comparable<?> getMin()
ColumnStats(Long, Long, Double, Integer, Number, Number).public ColumnStats copy()
public ColumnStats merge(ColumnStats other)
other - The other column stats to merge.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.