public class StringColumnStatsData extends Object implements org.apache.thrift.TBase<StringColumnStatsData,StringColumnStatsData._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
StringColumnStatsData._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<StringColumnStatsData._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
StringColumnStatsData() |
StringColumnStatsData(long maxColLen,
double avgColLen,
long numNulls,
long numDVs) |
StringColumnStatsData(StringColumnStatsData other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(StringColumnStatsData other) |
StringColumnStatsData |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(StringColumnStatsData that) |
StringColumnStatsData._Fields |
fieldForId(int fieldId) |
double |
getAvgColLen() |
Object |
getFieldValue(StringColumnStatsData._Fields field) |
long |
getMaxColLen() |
long |
getNumDVs() |
long |
getNumNulls() |
int |
hashCode() |
boolean |
isSet(StringColumnStatsData._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAvgColLen()
Returns true if field avgColLen is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxColLen()
Returns true if field maxColLen is set (has been assigned a value) and false otherwise
|
boolean |
isSetNumDVs()
Returns true if field numDVs is set (has been assigned a value) and false otherwise
|
boolean |
isSetNumNulls()
Returns true if field numNulls is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setAvgColLen(double avgColLen) |
void |
setAvgColLenIsSet(boolean value) |
void |
setFieldValue(StringColumnStatsData._Fields field,
Object value) |
void |
setMaxColLen(long maxColLen) |
void |
setMaxColLenIsSet(boolean value) |
void |
setNumDVs(long numDVs) |
void |
setNumDVsIsSet(boolean value) |
void |
setNumNulls(long numNulls) |
void |
setNumNullsIsSet(boolean value) |
String |
toString() |
void |
unsetAvgColLen() |
void |
unsetMaxColLen() |
void |
unsetNumDVs() |
void |
unsetNumNulls() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<StringColumnStatsData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public StringColumnStatsData()
public StringColumnStatsData(long maxColLen, double avgColLen, long numNulls, long numDVs)
public StringColumnStatsData(StringColumnStatsData other)
public StringColumnStatsData deepCopy()
deepCopy
in interface org.apache.thrift.TBase<StringColumnStatsData,StringColumnStatsData._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<StringColumnStatsData,StringColumnStatsData._Fields>
public long getMaxColLen()
public void setMaxColLen(long maxColLen)
public void unsetMaxColLen()
public boolean isSetMaxColLen()
public void setMaxColLenIsSet(boolean value)
public double getAvgColLen()
public void setAvgColLen(double avgColLen)
public void unsetAvgColLen()
public boolean isSetAvgColLen()
public void setAvgColLenIsSet(boolean value)
public long getNumNulls()
public void setNumNulls(long numNulls)
public void unsetNumNulls()
public boolean isSetNumNulls()
public void setNumNullsIsSet(boolean value)
public long getNumDVs()
public void setNumDVs(long numDVs)
public void unsetNumDVs()
public boolean isSetNumDVs()
public void setNumDVsIsSet(boolean value)
public void setFieldValue(StringColumnStatsData._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<StringColumnStatsData,StringColumnStatsData._Fields>
public Object getFieldValue(StringColumnStatsData._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<StringColumnStatsData,StringColumnStatsData._Fields>
public boolean isSet(StringColumnStatsData._Fields field)
isSet
in interface org.apache.thrift.TBase<StringColumnStatsData,StringColumnStatsData._Fields>
public boolean equals(StringColumnStatsData that)
public int compareTo(StringColumnStatsData other)
compareTo
in interface Comparable<StringColumnStatsData>
public StringColumnStatsData._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<StringColumnStatsData,StringColumnStatsData._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<StringColumnStatsData,StringColumnStatsData._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<StringColumnStatsData,StringColumnStatsData._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.