Tabnine Logo
RolePrincipalGrant.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.hadoop.hive.metastore.api.RolePrincipalGrant
constructor

Best Java code snippets using org.apache.hadoop.hive.metastore.api.RolePrincipalGrant.<init> (Showing top 20 results out of 315)

origin: apache/hive

public RolePrincipalGrant deepCopy() {
 return new RolePrincipalGrant(this);
}
origin: apache/hive

/**
 * Performs a deep copy on <i>other</i>.
 */
public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) {
 if (other.isSetPrincipalGrants()) {
  List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(other.principalGrants.size());
  for (RolePrincipalGrant other_element : other.principalGrants) {
   __this__principalGrants.add(new RolePrincipalGrant(other_element));
  }
  this.principalGrants = __this__principalGrants;
 }
}
origin: apache/hive

/**
 * Performs a deep copy on <i>other</i>.
 */
public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) {
 if (other.isSetPrincipalGrants()) {
  List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(other.principalGrants.size());
  for (RolePrincipalGrant other_element : other.principalGrants) {
   __this__principalGrants.add(new RolePrincipalGrant(other_element));
  }
  this.principalGrants = __this__principalGrants;
 }
}
origin: apache/hive

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  {
   org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
   struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list91.size);
   RolePrincipalGrant _elem92;
   for (int _i93 = 0; _i93 < _list91.size; ++_i93)
   {
    _elem92 = new RolePrincipalGrant();
    _elem92.read(iprot);
    struct.principalGrants.add(_elem92);
   }
  }
  struct.setPrincipalGrantsIsSet(true);
 }
}
origin: apache/hive

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  {
   org.apache.thrift.protocol.TList _list99 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
   struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list99.size);
   RolePrincipalGrant _elem100;
   for (int _i101 = 0; _i101 < _list99.size; ++_i101)
   {
    _elem100 = new RolePrincipalGrant();
    _elem100.read(iprot);
    struct.principalGrants.add(_elem100);
   }
  }
  struct.setPrincipalGrantsIsSet(true);
 }
}
origin: apache/hive

for (int _i96 = 0; _i96 < _list94.size; ++_i96)
 _elem95 = new RolePrincipalGrant();
 _elem95.read(iprot);
 struct.principalGrants.add(_elem95);
origin: apache/hive

for (int _i88 = 0; _i88 < _list86.size; ++_i88)
 _elem87 = new RolePrincipalGrant();
 _elem87.read(iprot);
 struct.principalGrants.add(_elem87);
origin: com.facebook.presto.hive/hive-apache

public RolePrincipalGrant deepCopy() {
 return new RolePrincipalGrant(this);
}
origin: org.apache.hive/hive-standalone-metastore

public RolePrincipalGrant deepCopy() {
 return new RolePrincipalGrant(this);
}
origin: org.spark-project.hive/hive-metastore

public RolePrincipalGrant deepCopy() {
 return new RolePrincipalGrant(this);
}
origin: org.spark-project.hive/hive-metastore

/**
 * Performs a deep copy on <i>other</i>.
 */
public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) {
 if (other.isSetPrincipalGrants()) {
  List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>();
  for (RolePrincipalGrant other_element : other.principalGrants) {
   __this__principalGrants.add(new RolePrincipalGrant(other_element));
  }
  this.principalGrants = __this__principalGrants;
 }
}
origin: com.facebook.presto.hive/hive-apache

/**
 * Performs a deep copy on <i>other</i>.
 */
public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) {
 if (other.isSetPrincipalGrants()) {
  List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>();
  for (RolePrincipalGrant other_element : other.principalGrants) {
   __this__principalGrants.add(new RolePrincipalGrant(other_element));
  }
  this.principalGrants = __this__principalGrants;
 }
}
origin: org.spark-project.hive/hive-metastore

/**
 * Performs a deep copy on <i>other</i>.
 */
public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) {
 if (other.isSetPrincipalGrants()) {
  List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>();
  for (RolePrincipalGrant other_element : other.principalGrants) {
   __this__principalGrants.add(new RolePrincipalGrant(other_element));
  }
  this.principalGrants = __this__principalGrants;
 }
}
origin: com.facebook.presto.hive/hive-apache

/**
 * Performs a deep copy on <i>other</i>.
 */
