Package io.trino.hive.thrift.metastore
Class StorageDescriptor
java.lang.Object
io.trino.hive.thrift.metastore.StorageDescriptor
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<StorageDescriptor>,org.apache.thrift.TBase<StorageDescriptor,,StorageDescriptor._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class StorageDescriptor
extends Object
implements org.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>, Serializable, Cloneable, Comparable<StorageDescriptor>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<StorageDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToBucketCols(String elem) voidaddToCols(FieldSchema elem) voidaddToSortCols(Order elem) voidclear()intcompareTo(StorageDescriptor other) deepCopy()booleanequals(StorageDescriptor that) booleanfieldForId(int fieldId) intgetCols()intintintintinthashCode()booleanbooleanisSet(StorageDescriptor._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field bucketCols is set (has been assigned a value) and false otherwisebooleanReturns true if field cols is set (has been assigned a value) and false otherwisebooleanReturns true if field compressed is set (has been assigned a value) and false otherwisebooleanReturns true if field inputFormat is set (has been assigned a value) and false otherwisebooleanReturns true if field location is set (has been assigned a value) and false otherwisebooleanReturns true if field numBuckets is set (has been assigned a value) and false otherwisebooleanReturns true if field outputFormat is set (has been assigned a value) and false otherwisebooleanReturns true if field parameters is set (has been assigned a value) and false otherwisebooleanReturns true if field serdeInfo is set (has been assigned a value) and false otherwisebooleanReturns true if field skewedInfo is set (has been assigned a value) and false otherwisebooleanReturns true if field sortCols is set (has been assigned a value) and false otherwisebooleanReturns true if field storedAsSubDirectories is set (has been assigned a value) and false otherwisebooleanvoidputToParameters(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) setBucketCols(List<String> bucketCols) voidsetBucketColsIsSet(boolean value) setCols(List<FieldSchema> cols) voidsetColsIsSet(boolean value) setCompressed(boolean compressed) voidsetCompressedIsSet(boolean value) voidsetFieldValue(StorageDescriptor._Fields field, Object value) setInputFormat(String inputFormat) voidsetInputFormatIsSet(boolean value) setLocation(String location) voidsetLocationIsSet(boolean value) setNumBuckets(int numBuckets) voidsetNumBucketsIsSet(boolean value) setOutputFormat(String outputFormat) voidsetOutputFormatIsSet(boolean value) setParameters(Map<String, String> parameters) voidsetParametersIsSet(boolean value) setSerdeInfo(SerDeInfo serdeInfo) voidsetSerdeInfoIsSet(boolean value) setSkewedInfo(SkewedInfo skewedInfo) voidsetSkewedInfoIsSet(boolean value) setSortCols(List<Order> sortCols) voidsetSortColsIsSet(boolean value) setStoredAsSubDirectories(boolean storedAsSubDirectories) voidsetStoredAsSubDirectoriesIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<StorageDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
StorageDescriptor
public StorageDescriptor() -
StorageDescriptor
-
StorageDescriptor
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
-
getColsSize
public int getColsSize() -
getColsIterator
-
addToCols
-
getCols
-
setCols
-
unsetCols
public void unsetCols() -
isSetCols
public boolean isSetCols()Returns true if field cols is set (has been assigned a value) and false otherwise -
setColsIsSet
public void setColsIsSet(boolean value) -
getLocation
-
setLocation
-
unsetLocation
public void unsetLocation() -
isSetLocation
public boolean isSetLocation()Returns true if field location is set (has been assigned a value) and false otherwise -
setLocationIsSet
public void setLocationIsSet(boolean value) -
getInputFormat
-
setInputFormat
-
unsetInputFormat
public void unsetInputFormat() -
isSetInputFormat
public boolean isSetInputFormat()Returns true if field inputFormat is set (has been assigned a value) and false otherwise -
setInputFormatIsSet
public void setInputFormatIsSet(boolean value) -
getOutputFormat
-
setOutputFormat
-
unsetOutputFormat
public void unsetOutputFormat() -
isSetOutputFormat
public boolean isSetOutputFormat()Returns true if field outputFormat is set (has been assigned a value) and false otherwise -
setOutputFormatIsSet
public void setOutputFormatIsSet(boolean value) -
isCompressed
public boolean isCompressed() -
setCompressed
-
unsetCompressed
public void unsetCompressed() -
isSetCompressed
public boolean isSetCompressed()Returns true if field compressed is set (has been assigned a value) and false otherwise -
setCompressedIsSet
public void setCompressedIsSet(boolean value) -
getNumBuckets
public int getNumBuckets() -
setNumBuckets
-
unsetNumBuckets
public void unsetNumBuckets() -
isSetNumBuckets
public boolean isSetNumBuckets()Returns true if field numBuckets is set (has been assigned a value) and false otherwise -
setNumBucketsIsSet
public void setNumBucketsIsSet(boolean value) -
getSerdeInfo
-
setSerdeInfo
-
unsetSerdeInfo
public void unsetSerdeInfo() -
isSetSerdeInfo
public boolean isSetSerdeInfo()Returns true if field serdeInfo is set (has been assigned a value) and false otherwise -
setSerdeInfoIsSet
public void setSerdeInfoIsSet(boolean value) -
getBucketColsSize
public int getBucketColsSize() -
getBucketColsIterator
-
addToBucketCols
-
getBucketCols
-
setBucketCols
-
unsetBucketCols
public void unsetBucketCols() -
isSetBucketCols
public boolean isSetBucketCols()Returns true if field bucketCols is set (has been assigned a value) and false otherwise -
setBucketColsIsSet
public void setBucketColsIsSet(boolean value) -
getSortColsSize
public int getSortColsSize() -
getSortColsIterator
-
addToSortCols
-
getSortCols
-
setSortCols
-
unsetSortCols
public void unsetSortCols() -
isSetSortCols
public boolean isSetSortCols()Returns true if field sortCols is set (has been assigned a value) and false otherwise -
setSortColsIsSet
public void setSortColsIsSet(boolean value) -
getParametersSize
public int getParametersSize() -
putToParameters
-
getParameters
-
setParameters
-
unsetParameters
public void unsetParameters() -
isSetParameters
public boolean isSetParameters()Returns true if field parameters is set (has been assigned a value) and false otherwise -
setParametersIsSet
public void setParametersIsSet(boolean value) -
getSkewedInfo
-
setSkewedInfo
-
unsetSkewedInfo
public void unsetSkewedInfo() -
isSetSkewedInfo
public boolean isSetSkewedInfo()Returns true if field skewedInfo is set (has been assigned a value) and false otherwise -
setSkewedInfoIsSet
public void setSkewedInfoIsSet(boolean value) -
isStoredAsSubDirectories
public boolean isStoredAsSubDirectories() -
setStoredAsSubDirectories
-
unsetStoredAsSubDirectories
public void unsetStoredAsSubDirectories() -
isSetStoredAsSubDirectories
public boolean isSetStoredAsSubDirectories()Returns true if field storedAsSubDirectories is set (has been assigned a value) and false otherwise -
setStoredAsSubDirectoriesIsSet
public void setStoredAsSubDirectoriesIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StorageDescriptor>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<StorageDescriptor,StorageDescriptor._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-