org.apache.cassandra.cql3.statements

## Class GrantPermissionsStatement

- java.lang.Object
- - org.apache.cassandra.cql3.statements.ParsedStatement
  - - org.apache.cassandra.cql3.statements.AuthorizationStatement
    - - org.apache.cassandra.cql3.statements.PermissionsManagementStatement
      - - org.apache.cassandra.cql3.statements.GrantPermissionsStatement

- All Implemented Interfaces:
    CQLStatement

      public class GrantPermissionsStatement
      extends PermissionsManagementStatement

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.cassandra.cql3.statements.ParsedStatement

      `ParsedStatement.Prepared`

  - ### Field Summary

    - ### Fields inherited from class org.apache.cassandra.cql3.statements.PermissionsManagementStatement

      `grantee, permissions, resource`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GrantPermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ResultMessage` | `execute(ClientState state)`

    - ### Methods inherited from class org.apache.cassandra.cql3.statements.PermissionsManagementStatement

      `checkAccess, validate`

    - ### Methods inherited from class org.apache.cassandra.cql3.statements.AuthorizationStatement

      `execute, executeInternal, getBoundTerms, maybeCorrectResource, prepare`

    - ### Methods inherited from class org.apache.cassandra.cql3.statements.ParsedStatement

      `getBoundVariables, getFunctions, setBoundVariables, setBoundVariables`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.cassandra.cql3.CQLStatement

      `getFunctions`

- - ### Constructor Detail

    - #### GrantPermissionsStatement

          public GrantPermissionsStatement(java.util.Set<Permission> permissions,
                                           IResource resource,
                                           RoleName grantee)

  - ### Method Detail

    - #### execute

          public ResultMessage execute(ClientState state)
                                throws RequestValidationException,
                                       RequestExecutionException

      Specified by:
        `execute` in class `AuthorizationStatement`
      Throws:
        `RequestValidationException`
        `RequestExecutionException`

Copyright © 2018 The Apache Software Foundation