public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) {
 if (other.isSetPrincipalGrants()) {
  List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>();
  for (RolePrincipalGrant other_element : other.principalGrants) {
   __this__principalGrants.add(new RolePrincipalGrant(other_element));
  }
  this.principalGrants = __this__principalGrants;
 }
}
origin: org.apache.hive/hive-standalone-metastore

/**
 * Performs a deep copy on <i>other</i>.
 */
public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) {
 if (other.isSetPrincipalGrants()) {
  List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(other.principalGrants.size());
  for (RolePrincipalGrant other_element : other.principalGrants) {
   __this__principalGrants.add(new RolePrincipalGrant(other_element));
  }
  this.principalGrants = __this__principalGrants;
 }
}
origin: org.apache.hive/hive-standalone-metastore

/**
 * Performs a deep copy on <i>other</i>.
 */
public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) {
 if (other.isSetPrincipalGrants()) {
  List<RolePrincipalGrant> __this__principalGrants = new ArrayList<RolePrincipalGrant>(other.principalGrants.size());
  for (RolePrincipalGrant other_element : other.principalGrants) {
   __this__principalGrants.add(new RolePrincipalGrant(other_element));
  }
  this.principalGrants = __this__principalGrants;
 }
}
origin: com.facebook.presto.hive/hive-apache

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  {
   org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
   struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list91.size);
   for (int _i92 = 0; _i92 < _list91.size; ++_i92)
   {
    RolePrincipalGrant _elem93; // optional
    _elem93 = new RolePrincipalGrant();
    _elem93.read(iprot);
    struct.principalGrants.add(_elem93);
   }
  }
  struct.setPrincipalGrantsIsSet(true);
 }
}
origin: org.apache.hive/hive-standalone-metastore

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  {
   org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
   struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list83.size);
   RolePrincipalGrant _elem84;
   for (int _i85 = 0; _i85 < _list83.size; ++_i85)
   {
    _elem84 = new RolePrincipalGrant();
    _elem84.read(iprot);
    struct.principalGrants.add(_elem84);
   }
  }
  struct.setPrincipalGrantsIsSet(true);
 }
}
origin: org.spark-project.hive/hive-metastore

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  {
   org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
   struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list83.size);
   for (int _i84 = 0; _i84 < _list83.size; ++_i84)
   {
    RolePrincipalGrant _elem85; // optional
    _elem85 = new RolePrincipalGrant();
    _elem85.read(iprot);
    struct.principalGrants.add(_elem85);
   }
  }
  struct.setPrincipalGrantsIsSet(true);
 }
}
origin: com.facebook.presto.hive/hive-apache

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  {
   org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
   struct.principalGrants = new ArrayList<RolePrincipalGrant>(_list83.size);
   for (int _i84 = 0; _i84 < _list83.size; ++_i84)
   {
    RolePrincipalGrant _elem85; // optional
    _elem85 = new RolePrincipalGrant();
    _elem85.read(iprot);
    struct.principalGrants.add(_elem85);
   }
  }
  struct.setPrincipalGrantsIsSet(true);
 }
}
org.apache.hadoop.hive.metastore.apiRolePrincipalGrant<init>

Javadoc

Performs a deep copy on other.

Popular methods of RolePrincipalGrant

  • getPrincipalName
  • getPrincipalType
  • getRoleName
  • isGrantOption
  • getGrantTime
  • getGrantorName
  • getGrantorPrincipalType
  • equals
  • isSetGrantOption
    Returns true if field grantOption is set (has been assigned a value) and false otherwise
  • isSetGrantTime
    Returns true if field grantTime is set (has been assigned a value) and false otherwise
  • isSetGrantorName
    Returns true if field grantorName is set (has been assigned a value) and false otherwise
  • isSetGrantorPrincipalType
    Returns true if field grantorPrincipalType is set (has been assigned a value) and false otherwise
  • isSetGrantorName,
  • isSetGrantorPrincipalType,
  • isSetPrincipalName,
  • isSetPrincipalType,
  • isSetRoleName,
  • read,
  • setGrantOption,
  • setGrantOptionIsSet,
  • setGrantTime

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Permission (java.security)
    Legacy security code; do not use.
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Collectors (java.util.stream)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now