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

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

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

origin: apache/drill

 mergeEndpoint(other.getEndpoint());
if (other.hasErrorType()) {
 setErrorType(other.getErrorType());
origin: org.apache.drill/drill-protocol

 mergeEndpoint(other.getEndpoint());
if (other.hasErrorType()) {
 setErrorType(other.getErrorType());
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$DrillPBErrorhasErrorType

Javadoc

optional .exec.shared.DrillPBError.ErrorType error_type = 3;

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,
  • hasException,
  • hasMessage,
  • initFields

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • BoxLayout (javax.swing)
  • 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