@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class WMPool extends Object implements org.apache.thrift.TBase<WMPool,WMPool._Fields>, Serializable, Cloneable, Comparable<WMPool>
| Modifier and Type | Class and Description |
|---|---|
static class |
WMPool._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<WMPool._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
WMPool() |
WMPool(String resourcePlanName,
String poolPath) |
WMPool(WMPool other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(WMPool other) |
WMPool |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WMPool that) |
WMPool._Fields |
fieldForId(int fieldId) |
double |
getAllocFraction() |
Object |
getFieldValue(WMPool._Fields field) |
String |
getNs() |
String |
getPoolPath() |
int |
getQueryParallelism() |
String |
getResourcePlanName() |
String |
getSchedulingPolicy() |
int |
hashCode() |
boolean |
isSet(WMPool._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAllocFraction()
Returns true if field allocFraction is set (has been assigned a value) and false otherwise
|
boolean |
isSetNs()
Returns true if field ns is set (has been assigned a value) and false otherwise
|
boolean |
isSetPoolPath()
Returns true if field poolPath 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 |
isSetResourcePlanName()
Returns true if field resourcePlanName is set (has been assigned a value) and false otherwise
|
boolean |
isSetSchedulingPolicy()
Returns true if field schedulingPolicy is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setAllocFraction(double allocFraction) |
void |
setAllocFractionIsSet(boolean value) |
void |
setFieldValue(WMPool._Fields field,
Object value) |
void |
setNs(String ns) |
void |
setNsIsSet(boolean value) |
void |
setPoolPath(String poolPath) |
void |
setPoolPathIsSet(boolean value) |
void |
setQueryParallelism(int queryParallelism) |
void |
setQueryParallelismIsSet(boolean value) |
void |
setResourcePlanName(String resourcePlanName) |
void |
setResourcePlanNameIsSet(boolean value) |
void |
setSchedulingPolicy(String schedulingPolicy) |
void |
setSchedulingPolicyIsSet(boolean value) |
String |
toString() |
void |
unsetAllocFraction() |
void |
unsetNs() |
void |
unsetPoolPath() |
void |
unsetQueryParallelism() |
void |
unsetResourcePlanName() |
void |
unsetSchedulingPolicy() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<WMPool._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WMPool()
public WMPool(WMPool other)
public WMPool deepCopy()
deepCopy in interface org.apache.thrift.TBase<WMPool,WMPool._Fields>public void clear()
clear in interface org.apache.thrift.TBase<WMPool,WMPool._Fields>public String getResourcePlanName()
public void setResourcePlanName(String resourcePlanName)
public void unsetResourcePlanName()
public boolean isSetResourcePlanName()
public void setResourcePlanNameIsSet(boolean value)
public String getPoolPath()
public void setPoolPath(String poolPath)
public void unsetPoolPath()
public boolean isSetPoolPath()
public void setPoolPathIsSet(boolean value)
public double getAllocFraction()
public void setAllocFraction(double allocFraction)
public void unsetAllocFraction()
public boolean isSetAllocFraction()
public void setAllocFractionIsSet(boolean value)
public int getQueryParallelism()
public void setQueryParallelism(int queryParallelism)
public void unsetQueryParallelism()
public boolean isSetQueryParallelism()
public void setQueryParallelismIsSet(boolean value)
public String getSchedulingPolicy()
public void setSchedulingPolicy(String schedulingPolicy)
public void unsetSchedulingPolicy()
public boolean isSetSchedulingPolicy()
public void setSchedulingPolicyIsSet(boolean value)
public String getNs()
public void setNs(String ns)
public void unsetNs()
public boolean isSetNs()
public void setNsIsSet(boolean value)
public void setFieldValue(WMPool._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<WMPool,WMPool._Fields>public Object getFieldValue(WMPool._Fields field)
getFieldValue in interface org.apache.thrift.TBase<WMPool,WMPool._Fields>public boolean isSet(WMPool._Fields field)
isSet in interface org.apache.thrift.TBase<WMPool,WMPool._Fields>public boolean equals(WMPool that)
public int compareTo(WMPool other)
compareTo in interface Comparable<WMPool>public WMPool._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<WMPool,WMPool._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.