public class SkewedInfo extends Object implements org.apache.thrift.TBase<SkewedInfo,SkewedInfo._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
SkewedInfo._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<SkewedInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SkewedInfo() |
SkewedInfo(List<String> skewedColNames,
List<List<String>> skewedColValues,
Map<List<String>,String> skewedColValueLocationMaps) |
SkewedInfo(SkewedInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToSkewedColNames(String elem) |
void |
addToSkewedColValues(List<String> elem) |
void |
clear() |
int |
compareTo(SkewedInfo other) |
SkewedInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SkewedInfo that) |
SkewedInfo._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(SkewedInfo._Fields field) |
List<String> |
getSkewedColNames() |
Iterator<String> |
getSkewedColNamesIterator() |
int |
getSkewedColNamesSize() |
Map<List<String>,String> |
getSkewedColValueLocationMaps() |
int |
getSkewedColValueLocationMapsSize() |
List<List<String>> |
getSkewedColValues() |
Iterator<List<String>> |
getSkewedColValuesIterator() |
int |
getSkewedColValuesSize() |
int |
hashCode() |
boolean |
isSet(SkewedInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetSkewedColNames()
Returns true if field skewedColNames is set (has been assigned a value) and false otherwise
|
boolean |
isSetSkewedColValueLocationMaps()
Returns true if field skewedColValueLocationMaps is set (has been assigned a value) and false otherwise
|
boolean |
isSetSkewedColValues()
Returns true if field skewedColValues is set (has been assigned a value) and false otherwise
|
void |
putToSkewedColValueLocationMaps(List<String> key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(SkewedInfo._Fields field,
Object value) |
void |
setSkewedColNames(List<String> skewedColNames) |
void |
setSkewedColNamesIsSet(boolean value) |
void |
setSkewedColValueLocationMaps(Map<List<String>,String> skewedColValueLocationMaps) |
void |
setSkewedColValueLocationMapsIsSet(boolean value) |
void |
setSkewedColValues(List<List<String>> skewedColValues) |
void |
setSkewedColValuesIsSet(boolean value) |
String |
toString() |
void |
unsetSkewedColNames() |
void |
unsetSkewedColValueLocationMaps() |
void |
unsetSkewedColValues() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<SkewedInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SkewedInfo()
public SkewedInfo(List<String> skewedColNames, List<List<String>> skewedColValues, Map<List<String>,String> skewedColValueLocationMaps)
public SkewedInfo(SkewedInfo other)
public SkewedInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<SkewedInfo,SkewedInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<SkewedInfo,SkewedInfo._Fields>
public int getSkewedColNamesSize()
public void addToSkewedColNames(String elem)
public void unsetSkewedColNames()
public boolean isSetSkewedColNames()
public void setSkewedColNamesIsSet(boolean value)
public int getSkewedColValuesSize()
public void unsetSkewedColValues()
public boolean isSetSkewedColValues()
public void setSkewedColValuesIsSet(boolean value)
public int getSkewedColValueLocationMapsSize()
public void putToSkewedColValueLocationMaps(List<String> key, String val)
public void setSkewedColValueLocationMaps(Map<List<String>,String> skewedColValueLocationMaps)
public void unsetSkewedColValueLocationMaps()
public boolean isSetSkewedColValueLocationMaps()
public void setSkewedColValueLocationMapsIsSet(boolean value)
public void setFieldValue(SkewedInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SkewedInfo,SkewedInfo._Fields>
public Object getFieldValue(SkewedInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<SkewedInfo,SkewedInfo._Fields>
public boolean isSet(SkewedInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<SkewedInfo,SkewedInfo._Fields>
public boolean equals(SkewedInfo that)
public int compareTo(SkewedInfo other)
compareTo
in interface Comparable<SkewedInfo>
public SkewedInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<SkewedInfo,SkewedInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<SkewedInfo,SkewedInfo._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<SkewedInfo,SkewedInfo._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.