blob: 3683684442ede724a188b504f52b902c9919b363 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UserBitShared.DrillPBError.ErrorType (Drill : 1.20.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UserBitShared.DrillPBError.ErrorType (Drill : 1.20.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":10,"i3":10,"i4":10,"i5":9,"i6":9,"i7":41,"i8":9,"i9":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/UserBitShared.DrillPBError.ErrorType.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.Builder.html" title="class in org.apache.drill.exec.proto"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBErrorOrBuilder.html" title="interface in org.apache.drill.exec.proto"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" target="_top">Frames</a></li>
<li><a href="UserBitShared.DrillPBError.ErrorType.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.drill.exec.proto</div>
<h2 title="Enum UserBitShared.DrillPBError.ErrorType" class="title">Enum UserBitShared.DrillPBError.ErrorType</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a>&lt;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&gt;</dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.html" title="class in org.apache.drill.exec.proto">UserBitShared.DrillPBError</a></dd>
</dl>
<hr>
<br>
<pre>public static enum <span class="typeNameLabel">UserBitShared.DrillPBError.ErrorType</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&gt;
implements com.google.protobuf.ProtocolMessageEnum</pre>
<div class="block">Protobuf enum <code>exec.shared.DrillPBError.ErrorType</code></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#CONNECTION">CONNECTION</a></span></code>
<div class="block">
equivalent to SQLClientInfoException
- handshake version error
- invalid schema</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#DATA_READ">DATA_READ</a></span></code>
<div class="block">
equivalent to SQLRecoverableException
- corrupt files: can't be read.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#DATA_WRITE">DATA_WRITE</a></span></code>
<div class="block">
equivalent to SQLDataException
- data type unsupported by format</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#EXECUTION_ERROR">EXECUTION_ERROR</a></span></code>
<div class="block">
Execution exception
- Internal errors not related to bad code</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#FUNCTION">FUNCTION</a></span></code>
<div class="block">
equivalent to SQLDataException
- Casting errors
- function not found for incoming types after implicit casting
- Flatten misuse</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#INTERNAL_ERROR">INTERNAL_ERROR</a></span></code>
<div class="block">
Internal exception
- Failed assertions
- Other "this should not happen" cases</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#PARSE">PARSE</a></span></code>
<div class="block">
equivalent to SQLSyntaxErrorException
- typos
- missing table
- SQL keyword misuse
- function names/resolution</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#PERMISSION">PERMISSION</a></span></code>
<div class="block">
equivalent to SQLInvalidAuthorizationSpecException</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#PLAN">PLAN</a></span></code>
<div class="block">
equivalent to SQLNonTransientException</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#RESOURCE">RESOURCE</a></span></code>
<div class="block">
equivalent to SQLRecoverableException or SQLTransientException
- Recoverable: memory, disk
- Transient: network</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#SYSTEM">SYSTEM</a></span></code>
<div class="block">
equivalent to SQLNonTransientException.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#UNSPECIFIED_ERROR">UNSPECIFIED_ERROR</a></span></code>
<div class="block">
Unspecified exception
- Exception caught but cause is unknown
Indicates code that needs revisiting to move error reporting
closer to the cause.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#UNSUPPORTED_OPERATION">UNSUPPORTED_OPERATION</a></span></code>
<div class="block">
equivalent to SQLFeatureNotSupportedException
- unimplemented feature, option, or execution path
- schema change in operator that does not support it</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#VALIDATION">VALIDATION</a></span></code>
<div class="block">
SQL validation exception
- invalid schema path
- invalid entries in SQL tree</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#CONNECTION_VALUE">CONNECTION_VALUE</a></span></code>
<div class="block">
equivalent to SQLClientInfoException
- handshake version error
- invalid schema</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#DATA_READ_VALUE">DATA_READ_VALUE</a></span></code>
<div class="block">
equivalent to SQLRecoverableException
- corrupt files: can't be read.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#DATA_WRITE_VALUE">DATA_WRITE_VALUE</a></span></code>
<div class="block">
equivalent to SQLDataException
- data type unsupported by format</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#EXECUTION_ERROR_VALUE">EXECUTION_ERROR_VALUE</a></span></code>
<div class="block">
Execution exception
- Internal errors not related to bad code</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#FUNCTION_VALUE">FUNCTION_VALUE</a></span></code>
<div class="block">
equivalent to SQLDataException
- Casting errors
- function not found for incoming types after implicit casting
- Flatten misuse</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#INTERNAL_ERROR_VALUE">INTERNAL_ERROR_VALUE</a></span></code>
<div class="block">
Internal exception
- Failed assertions
- Other "this should not happen" cases</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#PARSE_VALUE">PARSE_VALUE</a></span></code>
<div class="block">
equivalent to SQLSyntaxErrorException
- typos
- missing table
- SQL keyword misuse
- function names/resolution</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#PERMISSION_VALUE">PERMISSION_VALUE</a></span></code>
<div class="block">
equivalent to SQLInvalidAuthorizationSpecException</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#PLAN_VALUE">PLAN_VALUE</a></span></code>
<div class="block">
equivalent to SQLNonTransientException</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#RESOURCE_VALUE">RESOURCE_VALUE</a></span></code>
<div class="block">
equivalent to SQLRecoverableException or SQLTransientException
- Recoverable: memory, disk
- Transient: network</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#SYSTEM_VALUE">SYSTEM_VALUE</a></span></code>
<div class="block">
equivalent to SQLNonTransientException.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#UNSPECIFIED_ERROR_VALUE">UNSPECIFIED_ERROR_VALUE</a></span></code>
<div class="block">
Unspecified exception
- Exception caught but cause is unknown
Indicates code that needs revisiting to move error reporting
closer to the cause.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#UNSUPPORTED_OPERATION_VALUE">UNSUPPORTED_OPERATION_VALUE</a></span></code>
<div class="block">
equivalent to SQLFeatureNotSupportedException
- unimplemented feature, option, or execution path
- schema change in operator that does not support it</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#VALIDATION_VALUE">VALIDATION_VALUE</a></span></code>
<div class="block">
SQL validation exception
- invalid schema path
- invalid entries in SQL tree</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#forNumber-int-">forNumber</a></span>(int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static com.google.protobuf.Descriptors.EnumDescriptor</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#getDescriptor--">getDescriptor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>com.google.protobuf.Descriptors.EnumDescriptor</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#getDescriptorForType--">getDescriptorForType</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#getNumber--">getNumber</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>com.google.protobuf.Descriptors.EnumValueDescriptor</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#getValueDescriptor--">getValueDescriptor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static com.google.protobuf.Internal.EnumLiteMap&lt;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#internalGetValueMap--">internalGetValueMap</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#valueOf-com.google.protobuf.Descriptors.EnumValueDescriptor-">valueOf</a></span>(com.google.protobuf.Descriptors.EnumValueDescriptor&nbsp;desc)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#valueOf-int-">valueOf</a></span>(int&nbsp;value)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#forNumber-int-"><code>forNumber(int)</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="CONNECTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONNECTION</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> CONNECTION</pre>
<div class="block"><pre>
equivalent to SQLClientInfoException
- handshake version error
- invalid schema
</pre>
<code>CONNECTION = 0;</code></div>
</li>
</ul>
<a name="DATA_READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DATA_READ</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> DATA_READ</pre>
<div class="block"><pre>
equivalent to SQLRecoverableException
- corrupt files: can't be read. FS read error
- parsing error due to incomplete or incorrectly written records
</pre>
<code>DATA_READ = 1;</code></div>
</li>
</ul>
<a name="DATA_WRITE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DATA_WRITE</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> DATA_WRITE</pre>
<div class="block"><pre>
equivalent to SQLDataException
- data type unsupported by format
</pre>
<code>DATA_WRITE = 2;</code></div>
</li>
</ul>
<a name="FUNCTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FUNCTION</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> FUNCTION</pre>
<div class="block"><pre>
equivalent to SQLDataException
- Casting errors
- function not found for incoming types after implicit casting
- Flatten misuse
</pre>
<code>FUNCTION = 3;</code></div>
</li>
</ul>
<a name="PARSE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PARSE</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> PARSE</pre>
<div class="block"><pre>
equivalent to SQLSyntaxErrorException
- typos
- missing table
- SQL keyword misuse
- function names/resolution
</pre>
<code>PARSE = 4;</code></div>
</li>
</ul>
<a name="PERMISSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PERMISSION</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> PERMISSION</pre>
<div class="block"><pre>
equivalent to SQLInvalidAuthorizationSpecException
</pre>
<code>PERMISSION = 5;</code></div>
</li>
</ul>
<a name="PLAN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PLAN</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> PLAN</pre>
<div class="block"><pre>
equivalent to SQLNonTransientException
</pre>
<code>PLAN = 6;</code></div>
</li>
</ul>
<a name="RESOURCE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RESOURCE</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> RESOURCE</pre>
<div class="block"><pre>
equivalent to SQLRecoverableException or SQLTransientException
- Recoverable: memory, disk
- Transient: network
</pre>
<code>RESOURCE = 7;</code></div>
</li>
</ul>
<a name="SYSTEM">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SYSTEM</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> SYSTEM</pre>
<div class="block"><pre>
equivalent to SQLNonTransientException.
- unexpected internal state
- uncategorized operation
general user action is to contact the Drill team for
assistance
</pre>
<code>SYSTEM = 8;</code></div>
</li>
</ul>
<a name="UNSUPPORTED_OPERATION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNSUPPORTED_OPERATION</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> UNSUPPORTED_OPERATION</pre>
<div class="block"><pre>
equivalent to SQLFeatureNotSupportedException
- unimplemented feature, option, or execution path
- schema change in operator that does not support it
</pre>
<code>UNSUPPORTED_OPERATION = 9;</code></div>
</li>
</ul>
<a name="VALIDATION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VALIDATION</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> VALIDATION</pre>
<div class="block"><pre>
SQL validation exception
- invalid schema path
- invalid entries in SQL tree
</pre>
<code>VALIDATION = 10;</code></div>
</li>
</ul>
<a name="EXECUTION_ERROR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXECUTION_ERROR</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> EXECUTION_ERROR</pre>
<div class="block"><pre>
Execution exception
- Internal errors not related to bad code
</pre>
<code>EXECUTION_ERROR = 11;</code></div>
</li>
</ul>
<a name="INTERNAL_ERROR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERNAL_ERROR</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> INTERNAL_ERROR</pre>
<div class="block"><pre>
Internal exception
- Failed assertions
- Other "this should not happen" cases
</pre>
<code>INTERNAL_ERROR = 12;</code></div>
</li>
</ul>
<a name="UNSPECIFIED_ERROR">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UNSPECIFIED_ERROR</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a> UNSPECIFIED_ERROR</pre>
<div class="block"><pre>
Unspecified exception
- Exception caught but cause is unknown
Indicates code that needs revisiting to move error reporting
closer to the cause.
</pre>
<code>UNSPECIFIED_ERROR = 13;</code></div>
</li>
</ul>
</li>
</ul>
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="CONNECTION_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONNECTION_VALUE</h4>
<pre>public static final&nbsp;int CONNECTION_VALUE</pre>
<div class="block"><pre>
equivalent to SQLClientInfoException
- handshake version error
- invalid schema
</pre>
<code>CONNECTION = 0;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.CONNECTION_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DATA_READ_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DATA_READ_VALUE</h4>
<pre>public static final&nbsp;int DATA_READ_VALUE</pre>
<div class="block"><pre>
equivalent to SQLRecoverableException
- corrupt files: can't be read. FS read error
- parsing error due to incomplete or incorrectly written records
</pre>
<code>DATA_READ = 1;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.DATA_READ_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DATA_WRITE_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DATA_WRITE_VALUE</h4>
<pre>public static final&nbsp;int DATA_WRITE_VALUE</pre>
<div class="block"><pre>
equivalent to SQLDataException
- data type unsupported by format
</pre>
<code>DATA_WRITE = 2;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.DATA_WRITE_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FUNCTION_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FUNCTION_VALUE</h4>
<pre>public static final&nbsp;int FUNCTION_VALUE</pre>
<div class="block"><pre>
equivalent to SQLDataException
- Casting errors
- function not found for incoming types after implicit casting
- Flatten misuse
</pre>
<code>FUNCTION = 3;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.FUNCTION_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PARSE_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PARSE_VALUE</h4>
<pre>public static final&nbsp;int PARSE_VALUE</pre>
<div class="block"><pre>
equivalent to SQLSyntaxErrorException
- typos
- missing table
- SQL keyword misuse
- function names/resolution
</pre>
<code>PARSE = 4;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.PARSE_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PERMISSION_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PERMISSION_VALUE</h4>
<pre>public static final&nbsp;int PERMISSION_VALUE</pre>
<div class="block"><pre>
equivalent to SQLInvalidAuthorizationSpecException
</pre>
<code>PERMISSION = 5;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.PERMISSION_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PLAN_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PLAN_VALUE</h4>
<pre>public static final&nbsp;int PLAN_VALUE</pre>
<div class="block"><pre>
equivalent to SQLNonTransientException
</pre>
<code>PLAN = 6;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.PLAN_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="RESOURCE_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RESOURCE_VALUE</h4>
<pre>public static final&nbsp;int RESOURCE_VALUE</pre>
<div class="block"><pre>
equivalent to SQLRecoverableException or SQLTransientException
- Recoverable: memory, disk
- Transient: network
</pre>
<code>RESOURCE = 7;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.RESOURCE_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SYSTEM_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SYSTEM_VALUE</h4>
<pre>public static final&nbsp;int SYSTEM_VALUE</pre>
<div class="block"><pre>
equivalent to SQLNonTransientException.
- unexpected internal state
- uncategorized operation
general user action is to contact the Drill team for
assistance
</pre>
<code>SYSTEM = 8;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.SYSTEM_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="UNSUPPORTED_OPERATION_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNSUPPORTED_OPERATION_VALUE</h4>
<pre>public static final&nbsp;int UNSUPPORTED_OPERATION_VALUE</pre>
<div class="block"><pre>
equivalent to SQLFeatureNotSupportedException
- unimplemented feature, option, or execution path
- schema change in operator that does not support it
</pre>
<code>UNSUPPORTED_OPERATION = 9;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.UNSUPPORTED_OPERATION_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="VALIDATION_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VALIDATION_VALUE</h4>
<pre>public static final&nbsp;int VALIDATION_VALUE</pre>
<div class="block"><pre>
SQL validation exception
- invalid schema path
- invalid entries in SQL tree
</pre>
<code>VALIDATION = 10;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.VALIDATION_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="EXECUTION_ERROR_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXECUTION_ERROR_VALUE</h4>
<pre>public static final&nbsp;int EXECUTION_ERROR_VALUE</pre>
<div class="block"><pre>
Execution exception
- Internal errors not related to bad code
</pre>
<code>EXECUTION_ERROR = 11;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.EXECUTION_ERROR_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="INTERNAL_ERROR_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERNAL_ERROR_VALUE</h4>
<pre>public static final&nbsp;int INTERNAL_ERROR_VALUE</pre>
<div class="block"><pre>
Internal exception
- Failed assertions
- Other "this should not happen" cases
</pre>
<code>INTERNAL_ERROR = 12;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.INTERNAL_ERROR_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="UNSPECIFIED_ERROR_VALUE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UNSPECIFIED_ERROR_VALUE</h4>
<pre>public static final&nbsp;int UNSPECIFIED_ERROR_VALUE</pre>
<div class="block"><pre>
Unspecified exception
- Exception caught but cause is unknown
Indicates code that needs revisiting to move error reporting
closer to the cause.
</pre>
<code>UNSPECIFIED_ERROR = 13;</code></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.proto.UserBitShared.DrillPBError.ErrorType.UNSPECIFIED_ERROR_VALUE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (UserBitShared.DrillPBError.ErrorType c : UserBitShared.DrillPBError.ErrorType.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&nbsp;valueOf(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a name="getNumber--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumber</h4>
<pre>public final&nbsp;int&nbsp;getNumber()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getNumber</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Internal.EnumLite</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getNumber</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.ProtocolMessageEnum</code></dd>
</dl>
</li>
</ul>
<a name="valueOf-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&nbsp;valueOf(int&nbsp;value)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html#forNumber-int-"><code>forNumber(int)</code></a> instead.</span></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The numeric wire value of the corresponding enum entry.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The enum associated with the given numeric wire value.</dd>
</dl>
</li>
</ul>
<a name="forNumber-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forNumber</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&nbsp;forNumber(int&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The numeric wire value of the corresponding enum entry.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The enum associated with the given numeric wire value.</dd>
</dl>
</li>
</ul>
<a name="internalGetValueMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>internalGetValueMap</h4>
<pre>public static&nbsp;com.google.protobuf.Internal.EnumLiteMap&lt;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&gt;&nbsp;internalGetValueMap()</pre>
</li>
</ul>
<a name="getValueDescriptor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueDescriptor</h4>
<pre>public final&nbsp;com.google.protobuf.Descriptors.EnumValueDescriptor&nbsp;getValueDescriptor()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getValueDescriptor</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.ProtocolMessageEnum</code></dd>
</dl>
</li>
</ul>
<a name="getDescriptorForType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptorForType</h4>
<pre>public final&nbsp;com.google.protobuf.Descriptors.EnumDescriptor&nbsp;getDescriptorForType()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getDescriptorForType</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.ProtocolMessageEnum</code></dd>
</dl>
</li>
</ul>
<a name="getDescriptor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
<pre>public static final&nbsp;com.google.protobuf.Descriptors.EnumDescriptor&nbsp;getDescriptor()</pre>
</li>
</ul>
<a name="valueOf-com.google.protobuf.Descriptors.EnumValueDescriptor-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" title="enum in org.apache.drill.exec.proto">UserBitShared.DrillPBError.ErrorType</a>&nbsp;valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor&nbsp;desc)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/UserBitShared.DrillPBError.ErrorType.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBError.Builder.html" title="class in org.apache.drill.exec.proto"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.DrillPBErrorOrBuilder.html" title="interface in org.apache.drill.exec.proto"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/drill/exec/proto/UserBitShared.DrillPBError.ErrorType.html" target="_top">Frames</a></li>
<li><a href="UserBitShared.DrillPBError.ErrorType.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>