protected static final class ColumnStatisticsImpl.StringStatisticsImpl extends ColumnStatisticsImpl implements StringColumnStatistics
ColumnStatisticsImpl.BinaryStatisticsImpl, ColumnStatisticsImpl.StringStatisticsImpl
Modifier and Type | Field and Description |
---|---|
static int |
MAX_BYTES_RECORDED |
count
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getLowerBound()
Get the string with
length = Min(StringStatisticsImpl.MAX_BYTES_RECORDED, getMinimum())
|
String |
getMaximum()
Get the maximum string.
|
String |
getMinimum()
Get the minimum string.
|
long |
getSum()
Get the total length of all strings
|
String |
getUpperBound()
Get the string with
length = Min(StringStatisticsImpl.MAX_BYTES_RECORDED, getMaximum())
|
int |
hashCode() |
void |
merge(ColumnStatisticsImpl other) |
void |
reset() |
OrcProto.ColumnStatistics.Builder |
serialize() |
String |
toString() |
void |
updateString(byte[] bytes,
int offset,
int length,
int repetitions) |
void |
updateString(Text value) |
create, create, deserialize, deserialize, getBytesOnDisk, getNumberOfValues, hasNull, increment, increment, isStatsExists, setNull, updateBinary, updateBinary, updateBoolean, updateByteCount, updateCollectionLength, updateDate, updateDate, updateDecimal, updateDecimal64, updateDouble, updateInteger, updateTimestamp, updateTimestamp
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBytesOnDisk, getNumberOfValues, hasNull
public static final int MAX_BYTES_RECORDED
public void reset()
reset
in class ColumnStatisticsImpl
public void updateString(Text value)
updateString
in class ColumnStatisticsImpl
public void updateString(byte[] bytes, int offset, int length, int repetitions)
updateString
in class ColumnStatisticsImpl
public void merge(ColumnStatisticsImpl other)
merge
in class ColumnStatisticsImpl
public OrcProto.ColumnStatistics.Builder serialize()
serialize
in class ColumnStatisticsImpl
public String getMinimum()
StringColumnStatistics
getMinimum
in interface StringColumnStatistics
public String getMaximum()
StringColumnStatistics
getMaximum
in interface StringColumnStatistics
public String getLowerBound()
getLowerBound
in interface StringColumnStatistics
public String getUpperBound()
getUpperBound
in interface StringColumnStatistics
public long getSum()
StringColumnStatistics
getSum
in interface StringColumnStatistics
public String toString()
toString
in class ColumnStatisticsImpl
public boolean equals(Object o)
equals
in class ColumnStatisticsImpl
public int hashCode()
hashCode
in class ColumnStatisticsImpl
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.