|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.metastore.api.StorageDescriptor
public class StorageDescriptor
Nested Class Summary | |
---|---|
static class |
StorageDescriptor._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<StorageDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
StorageDescriptor()
|
|
StorageDescriptor(List<FieldSchema> cols,
String location,
String inputFormat,
String outputFormat,
boolean compressed,
int numBuckets,
SerDeInfo serdeInfo,
List<String> bucketCols,
List<Order> sortCols,
Map<String,String> parameters)
|
|
StorageDescriptor(StorageDescriptor other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToBucketCols(String elem)
|
void |
addToCols(FieldSchema elem)
|
void |
addToSortCols(Order elem)
|
void |
clear()
|
int |
compareTo(StorageDescriptor other)
|
StorageDescriptor |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(StorageDescriptor that)
|
StorageDescriptor._Fields |
fieldForId(int fieldId)
|
List<String> |
getBucketCols()
|
Iterator<String> |
getBucketColsIterator()
|
int |
getBucketColsSize()
|
List<FieldSchema> |
getCols()
|
Iterator<FieldSchema> |
getColsIterator()
|
int |
getColsSize()
|
Object |
getFieldValue(StorageDescriptor._Fields field)
|
String |
getInputFormat()
|
String |
getLocation()
|
int |
getNumBuckets()
|
String |
getOutputFormat()
|
Map<String,String> |
getParameters()
|
int |
getParametersSize()
|
SerDeInfo |
getSerdeInfo()
|
List<Order> |
getSortCols()
|
Iterator<Order> |
getSortColsIterator()
|
int |
getSortColsSize()
|
int |
hashCode()
|
boolean |
isCompressed()
|
boolean |
isSet(StorageDescriptor._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetBucketCols()
Returns true if field bucketCols is set (has been assigned a value) and false otherwise |
boolean |
isSetCols()
Returns true if field cols is set (has been assigned a value) and false otherwise |
boolean |
isSetCompressed()
Returns true if field compressed is set (has been assigned a value) and false otherwise |
boolean |
isSetInputFormat()
Returns true if field inputFormat is set (has been assigned a value) and false otherwise |
boolean |
isSetLocation()
Returns true if field location is set (has been assigned a value) and false otherwise |
boolean |
isSetNumBuckets()
Returns true if field numBuckets is set (has been assigned a value) and false otherwise |
boolean |
isSetOutputFormat()
Returns true if field outputFormat is set (has been assigned a value) and false otherwise |
boolean |
isSetParameters()
Returns true if field parameters is set (has been assigned a value) and false otherwise |
boolean |
isSetSerdeInfo()
Returns true if field serdeInfo is set (has been assigned a value) and false otherwise |
boolean |
isSetSortCols()
Returns true if field sortCols is set (has been assigned a value) and false otherwise |
void |
putToParameters(String key,
String val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setBucketCols(List<String> bucketCols)
|
void |
setBucketColsIsSet(boolean value)
|
void |
setCols(List<FieldSchema> cols)
|
void |
setColsIsSet(boolean value)
|
void |
setCompressed(boolean compressed)
|
void |
setCompressedIsSet(boolean value)
|
void |
setFieldValue(StorageDescriptor._Fields field,
Object value)
|
void |
setInputFormat(String inputFormat)
|
void |
setInputFormatIsSet(boolean value)
|
void |
setLocation(String location)
|
void |
setLocationIsSet(boolean value)
|
void |
setNumBuckets(int numBuckets)
|
void |
setNumBucketsIsSet(boolean value)
|
void |
setOutputFormat(String outputFormat)
|
void |
setOutputFormatIsSet(boolean value)
|
void |
setParameters(Map<String,String> parameters)
|
void |
setParametersIsSet(boolean value)
|
void |
setSerdeInfo(SerDeInfo serdeInfo)
|
void |
setSerdeInfoIsSet(boolean value)
|
void |
setSortCols(List<Order> sortCols)
|
void |
setSortColsIsSet(boolean value)
|
String |
toString()
|
void |
unsetBucketCols()
|
void |
unsetCols()
|
void |
unsetCompressed()
|
void |
unsetInputFormat()
|
void |
unsetLocation()
|
void |
unsetNumBuckets()
|
void |
unsetOutputFormat()
|
void |
unsetParameters()
|
void |
unsetSerdeInfo()
|
void |
unsetSortCols()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Map<StorageDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public StorageDescriptor()
public StorageDescriptor(List<FieldSchema> cols, String location, String inputFormat, String outputFormat, boolean compressed, int numBuckets, SerDeInfo serdeInfo, List<String> bucketCols, List<Order> sortCols, Map<String,String> parameters)
public StorageDescriptor(StorageDescriptor other)
Method Detail |
---|
public StorageDescriptor deepCopy()
deepCopy
in interface org.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
public int getColsSize()
public Iterator<FieldSchema> getColsIterator()
public void addToCols(FieldSchema elem)
public List<FieldSchema> getCols()
public void setCols(List<FieldSchema> cols)
public void unsetCols()
public boolean isSetCols()
public void setColsIsSet(boolean value)
public String getLocation()
public void setLocation(String location)
public void unsetLocation()
public boolean isSetLocation()
public void setLocationIsSet(boolean value)
public String getInputFormat()
public void setInputFormat(String inputFormat)
public void unsetInputFormat()
public boolean isSetInputFormat()
public void setInputFormatIsSet(boolean value)
public String getOutputFormat()
public void setOutputFormat(String outputFormat)
public void unsetOutputFormat()
public boolean isSetOutputFormat()
public void setOutputFormatIsSet(boolean value)
public boolean isCompressed()
public void setCompressed(boolean compressed)
public void unsetCompressed()
public boolean isSetCompressed()
public void setCompressedIsSet(boolean value)
public int getNumBuckets()
public void setNumBuckets(int numBuckets)
public void unsetNumBuckets()
public boolean isSetNumBuckets()
public void setNumBucketsIsSet(boolean value)
public SerDeInfo getSerdeInfo()
public void setSerdeInfo(SerDeInfo serdeInfo)
public void unsetSerdeInfo()
public boolean isSetSerdeInfo()
public void setSerdeInfoIsSet(boolean value)
public int getBucketColsSize()
public Iterator<String> getBucketColsIterator()
public void addToBucketCols(String elem)
public List<String> getBucketCols()
public void setBucketCols(List<String> bucketCols)
public void unsetBucketCols()
public boolean isSetBucketCols()
public void setBucketColsIsSet(boolean value)
public int getSortColsSize()
public Iterator<Order> getSortColsIterator()
public void addToSortCols(Order elem)
public List<Order> getSortCols()
public void setSortCols(List<Order> sortCols)
public void unsetSortCols()
public boolean isSetSortCols()
public void setSortColsIsSet(boolean value)
public int getParametersSize()
public void putToParameters(String key, String val)
public Map<String,String> getParameters()
public void setParameters(Map<String,String> parameters)
public void unsetParameters()
public boolean isSetParameters()
public void setParametersIsSet(boolean value)
public void setFieldValue(StorageDescriptor._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
public Object getFieldValue(StorageDescriptor._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
public boolean isSet(StorageDescriptor._Fields field)
isSet
in interface org.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(StorageDescriptor that)
public int hashCode()
hashCode
in class Object
public int compareTo(StorageDescriptor other)
compareTo
in interface Comparable<StorageDescriptor>
public StorageDescriptor._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._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<StorageDescriptor,StorageDescriptor._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |