Package io.trino.hive.thrift.metastore
Class WMFullResourcePlan
java.lang.Object
io.trino.hive.thrift.metastore.WMFullResourcePlan
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<WMFullResourcePlan>,org.apache.thrift.TBase<WMFullResourcePlan,,WMFullResourcePlan._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class WMFullResourcePlan
extends Object
implements org.apache.thrift.TBase<WMFullResourcePlan,WMFullResourcePlan._Fields>, Serializable, Cloneable, Comparable<WMFullResourcePlan>
- 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<WMFullResourcePlan._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.WMFullResourcePlan(WMResourcePlan plan, List<WMPool> pools) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToMappings(WMMapping elem) voidaddToPools(WMPool elem) voidvoidaddToTriggers(WMTrigger elem) voidclear()intcompareTo(WMFullResourcePlan other) deepCopy()booleanequals(WMFullResourcePlan that) booleanfieldForId(int fieldId) intgetPlan()getPools()intintintinthashCode()booleanisSet(WMFullResourcePlan._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field mappings is set (has been assigned a value) and false otherwisebooleanReturns true if field plan is set (has been assigned a value) and false otherwisebooleanReturns true if field pools is set (has been assigned a value) and false otherwisebooleanReturns true if field poolTriggers is set (has been assigned a value) and false otherwisebooleanReturns true if field triggers is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(WMFullResourcePlan._Fields field, Object value) setMappings(List<WMMapping> mappings) voidsetMappingsIsSet(boolean value) setPlan(WMResourcePlan plan) voidsetPlanIsSet(boolean value) voidsetPoolsIsSet(boolean value) setPoolTriggers(List<WMPoolTrigger> poolTriggers) voidsetPoolTriggersIsSet(boolean value) setTriggers(List<WMTrigger> triggers) voidsetTriggersIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<WMFullResourcePlan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WMFullResourcePlan
public WMFullResourcePlan() -
WMFullResourcePlan
-
WMFullResourcePlan
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<WMFullResourcePlan,WMFullResourcePlan._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<WMFullResourcePlan,WMFullResourcePlan._Fields>
-
getPlan
-
setPlan
-
unsetPlan
public void unsetPlan() -
isSetPlan
public boolean isSetPlan()Returns true if field plan is set (has been assigned a value) and false otherwise -
setPlanIsSet
public void setPlanIsSet(boolean value) -
getPoolsSize
public int getPoolsSize() -
getPoolsIterator
-
addToPools
-
getPools
-
setPools
-
unsetPools
public void unsetPools() -
isSetPools
public boolean isSetPools()Returns true if field pools is set (has been assigned a value) and false otherwise -
setPoolsIsSet
public void setPoolsIsSet(boolean value) -
getMappingsSize
public int getMappingsSize() -
getMappingsIterator
-
addToMappings
-
getMappings
-
setMappings
-
unsetMappings
public void unsetMappings() -
isSetMappings
public boolean isSetMappings()Returns true if field mappings is set (has been assigned a value) and false otherwise -
setMappingsIsSet
public void setMappingsIsSet(boolean value) -
getTriggersSize
public int getTriggersSize() -
getTriggersIterator
-
addToTriggers
-
getTriggers
-
setTriggers
-
unsetTriggers
public void unsetTriggers() -
isSetTriggers
public boolean isSetTriggers()Returns true if field triggers is set (has been assigned a value) and false otherwise -
setTriggersIsSet
public void setTriggersIsSet(boolean value) -
getPoolTriggersSize
public int getPoolTriggersSize() -
getPoolTriggersIterator
-
addToPoolTriggers
-
getPoolTriggers
-
setPoolTriggers
-
unsetPoolTriggers
public void unsetPoolTriggers() -
isSetPoolTriggers
public boolean isSetPoolTriggers()Returns true if field poolTriggers is set (has been assigned a value) and false otherwise -
setPoolTriggersIsSet
public void setPoolTriggersIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<WMFullResourcePlan,WMFullResourcePlan._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<WMFullResourcePlan,WMFullResourcePlan._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<WMFullResourcePlan,WMFullResourcePlan._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<WMFullResourcePlan>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<WMFullResourcePlan,WMFullResourcePlan._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
-