Tabnine Logo
UserBitShared$DrillPBError.hasException
Code IndexAdd Tabnine to your IDE (free)

How to use
hasException
method
in
org.apache.drill.exec.proto.UserBitShared$DrillPBError

Best Java code snippets using org.apache.drill.exec.proto.UserBitShared$DrillPBError.hasException (Showing top 4 results out of 315)

origin: apache/drill

 onChanged();
if (other.hasException()) {
 mergeException(other.getException());
origin: org.apache.drill/drill-protocol

 onChanged();
if (other.hasException()) {
 mergeException(other.getException());
origin: org.apache.drill/drill-protocol

public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.DrillPBError message) throws java.io.IOException
{
  if(message.hasErrorId())
    output.writeString(1, message.getErrorId(), false);
  if(message.hasEndpoint())
    output.writeObject(2, message.getEndpoint(), org.apache.drill.exec.proto.SchemaCoordinationProtos.DrillbitEndpoint.WRITE, false);
  if(message.hasErrorType())
    output.writeEnum(3, message.getErrorType().getNumber(), false);
  if(message.hasMessage())
    output.writeString(4, message.getMessage(), false);
  if(message.hasException())
    output.writeObject(5, message.getException(), org.apache.drill.exec.proto.SchemaUserBitShared.ExceptionWrapper.WRITE, false);
  for(org.apache.drill.exec.proto.UserBitShared.ParsingError parsingError : message.getParsingErrorList())
    output.writeObject(6, parsingError, org.apache.drill.exec.proto.SchemaUserBitShared.ParsingError.WRITE, true);
}
public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.DrillPBError message)
origin: apache/drill

public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.DrillPBError message) throws java.io.IOException
{
  if(message.hasErrorId())
    output.writeString(1, message.getErrorId(), false);
  if(message.hasEndpoint())
    output.writeObject(2, message.getEndpoint(), org.apache.drill.exec.proto.SchemaCoordinationProtos.DrillbitEndpoint.WRITE, false);
  if(message.hasErrorType())
    output.writeEnum(3, message.getErrorType().getNumber(), false);
  if(message.hasMessage())
    output.writeString(4, message.getMessage(), false);
  if(message.hasException())
    output.writeObject(5, message.getException(), org.apache.drill.exec.proto.SchemaUserBitShared.ExceptionWrapper.WRITE, false);
  for(org.apache.drill.exec.proto.UserBitShared.ParsingError parsingError : message.getParsingErrorList())
    output.writeObject(6, parsingError, org.apache.drill.exec.proto.SchemaUserBitShared.ParsingError.WRITE, true);
}
public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.DrillPBError message)
org.apache.drill.exec.protoUserBitShared$DrillPBErrorhasException

Javadoc

optional .exec.shared.ExceptionWrapper exception = 5;

Popular methods of UserBitShared$DrillPBError

  • getMessage
    optional string message = 4;
  • getErrorType
    optional .exec.shared.DrillPBError.ErrorType error_type = 3;
  • newBuilder
  • getException
    optional .exec.shared.ExceptionWrapper exception = 5;
  • <init>
  • getDefaultInstance
  • getDescriptor
  • getEndpoint
    optional .exec.DrillbitEndpoint endpoint = 2;
  • getErrorId
    optional string error_id = 1; for debug tracing purposes
  • getErrorIdBytes
    optional string error_id = 1; for debug tracing purposes
  • getMessageBytes
    optional string message = 4;
  • getParsingErrorList
    repeated .exec.shared.ParsingError parsing_error = 6; optional, used when providing location of err
  • getMessageBytes,
  • getParsingErrorList,
  • getSerializedSize,
  • getUnknownFields,
  • hasEndpoint,
  • hasErrorId,
  • hasErrorType,
  • hasMessage,
  • initFields

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • setContentView (Activity)
  • getContentResolver (Context)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JFileChooser (javax.swing)
  • JTable (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Join (org.hibernate.mapping)
  • Top PhpStorm 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