Package org.apache.hadoop.hive.metastore.api

Examples of org.apache.hadoop.hive.metastore.api.RolePrincipalGrant$RolePrincipalGrantTupleSchemeFactory


        endFunction("get_role_grants_for_principal", ex == null, ex);
      }

      List<RolePrincipalGrant> roleGrantsList = getRolePrincipalGrants(roleMaps);
      // all users by default belongs to public role
      roleGrantsList.add(new RolePrincipalGrant(PUBLIC, request.getPrincipal_name(), request
          .getPrincipal_type(), false, 0, null, null));
      return new GetRoleGrantsForPrincipalResponse(roleGrantsList);
    }
View Full Code Here


     */
    private List<RolePrincipalGrant> getRolePrincipalGrants(List<MRoleMap> roleMaps) {
      List<RolePrincipalGrant> rolePrinGrantList = new ArrayList<RolePrincipalGrant>();
      if (roleMaps != null) {
        for (MRoleMap roleMap : roleMaps) {
          RolePrincipalGrant rolePrinGrant = new RolePrincipalGrant(
              roleMap.getRole().getRoleName(),
              roleMap.getPrincipalName(),
              PrincipalType.valueOf(roleMap.getPrincipalType()),
              roleMap.getGrantOption(),
              roleMap.getAddTime(),
View Full Code Here

     */
    private List<RolePrincipalGrant> getRolePrincipalGrants(List<MRoleMap> roleMaps) {
      List<RolePrincipalGrant> rolePrinGrantList = new ArrayList<RolePrincipalGrant>();
      if (roleMaps != null) {
        for (MRoleMap roleMap : roleMaps) {
          RolePrincipalGrant rolePrinGrant = new RolePrincipalGrant(
              roleMap.getRole().getRoleName(),
              roleMap.getPrincipalName(),
              PrincipalType.valueOf(roleMap.getPrincipalType()),
              roleMap.getGrantOption(),
              roleMap.getAddTime(),
View Full Code Here

     */
    private List<RolePrincipalGrant> getRolePrincipalGrants(List<MRoleMap> roleMaps) {
      List<RolePrincipalGrant> rolePrinGrantList = new ArrayList<RolePrincipalGrant>();
      if (roleMaps != null) {
        for (MRoleMap roleMap : roleMaps) {
          RolePrincipalGrant rolePrinGrant = new RolePrincipalGrant(
              roleMap.getRole().getRoleName(),
              roleMap.getPrincipalName(),
              PrincipalType.valueOf(roleMap.getPrincipalType()),
              roleMap.getGrantOption(),
              roleMap.getAddTime(),
View Full Code Here

        endFunction("get_role_grants_for_principal", ex == null, ex);
      }

      List<RolePrincipalGrant> roleGrantsList = getRolePrincipalGrants(roleMaps);
      // all users by default belongs to public role
      roleGrantsList.add(new RolePrincipalGrant(PUBLIC, request.getPrincipal_name(), request
          .getPrincipal_type(), false, 0, null, null));
      return new GetRoleGrantsForPrincipalResponse(roleGrantsList);
    }
View Full Code Here

     */
    private List<RolePrincipalGrant> getRolePrincipalGrants(List<MRoleMap> roleMaps) {
      List<RolePrincipalGrant> rolePrinGrantList = new ArrayList<RolePrincipalGrant>();
      if (roleMaps != null) {
        for (MRoleMap roleMap : roleMaps) {
          RolePrincipalGrant rolePrinGrant = new RolePrincipalGrant(
              roleMap.getRole().getRoleName(),
              roleMap.getPrincipalName(),
              PrincipalType.valueOf(roleMap.getPrincipalType()),
              roleMap.getGrantOption(),
              roleMap.getAddTime(),
View Full Code Here

     */
    private List<RolePrincipalGrant> getRolePrincipalGrants(List<MRoleMap> roleMaps) {
      List<RolePrincipalGrant> rolePrinGrantList = new ArrayList<RolePrincipalGrant>();
      if (roleMaps != null) {
        for (MRoleMap roleMap : roleMaps) {
          RolePrincipalGrant rolePrinGrant = new RolePrincipalGrant(
              roleMap.getRole().getRoleName(),
              roleMap.getPrincipalName(),
              PrincipalType.valueOf(roleMap.getPrincipalType()),
              roleMap.getGrantOption(),
              roleMap.getAddTime(),
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.metastore.api.RolePrincipalGrant$RolePrincipalGrantTupleSchemeFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.