org.apache.hadoop.hive.metastore.api
Class StorageDescriptor
java.lang.Object
org.apache.hadoop.hive.metastore.api.StorageDescriptor
- All Implemented Interfaces:
- com.facebook.thrift.TBase, Serializable
public class StorageDescriptor
- extends Object
- implements com.facebook.thrift.TBase, Serializable
- See Also:
- Serialized Form
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)
|
__isset
public final StorageDescriptor.Isset __isset
StorageDescriptor
public StorageDescriptor()
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)
getColsSize
public int getColsSize()
getColsIterator
public Iterator<FieldSchema> getColsIterator()
addToCols
public void addToCols(FieldSchema elem)
getCols
public List<FieldSchema> getCols()
setCols
public void setCols(List<FieldSchema> cols)
unsetCols
public void unsetCols()
getLocation
public String getLocation()
setLocation
public void setLocation(String location)
unsetLocation
public void unsetLocation()
getInputFormat
public String getInputFormat()
setInputFormat
public void setInputFormat(String inputFormat)
unsetInputFormat
public void unsetInputFormat()
getOutputFormat
public String getOutputFormat()
setOutputFormat
public void setOutputFormat(String outputFormat)
unsetOutputFormat
public void unsetOutputFormat()
isCompressed
public boolean isCompressed()
setCompressed
public void setCompressed(boolean compressed)
unsetCompressed
public void unsetCompressed()
getNumBuckets
public int getNumBuckets()
setNumBuckets
public void setNumBuckets(int numBuckets)
unsetNumBuckets
public void unsetNumBuckets()
getSerdeInfo
public SerDeInfo getSerdeInfo()
setSerdeInfo
public void setSerdeInfo(SerDeInfo serdeInfo)
unsetSerdeInfo
public void unsetSerdeInfo()
getBucketColsSize
public int getBucketColsSize()
getBucketColsIterator
public Iterator<String> getBucketColsIterator()
addToBucketCols
public void addToBucketCols(String elem)
getBucketCols
public List<String> getBucketCols()
setBucketCols
public void setBucketCols(List<String> bucketCols)
unsetBucketCols
public void unsetBucketCols()
getSortColsSize
public int getSortColsSize()
getSortColsIterator
public Iterator<Order> getSortColsIterator()
addToSortCols
public void addToSortCols(Order elem)
getSortCols
public List<Order> getSortCols()
setSortCols
public void setSortCols(List<Order> sortCols)
unsetSortCols
public void unsetSortCols()
getParametersSize
public int getParametersSize()
putToParameters
public void putToParameters(String key,
String val)
getParameters
public Map<String,String> getParameters()
setParameters
public void setParameters(Map<String,String> parameters)
unsetParameters
public void unsetParameters()
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(StorageDescriptor that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
read
public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
- Specified by:
read
in interface com.facebook.thrift.TBase
- Throws:
com.facebook.thrift.TException
write
public void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
- Specified by:
write
in interface com.facebook.thrift.TBase
- Throws:
com.facebook.thrift.TException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 The Apache Software Foundation