@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class WMResourcePlan extends java.lang.Object implements org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.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 java.util.Map<WMResourcePlan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
WMResourcePlan() |
WMResourcePlan(java.lang.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(java.lang.Object that) |
boolean |
equals(WMResourcePlan that) |
WMResourcePlan._Fields |
fieldForId(int fieldId) |
java.lang.String |
getDefaultPoolPath() |
java.lang.Object |
getFieldValue(WMResourcePlan._Fields field) |
java.lang.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(java.lang.String defaultPoolPath) |
void |
setDefaultPoolPathIsSet(boolean value) |
void |
setFieldValue(WMResourcePlan._Fields field,
java.lang.Object value) |
void |
setName(java.lang.String name) |
void |
setNameIsSet(boolean value) |
void |
setQueryParallelism(int queryParallelism) |
void |
setQueryParallelismIsSet(boolean value) |
void |
setStatus(WMResourcePlanStatus status) |
void |
setStatusIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDefaultPoolPath() |
void |
unsetName() |
void |
unsetQueryParallelism() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<WMResourcePlan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WMResourcePlan()
public WMResourcePlan(java.lang.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 java.lang.String getName()
public void setName(java.lang.String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public WMResourcePlanStatus getStatus()
WMResourcePlanStatuspublic void setStatus(WMResourcePlanStatus status)
WMResourcePlanStatuspublic 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 java.lang.String getDefaultPoolPath()
public void setDefaultPoolPath(java.lang.String defaultPoolPath)
public void unsetDefaultPoolPath()
public boolean isSetDefaultPoolPath()
public void setDefaultPoolPathIsSet(boolean value)
public void setFieldValue(WMResourcePlan._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<WMResourcePlan,WMResourcePlan._Fields>public java.lang.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(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(WMResourcePlan that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(WMResourcePlan other)
compareTo in interface java.lang.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.TExceptionpublic 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.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.