Class TTablePermissions

    • Field Detail

      • create_

        public boolean create_
      • drop_

        public boolean drop_
      • select_

        public boolean select_
      • insert_

        public boolean insert_
      • update_

        public boolean update_
      • delete_

        public boolean delete_
      • truncate_

        public boolean truncate_
      • alter_

        public boolean alter_
    • Constructor Detail

      • TTablePermissions

        public TTablePermissions()
      • TTablePermissions

        public TTablePermissions​(boolean create_,
                                 boolean drop_,
                                 boolean select_,
                                 boolean insert_,
                                 boolean update_,
                                 boolean delete_,
                                 boolean truncate_,
                                 boolean alter_)
      • TTablePermissions

        public TTablePermissions​(TTablePermissions 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)
      • isSelect_

        public boolean isSelect_()
      • unsetSelect_

        public void unsetSelect_()
      • isSetSelect_

        public boolean isSetSelect_()
        Returns true if field select_ is set (has been assigned a value) and false otherwise
      • setSelect_IsSet

        public void setSelect_IsSet​(boolean value)
      • isInsert_

        public boolean isInsert_()
      • unsetInsert_

        public void unsetInsert_()
      • isSetInsert_

        public boolean isSetInsert_()
        Returns true if field insert_ is set (has been assigned a value) and false otherwise
      • setInsert_IsSet

        public void setInsert_IsSet​(boolean value)
      • isUpdate_

        public boolean isUpdate_()
      • unsetUpdate_

        public void unsetUpdate_()
      • isSetUpdate_

        public boolean isSetUpdate_()
        Returns true if field update_ is set (has been assigned a value) and false otherwise
      • setUpdate_IsSet

        public void setUpdate_IsSet​(boolean value)
      • isDelete_

        public boolean isDelete_()
      • unsetDelete_

        public void unsetDelete_()
      • isSetDelete_

        public boolean isSetDelete_()
        Returns true if field delete_ is set (has been assigned a value) and false otherwise
      • setDelete_IsSet

        public void setDelete_IsSet​(boolean value)
      • isTruncate_

        public boolean isTruncate_()
      • unsetTruncate_

        public void unsetTruncate_()
      • isSetTruncate_

        public boolean isSetTruncate_()
        Returns true if field truncate_ is set (has been assigned a value) and false otherwise
      • setTruncate_IsSet

        public void setTruncate_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)
      • 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