aboutsummaryrefslogtreecommitdiff
path: root/sql/hive-thriftserver/src/gen/java/org/apache/hive/service/cli/thrift/TOperationType.java
diff options
context:
space:
mode:
Diffstat (limited to 'sql/hive-thriftserver/src/gen/java/org/apache/hive/service/cli/thrift/TOperationType.java')
-rw-r--r--sql/hive-thriftserver/src/gen/java/org/apache/hive/service/cli/thrift/TOperationType.java66
1 files changed, 66 insertions, 0 deletions
diff --git a/sql/hive-thriftserver/src/gen/java/org/apache/hive/service/cli/thrift/TOperationType.java b/sql/hive-thriftserver/src/gen/java/org/apache/hive/service/cli/thrift/TOperationType.java
new file mode 100644
index 0000000000..b6d4b2fab9
--- /dev/null
+++ b/sql/hive-thriftserver/src/gen/java/org/apache/hive/service/cli/thrift/TOperationType.java
@@ -0,0 +1,66 @@
+/**
+ * Autogenerated by Thrift Compiler (0.9.0)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ * @generated
+ */
+package org.apache.hive.service.cli.thrift;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum TOperationType implements org.apache.thrift.TEnum {
+ EXECUTE_STATEMENT(0),
+ GET_TYPE_INFO(1),
+ GET_CATALOGS(2),
+ GET_SCHEMAS(3),
+ GET_TABLES(4),
+ GET_TABLE_TYPES(5),
+ GET_COLUMNS(6),
+ GET_FUNCTIONS(7),
+ UNKNOWN(8);
+
+ private final int value;
+
+ private TOperationType(int value) {
+ this.value = value;
+ }
+
+ /**
+ * Get the integer value of this enum value, as defined in the Thrift IDL.
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * Find a the enum type by its integer value, as defined in the Thrift IDL.
+ * @return null if the value is not found.
+ */
+ public static TOperationType findByValue(int value) {
+ switch (value) {
+ case 0:
+ return EXECUTE_STATEMENT;
+ case 1:
+ return GET_TYPE_INFO;
+ case 2:
+ return GET_CATALOGS;
+ case 3:
+ return GET_SCHEMAS;
+ case 4:
+ return GET_TABLES;
+ case 5:
+ return GET_TABLE_TYPES;
+ case 6:
+ return GET_COLUMNS;
+ case 7:
+ return GET_FUNCTIONS;
+ case 8:
+ return UNKNOWN;
+ default:
+ return null;
+ }
+ }
+}