Documentation of 'org.apache.derby.impl.sql.catalog.SYSPERMSRowFactory' Java class
SYSPERMSRowFactory
org.apache.derby.impl.sql.catalog

Class SYSPERMSRowFactory



  • public class SYSPERMSRowFactory
    extends CatalogRowFactory
    Factory for creating a SYSPERMS row.
    • Field Detail

      • GRANTEE_OBJECTID_GRANTOR_INDEX_NUM

        public static final int GRANTEE_OBJECTID_GRANTOR_INDEX_NUM
        See Also:
        Constant Field Values
    • Method Detail

      • buildIndexKeyRow

        public ExecIndexRow buildIndexKeyRow(int indexNumber,
                                             PermissionsDescriptor perm)
                                      throws StandardException
        builds an index key row given for a given index number.
        perm - a permission descriptor of the appropriate class for this PermissionsCatalogRowFactory class.
        Throws:
        StandardException - standard error policy
      • orPermissions

        public int orPermissions(ExecRow row,
                                 PermissionsDescriptor perm,
                                 boolean[] colsChanged)
                          throws StandardException
        Or a set of permissions in with a row from this catalog table
        Parameters:
        row - an existing row
        perm - a permission descriptor of the appropriate class for this PermissionsCatalogRowFactory class.
        colsChanged - An array with one element for each column in row. It is updated to indicate which columns in row were changed
        Returns:
        The number of columns that were changed.
        Throws:
        StandardException - standard error policy
      • removePermissions

        public int removePermissions(ExecRow row,
                                     PermissionsDescriptor perm,
                                     boolean[] colsChanged)
                              throws StandardException
        Remove a set of permissions from a row from this catalog table
        Parameters:
        row - an existing row
        perm - a permission descriptor of the appropriate class for this PermissionsCatalogRowFactory class.
        colsChanged - An array with one element for each column in row. It is updated to indicate which columns in row were changed
        Returns:
        -1 if there are no permissions left in the row, otherwise the number of columns that were changed.
        Throws:
        StandardException - standard error policy

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.