Class TDatabasePermissions

    • Field Detail

      • create_

        public boolean create_
      • delete_

        public boolean delete_
      • view_sql_editor_

        public boolean view_sql_editor_
      • access_

        public boolean access_
    • Constructor Detail

      • TDatabasePermissions

        public TDatabasePermissions()
      • TDatabasePermissions

        public TDatabasePermissions​(boolean create_,
                                    boolean delete_,
                                    boolean view_sql_editor_,
                                    boolean access_)
      • TDatabasePermissions

        public TDatabasePermissions​(TDatabasePermissions 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)
      • 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)
      • isView_sql_editor_

        public boolean isView_sql_editor_()
      • setView_sql_editor_

        public TDatabasePermissions setView_sql_editor_​(boolean view_sql_editor_)
      • unsetView_sql_editor_

        public void unsetView_sql_editor_()
      • isSetView_sql_editor_

        public boolean isSetView_sql_editor_()
        Returns true if field view_sql_editor_ is set (has been assigned a value) and false otherwise
      • setView_sql_editor_IsSet

        public void setView_sql_editor_IsSet​(boolean value)
      • isAccess_

        public boolean isAccess_()
      • unsetAccess_

        public void unsetAccess_()
      • isSetAccess_

        public boolean isSetAccess_()
        Returns true if field access_ is set (has been assigned a value) and false otherwise
      • setAccess_IsSet

        public void setAccess_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