Tabnine Logo
RolePrincipalGrant.write
Code IndexAdd Tabnine to your IDE (free)

How to use
write
method
in
org.apache.hadoop.hive.metastore.api.RolePrincipalGrant

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

origin: apache/hive

private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
 try {
  write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
 } catch (org.apache.thrift.TException te) {
  throw new java.io.IOException(te);
 }
}
origin: apache/hive

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 {
  oprot.writeI32(struct.principalGrants.size());
  for (RolePrincipalGrant _iter98 : struct.principalGrants)
  {
   _iter98.write(oprot);
  }
 }
}
origin: apache/hive

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 {
  oprot.writeI32(struct.principalGrants.size());
  for (RolePrincipalGrant _iter90 : struct.principalGrants)
  {
   _iter90.write(oprot);
  }
 }
}
origin: apache/hive

public void write(org.apache.thrift.protocol.TProtocol oprot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.principalGrants != null) {
  oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC);
  {
   oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size()));
   for (RolePrincipalGrant _iter97 : struct.principalGrants)
   {
    _iter97.write(oprot);
   }
   oprot.writeListEnd();
  }
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: apache/hive

public void write(org.apache.thrift.protocol.TProtocol oprot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.principalGrants != null) {
  oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC);
  {
   oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size()));
   for (RolePrincipalGrant _iter89 : struct.principalGrants)
   {
    _iter89.write(oprot);
   }
   oprot.writeListEnd();
  }
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: com.facebook.presto.hive/hive-apache

private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
 try {
  write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
 } catch (org.apache.thrift.TException te) {
  throw new java.io.IOException(te);
 }
}
origin: org.spark-project.hive/hive-metastore

private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
 try {
  write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
 } catch (org.apache.thrift.TException te) {
  throw new java.io.IOException(te);
 }
}
origin: org.apache.hive/hive-standalone-metastore

private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
 try {
  write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
 } catch (org.apache.thrift.TException te) {
  throw new java.io.IOException(te);
 }
}
origin: com.facebook.presto.hive/hive-apache

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 {
  oprot.writeI32(struct.principalGrants.size());
  for (RolePrincipalGrant _iter82 : struct.principalGrants)
  {
   _iter82.write(oprot);
  }
 }
}
origin: org.spark-project.hive/hive-metastore

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 {
  oprot.writeI32(struct.principalGrants.size());
  for (RolePrincipalGrant _iter90 : struct.principalGrants)
  {
   _iter90.write(oprot);
  }
 }
}
origin: org.spark-project.hive/hive-metastore

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 {
  oprot.writeI32(struct.principalGrants.size());
  for (RolePrincipalGrant _iter82 : struct.principalGrants)
  {
   _iter82.write(oprot);
  }
 }
}
origin: org.apache.hive/hive-standalone-metastore

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 {
  oprot.writeI32(struct.principalGrants.size());
  for (RolePrincipalGrant _iter90 : struct.principalGrants)
  {
   _iter90.write(oprot);
  }
 }
}
origin: com.facebook.presto.hive/hive-apache

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 {
  oprot.writeI32(struct.principalGrants.size());
  for (RolePrincipalGrant _iter90 : struct.principalGrants)
  {
   _iter90.write(oprot);
  }
 }
}
origin: org.apache.hive/hive-standalone-metastore

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 {
  oprot.writeI32(struct.principalGrants.size());
  for (RolePrincipalGrant _iter82 : struct.principalGrants)
  {
   _iter82.write(oprot);
  }
 }
}
origin: org.apache.hive/hive-standalone-metastore

public void write(org.apache.thrift.protocol.TProtocol oprot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.principalGrants != null) {
  oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC);
  {
   oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size()));
   for (RolePrincipalGrant _iter81 : struct.principalGrants)
   {
    _iter81.write(oprot);
   }
   oprot.writeListEnd();
  }
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: org.spark-project.hive/hive-metastore

public void write(org.apache.thrift.protocol.TProtocol oprot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.principalGrants != null) {
  oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC);
  {
   oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size()));
   for (RolePrincipalGrant _iter89 : struct.principalGrants)
   {
    _iter89.write(oprot);
   }
   oprot.writeListEnd();
  }
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: com.facebook.presto.hive/hive-apache

public void write(org.apache.thrift.protocol.TProtocol oprot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.principalGrants != null) {
  oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC);
  {
   oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size()));
   for (RolePrincipalGrant _iter81 : struct.principalGrants)
   {
    _iter81.write(oprot);
   }
   oprot.writeListEnd();
  }
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: org.spark-project.hive/hive-metastore

public void write(org.apache.thrift.protocol.TProtocol oprot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.principalGrants != null) {
  oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC);
  {
   oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size()));
   for (RolePrincipalGrant _iter81 : struct.principalGrants)
   {
    _iter81.write(oprot);
   }
   oprot.writeListEnd();
  }
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: org.apache.hive/hive-standalone-metastore

public void write(org.apache.thrift.protocol.TProtocol oprot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.principalGrants != null) {
  oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC);
  {
   oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size()));
   for (RolePrincipalGrant _iter89 : struct.principalGrants)
   {
    _iter89.write(oprot);
   }
   oprot.writeListEnd();
  }
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: com.facebook.presto.hive/hive-apache

public void write(org.apache.thrift.protocol.TProtocol oprot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.principalGrants != null) {
  oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC);
  {
   oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size()));
   for (RolePrincipalGrant _iter89 : struct.principalGrants)
   {
    _iter89.write(oprot);
   }
   oprot.writeListEnd();
  }
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
org.apache.hadoop.hive.metastore.apiRolePrincipalGrantwrite

Popular methods of RolePrincipalGrant

  • getPrincipalName
  • getPrincipalType
  • getRoleName
  • isGrantOption
  • getGrantTime
  • getGrantorName
  • getGrantorPrincipalType
  • <init>
    Performs a deep copy on other.
  • 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
  • isSetGrantTime,
  • isSetGrantorName,
  • isSetGrantorPrincipalType,
  • isSetPrincipalName,
  • isSetPrincipalType,
  • isSetRoleName,
  • read,
  • setGrantOption,
  • setGrantOptionIsSet,
  • setGrantTime

Popular in Java

  • Start an intent from android
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • getSupportFragmentManager (FragmentActivity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • 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