congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ConfigValSecurityException
Code IndexAdd Tabnine to your IDE (free)

How to use
ConfigValSecurityException
in
org.apache.hadoop.hive.metastore.api

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

origin: apache/hive

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

@Override
public boolean equals(Object that) {
 if (that == null)
  return false;
 if (that instanceof ConfigValSecurityException)
  return this.equals((ConfigValSecurityException)that);
 return false;
}
origin: apache/hive

public Object getFieldValue(_Fields field) {
 switch (field) {
 case MESSAGE:
  return getMessage();
 }
 throw new IllegalStateException();
}
origin: apache/hive

public void setFieldValue(_Fields field, Object value) {
 switch (field) {
 case MESSAGE:
  if (value == null) {
   unsetMessage();
  } else {
   setMessage((String)value);
  }
  break;
 }
}
origin: apache/hive

public void read(org.apache.thrift.protocol.TProtocol iprot, ConfigValSecurityException struct) throws org.apache.thrift.TException {
 org.apache.thrift.protocol.TField schemeField;
 iprot.readStructBegin();
 while (true)
 {
  schemeField = iprot.readFieldBegin();
  if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
   break;
  }
  switch (schemeField.id) {
   case 1: // MESSAGE
    if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
     struct.message = iprot.readString();
     struct.setMessageIsSet(true);
    } else { 
     org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    }
    break;
   default:
    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
  }
  iprot.readFieldEnd();
 }
 iprot.readStructEnd();
 struct.validate();
}
origin: apache/hive

/**
 * Performs a deep copy on <i>other</i>.
 */
public ConfigValSecurityException(ConfigValSecurityException other) {
 if (other.isSetMessage()) {
  this.message = other.message;
 }
}
origin: apache/hive

public void write(org.apache.thrift.protocol.TProtocol oprot, ConfigValSecurityException struct) throws org.apache.thrift.TException {
 struct.validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (struct.message != null) {
  oprot.writeFieldBegin(MESSAGE_FIELD_DESC);
  oprot.writeString(struct.message);
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: apache/hive

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, ConfigValSecurityException struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  BitSet incoming = iprot.readBitSet(1);
  if (incoming.get(0)) {
   struct.message = iprot.readString();
   struct.setMessageIsSet(true);
  }
 }
}
origin: apache/hive

private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
 try {
  read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
 } catch (org.apache.thrift.TException te) {
  throw new java.io.IOException(te);
 }
}
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

public boolean equals(ConfigValSecurityException that) {
 if (that == null)
  return false;
 boolean this_present_message = true && this.isSetMessage();
 boolean that_present_message = true && that.isSetMessage();
 if (this_present_message || that_present_message) {
  if (!(this_present_message && that_present_message))
   return false;
  if (!this.message.equals(that.message))
   return false;
 }
 return true;
}
origin: com.facebook.presto.hive/hive-apache

public void setFieldValue(_Fields field, Object value) {
 switch (field) {
 case MESSAGE:
  if (value == null) {
   unsetMessage();
  } else {
   setMessage((String)value);
  }
  break;
 }
}
origin: org.spark-project.hive/hive-metastore

public void read(org.apache.thrift.protocol.TProtocol iprot, ConfigValSecurityException struct) throws org.apache.thrift.TException {
 org.apache.thrift.protocol.TField schemeField;
 iprot.readStructBegin();
 while (true)
 {
  schemeField = iprot.readFieldBegin();
  if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
   break;
  }
  switch (schemeField.id) {
   case 1: // MESSAGE
    if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
     struct.message = iprot.readString();
     struct.setMessageIsSet(true);
    } else { 
     org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
    }
    break;
   default:
    org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
  }
  iprot.readFieldEnd();
 }
 iprot.readStructEnd();
 struct.validate();
}
origin: org.apache.hadoop.hive/hive-metastore

public void write(TProtocol oprot) throws TException {
 validate();
 oprot.writeStructBegin(STRUCT_DESC);
 if (this.message != null) {
  oprot.writeFieldBegin(MESSAGE_FIELD_DESC);
  oprot.writeString(this.message);
  oprot.writeFieldEnd();
 }
 oprot.writeFieldStop();
 oprot.writeStructEnd();
}
origin: org.spark-project.hive/hive-metastore

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, ConfigValSecurityException struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  BitSet incoming = iprot.readBitSet(1);
  if (incoming.get(0)) {
   struct.message = iprot.readString();
   struct.setMessageIsSet(true);
  }
 }
}
origin: org.apache.hive/hive-standalone-metastore

private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
 try {
  read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
 } 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: apache/hive

/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
 if (field == null) {
  throw new IllegalArgumentException();
 }
 switch (field) {
 case MESSAGE:
  return isSetMessage();
 }
 throw new IllegalStateException();
}
origin: apache/hive

throw new ConfigValSecurityException("For security reasons, the "
  + "config key " + name + " cannot be accessed");
origin: org.spark-project.hive/hive-metastore

public void setFieldValue(_Fields field, Object value) {
 switch (field) {
 case MESSAGE:
  if (value == null) {
   unsetMessage();
  } else {
   setMessage((String)value);
  }
  break;
 }
}
org.apache.hadoop.hive.metastore.apiConfigValSecurityException

Most used methods

  • <init>
    Performs a deep copy on other.
  • equals
  • getMessage
  • isSetMessage
    Returns true if field message is set (has been asigned a value) and false otherwise
  • setMessage
  • unsetMessage
  • validate
  • read
  • setMessageIsSet
  • write

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for Android Studio
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