Package io.trino.hive.thrift.metastore
Class PartitionSpecWithSharedSD
java.lang.Object
io.trino.hive.thrift.metastore.PartitionSpecWithSharedSD
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PartitionSpecWithSharedSD>,org.apache.thrift.TBase<PartitionSpecWithSharedSD,,PartitionSpecWithSharedSD._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class PartitionSpecWithSharedSD
extends Object
implements org.apache.thrift.TBase<PartitionSpecWithSharedSD,PartitionSpecWithSharedSD._Fields>, Serializable, Cloneable, Comparable<PartitionSpecWithSharedSD>
- 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<PartitionSpecWithSharedSD._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.PartitionSpecWithSharedSD(List<PartitionWithoutSD> partitions, StorageDescriptor sd) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intgetSd()inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field partitions is set (has been assigned a value) and false otherwisebooleanisSetSd()Returns true if field sd is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(PartitionSpecWithSharedSD._Fields field, Object value) setPartitions(List<PartitionWithoutSD> partitions) voidsetPartitionsIsSet(boolean value) voidsetSdIsSet(boolean value) toString()voidvoidunsetSd()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<PartitionSpecWithSharedSD._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PartitionSpecWithSharedSD
public PartitionSpecWithSharedSD() -
PartitionSpecWithSharedSD
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PartitionSpecWithSharedSD,PartitionSpecWithSharedSD._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PartitionSpecWithSharedSD,PartitionSpecWithSharedSD._Fields>
-
getPartitionsSize
public int getPartitionsSize() -
getPartitionsIterator
-
addToPartitions
-
getPartitions
-
setPartitions
-
unsetPartitions
public void unsetPartitions() -
isSetPartitions
public boolean isSetPartitions()Returns true if field partitions is set (has been assigned a value) and false otherwise -
setPartitionsIsSet
public void setPartitionsIsSet(boolean value) -
getSd
-
setSd
-
unsetSd
public void unsetSd() -
isSetSd
public boolean isSetSd()Returns true if field sd is set (has been assigned a value) and false otherwise -
setSdIsSet
public void setSdIsSet(boolean value) -
equals
-
hashCode
public int hashCode() -
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PartitionSpecWithSharedSD,PartitionSpecWithSharedSD._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
-