Class TServerPermissions

    • Field Detail

      • create_

        public boolean create_
      • drop_

        public boolean drop_
      • alter_

        public boolean alter_
      • usage_

        public boolean usage_
    • Constructor Detail

      • TServerPermissions

        public TServerPermissions()
      • TServerPermissions

        public TServerPermissions​(boolean create_,
                                  boolean drop_,
                                  boolean alter_,
                                  boolean usage_)
      • TServerPermissions

        public TServerPermissions​(TServerPermissions other)
        Performs a deep copy on other.
    • Method Detail

      • isCreate_

        public boolean isCreate_()
      • unsetCreate_

        public void unsetCreate_()
      • isSetCreate_

        public boolean isSetCreate_()
        Returns true if field create_ is set (has been assigned a value) and false otherwise
      • setCreate_IsSet

        public void setCreate_IsSet​(boolean value)
      • isDrop_

        public boolean isDrop_()
      • unsetDrop_

        public void unsetDrop_()
      • isSetDrop_

        public boolean isSetDrop_()
        Returns true if field drop_ is set (has been assigned a value) and false otherwise
      • setDrop_IsSet

        public void setDrop_IsSet​(boolean value)
      • isAlter_

        public boolean isAlter_()
      • unsetAlter_

        public void unsetAlter_()
      • isSetAlter_

        public boolean isSetAlter_()
        Returns true if field alter_ is set (has been assigned a value) and false otherwise
      • setAlter_IsSet

        public void setAlter_IsSet​(boolean value)
      • isUsage_

        public boolean isUsage_()
      • unsetUsage_

        public void unsetUsage_()
      • isSetUsage_

        public boolean isSetUsage_()
        Returns true if field usage_ is set (has been assigned a value) and false otherwise
      • setUsage_IsSet

        public void setUsage_IsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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
      • validate

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