@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2024-09-20") public class Statistics extends Object implements org.apache.thrift.TBase<Statistics,Statistics._Fields>, Serializable, Cloneable, Comparable<Statistics>
Modifier and Type | Class and Description |
---|---|
static class |
Statistics._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
distinct_count
count of distinct values occurring
|
ByteBuffer |
max
DEPRECATED: min and max value of the column.
|
ByteBuffer |
max_value
Min and max values for the column, determined by its ColumnOrder.
|
static Map<Statistics._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
min |
ByteBuffer |
min_value |
long |
null_count
count of null value in the column
|
Constructor and Description |
---|
Statistics() |
Statistics(Statistics other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForMax_value() |
ByteBuffer |
bufferForMax() |
ByteBuffer |
bufferForMin_value() |
ByteBuffer |
bufferForMin() |
void |
clear() |
int |
compareTo(Statistics other) |
Statistics |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Statistics that) |
Statistics._Fields |
fieldForId(int fieldId) |
long |
getDistinct_count()
count of distinct values occurring
|
Object |
getFieldValue(Statistics._Fields field) |
byte[] |
getMax_value()
Min and max values for the column, determined by its ColumnOrder.
|
byte[] |
getMax()
DEPRECATED: min and max value of the column.
|
byte[] |
getMin_value() |
byte[] |
getMin() |
long |
getNull_count()
count of null value in the column
|
int |
hashCode() |
boolean |
isSet(Statistics._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDistinct_count()
Returns true if field distinct_count is set (has been assigned a value) and false otherwise
|
boolean |
isSetMax_value()
Returns true if field max_value is set (has been assigned a value) and false otherwise
|
boolean |
isSetMax()
Returns true if field max is set (has been assigned a value) and false otherwise
|
boolean |
isSetMin_value()
Returns true if field min_value is set (has been assigned a value) and false otherwise
|
boolean |
isSetMin()
Returns true if field min is set (has been assigned a value) and false otherwise
|
boolean |
isSetNull_count()
Returns true if field null_count is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Statistics |
setDistinct_count(long distinct_count)
count of distinct values occurring
|
void |
setDistinct_countIsSet(boolean value) |
void |
setFieldValue(Statistics._Fields field,
Object value) |
Statistics |
setMax_value(byte[] max_value)
Min and max values for the column, determined by its ColumnOrder.
|
Statistics |
setMax_value(ByteBuffer max_value) |
void |
setMax_valueIsSet(boolean value) |
Statistics |
setMax(byte[] max)
DEPRECATED: min and max value of the column.
|
Statistics |
setMax(ByteBuffer max) |
void |
setMaxIsSet(boolean value) |
Statistics |
setMin_value(byte[] min_value) |
Statistics |
setMin_value(ByteBuffer min_value) |
void |
setMin_valueIsSet(boolean value) |
Statistics |
setMin(byte[] min) |
Statistics |
setMin(ByteBuffer min) |
void |
setMinIsSet(boolean value) |
Statistics |
setNull_count(long null_count)
count of null value in the column
|
void |
setNull_countIsSet(boolean value) |
String |
toString() |
void |
unsetDistinct_count() |
void |
unsetMax_value() |
void |
unsetMax() |
void |
unsetMin_value() |
void |
unsetMin() |
void |
unsetNull_count() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer max
public ByteBuffer min
public long null_count
public long distinct_count
public ByteBuffer max_value
public ByteBuffer min_value
public static final Map<Statistics._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Statistics()
public Statistics(Statistics other)
public Statistics deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Statistics,Statistics._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Statistics,Statistics._Fields>
public byte[] getMax()
public ByteBuffer bufferForMax()
public Statistics setMax(byte[] max)
public Statistics setMax(ByteBuffer max)
public void unsetMax()
public boolean isSetMax()
public void setMaxIsSet(boolean value)
public byte[] getMin()
public ByteBuffer bufferForMin()
public Statistics setMin(byte[] min)
public Statistics setMin(ByteBuffer min)
public void unsetMin()
public boolean isSetMin()
public void setMinIsSet(boolean value)
public long getNull_count()
public Statistics setNull_count(long null_count)
public void unsetNull_count()
public boolean isSetNull_count()
public void setNull_countIsSet(boolean value)
public long getDistinct_count()
public Statistics setDistinct_count(long distinct_count)
public void unsetDistinct_count()
public boolean isSetDistinct_count()
public void setDistinct_countIsSet(boolean value)
public byte[] getMax_value()
public ByteBuffer bufferForMax_value()
public Statistics setMax_value(byte[] max_value)
public Statistics setMax_value(ByteBuffer max_value)
public void unsetMax_value()
public boolean isSetMax_value()
public void setMax_valueIsSet(boolean value)
public byte[] getMin_value()
public ByteBuffer bufferForMin_value()
public Statistics setMin_value(byte[] min_value)
public Statistics setMin_value(ByteBuffer min_value)
public void unsetMin_value()
public boolean isSetMin_value()
public void setMin_valueIsSet(boolean value)
public void setFieldValue(Statistics._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Statistics,Statistics._Fields>
public Object getFieldValue(Statistics._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Statistics,Statistics._Fields>
public boolean isSet(Statistics._Fields field)
isSet
in interface org.apache.thrift.TBase<Statistics,Statistics._Fields>
public boolean equals(Statistics that)
public int compareTo(Statistics other)
compareTo
in interface Comparable<Statistics>
public Statistics._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Statistics,Statistics._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2024 The Apache Software Foundation. All rights reserved.