Package org.apache.orc.impl
Class ColumnStatisticsImpl.BinaryStatisticsImpl
java.lang.Object
org.apache.orc.impl.ColumnStatisticsImpl
org.apache.orc.impl.ColumnStatisticsImpl.BinaryStatisticsImpl
- All Implemented Interfaces:
BinaryColumnStatistics
,ColumnStatistics
- Enclosing class:
- ColumnStatisticsImpl
protected static final class ColumnStatisticsImpl.BinaryStatisticsImpl
extends ColumnStatisticsImpl
implements BinaryColumnStatistics
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.orc.impl.ColumnStatisticsImpl
ColumnStatisticsImpl.BinaryStatisticsImpl, ColumnStatisticsImpl.StringStatisticsImpl
-
Field Summary
Fields inherited from class org.apache.orc.impl.ColumnStatisticsImpl
count
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getSum()
int
hashCode()
void
merge
(ColumnStatisticsImpl other) void
reset()
toString()
void
updateBinary
(byte[] bytes, int offset, int length, int repetitions) void
updateBinary
(BytesWritable value) Methods inherited from class org.apache.orc.impl.ColumnStatisticsImpl
create, create, deserialize, deserialize, getBytesOnDisk, getNumberOfValues, hasNull, increment, increment, isStatsExists, setNull, updateBoolean, updateByteCount, updateCollectionLength, updateDate, updateDate, updateDecimal, updateDecimal64, updateDouble, updateInteger, updateString, updateString, updateTimestamp, updateTimestamp
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.orc.ColumnStatistics
getBytesOnDisk, getNumberOfValues, hasNull
-
Method Details
-
reset
public void reset()- Overrides:
reset
in classColumnStatisticsImpl
-
updateBinary
- Overrides:
updateBinary
in classColumnStatisticsImpl
-
updateBinary
public void updateBinary(byte[] bytes, int offset, int length, int repetitions) - Overrides:
updateBinary
in classColumnStatisticsImpl
-
merge
- Overrides:
merge
in classColumnStatisticsImpl
-
getSum
public long getSum()- Specified by:
getSum
in interfaceBinaryColumnStatistics
-
serialize
- Overrides:
serialize
in classColumnStatisticsImpl
-
toString
- Overrides:
toString
in classColumnStatisticsImpl
-
equals
- Overrides:
equals
in classColumnStatisticsImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classColumnStatisticsImpl
-