@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class WMResourcePlan extends Object implements org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>, Serializable, Cloneable, Comparable<WMResourcePlan>
Modifier and Type | Class and Description |
---|---|
static class |
WMResourcePlan._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<WMResourcePlan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
WMResourcePlan() |
WMResourcePlan(String name) |
WMResourcePlan(WMResourcePlan other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(WMResourcePlan other) |
WMResourcePlan |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WMResourcePlan that) |
WMResourcePlan._Fields |
fieldForId(int fieldId) |
String |
getDefaultPoolPath() |
Object |
getFieldValue(WMResourcePlan._Fields field) |
String |
getName() |
int |
getQueryParallelism() |
WMResourcePlanStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(WMResourcePlan._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDefaultPoolPath()
Returns true if field defaultPoolPath is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetQueryParallelism()
Returns true if field queryParallelism is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDefaultPoolPath(String defaultPoolPath) |
void |
setDefaultPoolPathIsSet(boolean value) |
void |
setFieldValue(WMResourcePlan._Fields field,
Object value) |
void |
setName(String name) |
void |
setNameIsSet(boolean value) |
void |
setQueryParallelism(int queryParallelism) |
void |
setQueryParallelismIsSet(boolean value) |
void |
setStatus(WMResourcePlanStatus status) |
void |
setStatusIsSet(boolean value) |
String |
toString() |
void |
unsetDefaultPoolPath() |
void |
unsetName() |
void |
unsetQueryParallelism() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<WMResourcePlan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WMResourcePlan()
public WMResourcePlan(String name)
public WMResourcePlan(WMResourcePlan other)
public WMResourcePlan deepCopy()
deepCopy
in interface org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>
public String getName()
public void setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public WMResourcePlanStatus getStatus()
WMResourcePlanStatus
public void setStatus(WMResourcePlanStatus status)
WMResourcePlanStatus
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public int getQueryParallelism()
public void setQueryParallelism(int queryParallelism)
public void unsetQueryParallelism()
public boolean isSetQueryParallelism()
public void setQueryParallelismIsSet(boolean value)
public String getDefaultPoolPath()
public void setDefaultPoolPath(String defaultPoolPath)
public void unsetDefaultPoolPath()
public boolean isSetDefaultPoolPath()
public void setDefaultPoolPathIsSet(boolean value)
public void setFieldValue(WMResourcePlan._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>
public Object getFieldValue(WMResourcePlan._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>
public boolean isSet(WMResourcePlan._Fields field)
isSet
in interface org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>
public boolean equals(WMResourcePlan that)
public int compareTo(WMResourcePlan other)
compareTo
in interface Comparable<WMResourcePlan>
public WMResourcePlan._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._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<WMResourcePlan,WMResourcePlan._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.