@PublicEvolving public final class ColumnStats extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ColumnStats.Builder
ColumnStats builder.
|
| 构造器和说明 |
|---|
ColumnStats(Long ndv,
Long nullCount,
Double avgLen,
Integer maxLen,
Number max,
Number min)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
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()
已过时。
|
Comparable<?> |
getMin()
Returns null if this instance is constructed by
ColumnStats(Long, Long,
Double, Integer, Number, Number). |
Number |
getMinValue()
已过时。
|
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–2021 The Apache Software Foundation. All rights reserved.