@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class WMNullablePool extends Object implements org.apache.thrift.TBase<WMNullablePool,WMNullablePool._Fields>, Serializable, Cloneable, Comparable<WMNullablePool>
Modifier and Type | Class and Description |
---|---|
static class |
WMNullablePool._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<WMNullablePool._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
WMNullablePool() |
WMNullablePool(String resourcePlanName,
String poolPath) |
WMNullablePool(WMNullablePool other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(WMNullablePool other) |
WMNullablePool |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WMNullablePool that) |
WMNullablePool._Fields |
fieldForId(int fieldId) |
double |
getAllocFraction() |
Object |
getFieldValue(WMNullablePool._Fields field) |
String |
getPoolPath() |
int |
getQueryParallelism() |
String |
getResourcePlanName() |
String |
getSchedulingPolicy() |
int |
hashCode() |
boolean |
isIsSetSchedulingPolicy() |
boolean |
isSet(WMNullablePool._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 |
isSetIsSetSchedulingPolicy()
Returns true if field isSetSchedulingPolicy 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(WMNullablePool._Fields field,
Object value) |
void |
setIsSetSchedulingPolicy(boolean isSetSchedulingPolicy) |
void |
setIsSetSchedulingPolicyIsSet(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 |
unsetIsSetSchedulingPolicy() |
void |
unsetPoolPath() |
void |
unsetQueryParallelism() |
void |
unsetResourcePlanName() |
void |
unsetSchedulingPolicy() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<WMNullablePool._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WMNullablePool()
public WMNullablePool(WMNullablePool other)
public WMNullablePool deepCopy()
deepCopy
in interface org.apache.thrift.TBase<WMNullablePool,WMNullablePool._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<WMNullablePool,WMNullablePool._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 boolean isIsSetSchedulingPolicy()
public void setIsSetSchedulingPolicy(boolean isSetSchedulingPolicy)
public void unsetIsSetSchedulingPolicy()
public boolean isSetIsSetSchedulingPolicy()
public void setIsSetSchedulingPolicyIsSet(boolean value)
public void setFieldValue(WMNullablePool._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<WMNullablePool,WMNullablePool._Fields>
public Object getFieldValue(WMNullablePool._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<WMNullablePool,WMNullablePool._Fields>
public boolean isSet(WMNullablePool._Fields field)
isSet
in interface org.apache.thrift.TBase<WMNullablePool,WMNullablePool._Fields>
public boolean equals(WMNullablePool that)
public int compareTo(WMNullablePool other)
compareTo
in interface Comparable<WMNullablePool>
public WMNullablePool._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<WMNullablePool,WMNullablePool._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<WMNullablePool,WMNullablePool._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<WMNullablePool,WMNullablePool._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.