Class WMMapping

java.lang.Object
io.trino.hive.thrift.metastore.WMMapping
All Implemented Interfaces:
Serializable, Cloneable, Comparable<WMMapping>, org.apache.thrift.TBase<WMMapping,WMMapping._Fields>, org.apache.thrift.TSerializable

@Generated("Autogenerated by Thrift Compiler (0.17.0)") public class WMMapping extends Object implements org.apache.thrift.TBase<WMMapping,WMMapping._Fields>, Serializable, Cloneable, Comparable<WMMapping>
See Also:
  • Field Details

    • metaDataMap

      public static final Map<WMMapping._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • WMMapping

      public WMMapping()
    • WMMapping

      public WMMapping(String resourcePlanName, String entityType, String entityName)
    • WMMapping

      public WMMapping(WMMapping other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public WMMapping deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<WMMapping,WMMapping._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<WMMapping,WMMapping._Fields>
    • getResourcePlanName

      public String getResourcePlanName()
    • setResourcePlanName

      public WMMapping setResourcePlanName(String resourcePlanName)
    • unsetResourcePlanName

      public void unsetResourcePlanName()
    • isSetResourcePlanName

      public boolean isSetResourcePlanName()
      Returns true if field resourcePlanName is set (has been assigned a value) and false otherwise
    • setResourcePlanNameIsSet

      public void setResourcePlanNameIsSet(boolean value)
    • getEntityType

      public String getEntityType()
    • setEntityType

      public WMMapping setEntityType(String entityType)
    • unsetEntityType

      public void unsetEntityType()
    • isSetEntityType

      public boolean isSetEntityType()
      Returns true if field entityType is set (has been assigned a value) and false otherwise
    • setEntityTypeIsSet

      public void setEntityTypeIsSet(boolean value)
    • getEntityName

      public String getEntityName()
    • setEntityName

      public WMMapping setEntityName(String entityName)
    • unsetEntityName

      public void unsetEntityName()
    • isSetEntityName

      public boolean isSetEntityName()
      Returns true if field entityName is set (has been assigned a value) and false otherwise
    • setEntityNameIsSet

      public void setEntityNameIsSet(boolean value)
    • getPoolPath

      public String getPoolPath()
    • setPoolPath

      public WMMapping setPoolPath(String poolPath)
    • unsetPoolPath

      public void unsetPoolPath()
    • isSetPoolPath

      public boolean isSetPoolPath()
      Returns true if field poolPath is set (has been assigned a value) and false otherwise
    • setPoolPathIsSet

      public void setPoolPathIsSet(boolean value)
    • getOrdering

      public int getOrdering()
    • setOrdering

      public WMMapping setOrdering(int ordering)
    • unsetOrdering

      public void unsetOrdering()
    • isSetOrdering

      public boolean isSetOrdering()
      Returns true if field ordering is set (has been assigned a value) and false otherwise
    • setOrderingIsSet

      public void setOrderingIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(WMMapping._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<WMMapping,WMMapping._Fields>
    • getFieldValue

      public Object getFieldValue(WMMapping._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<WMMapping,WMMapping._Fields>
    • isSet

      public boolean isSet(WMMapping._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<WMMapping,WMMapping._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(WMMapping that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(WMMapping other)
      Specified by:
      compareTo in interface Comparable<WMMapping>
    • fieldForId

      public WMMapping._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<WMMapping,WMMapping._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException