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
min and max value of the column, encoded in PLAIN encoding
|
static Map<Statistics._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
min |
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() |
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()
min and max value of the column, encoded in PLAIN encoding
|
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()
Returns true if field max 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(byte[] max)
min and max value of the column, encoded in PLAIN encoding
|
Statistics |
setMax(ByteBuffer max) |
void |
setMaxIsSet(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() |
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 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 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.TBase<Statistics,Statistics._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Statistics,Statistics._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015. All rights reserved.