Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill, mail # dev - [06/24] status changes


Copy link to this message
-
[06/24] status changes
jacques@... 2014-05-22, 01:14
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/5472140a/protocol/src/main/java/org/apache/drill/exec/proto/UserBitShared.java
diff --git a/protocol/src/main/java/org/apache/drill/exec/proto/UserBitShared.java b/protocol/src/main/java/org/apache/drill/exec/proto/UserBitShared.java
index 0631f6a..26c74a1 100644
+++ b/protocol/src/main/java/org/apache/drill/exec/proto/UserBitShared.java
@@ -116,6 +116,440 @@ public final class UserBitShared {
     // @@protoc_insertion_point(enum_scope:exec.shared.RpcChannel)
   }
 
+  /**
+   * Protobuf enum {@code exec.shared.QueryType}
+   */
+  public enum QueryType
+      implements com.google.protobuf.ProtocolMessageEnum {
+    /**
+     * <code>SQL = 1;</code>
+     */
+    SQL(0, 1),
+    /**
+     * <code>LOGICAL = 2;</code>
+     */
+    LOGICAL(1, 2),
+    /**
+     * <code>PHYSICAL = 3;</code>
+     */
+    PHYSICAL(2, 3),
+    ;
+
+    /**
+     * <code>SQL = 1;</code>
+     */
+    public static final int SQL_VALUE = 1;
+    /**
+     * <code>LOGICAL = 2;</code>
+     */
+    public static final int LOGICAL_VALUE = 2;
+    /**
+     * <code>PHYSICAL = 3;</code>
+     */
+    public static final int PHYSICAL_VALUE = 3;
+
+
+    public final int getNumber() { return value; }
+
+    public static QueryType valueOf(int value) {
+      switch (value) {
+        case 1: return SQL;
+        case 2: return LOGICAL;
+        case 3: return PHYSICAL;
+        default: return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap<QueryType>
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static com.google.protobuf.Internal.EnumLiteMap<QueryType>
+        internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap<QueryType>() {
+            public QueryType findValueByNumber(int number) {
+              return QueryType.valueOf(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
+      return getDescriptor().getValues().get(index);
+    }
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
+      return getDescriptor();
+    }
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return org.apache.drill.exec.proto.UserBitShared.getDescriptor().getEnumTypes().get(1);
+    }
+
+    private static final QueryType[] VALUES = values();
+
+    public static QueryType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      if (desc.getType() != getDescriptor()) {
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
+      }
+      return VALUES[desc.getIndex()];
+    }
+
+    private final int index;
+    private final int value;
+
+    private QueryType(int index, int value) {
+      this.index = index;
+      this.value = value;
+    }
+
+    // @@protoc_insertion_point(enum_scope:exec.shared.QueryType)
+  }
+
+  /**
+   * Protobuf enum {@code exec.shared.CoreOperatorType}
+   */
+  public enum CoreOperatorType
+      implements com.google.protobuf.ProtocolMessageEnum {
+    /**
+     * <code>SINGLE_SENDER = 0;</code>
+     */
+    SINGLE_SENDER(0, 0),
+    /**
+     * <code>BROADCAST_SENDER = 1;</code>
+     */
+    BROADCAST_SENDER(1, 1),
+    /**
+     * <code>FILTER = 2;</code>
+     */
+    FILTER(2, 2),
+    /**
+     * <code>HASH_AGGREGATE = 3;</code>
+     */
+    HASH_AGGREGATE(3, 3),
+    /**
+     * <code>HASH_JOIN = 4;</code>
+     */
+    HASH_JOIN(4, 4),
+    /**
+     * <code>MERGE_JOIN = 5;</code>
+     */
+    MERGE_JOIN(5, 5),
+    /**
+     * <code>HASH_PARTITION_SENDER = 6;</code>
+     */
+    HASH_PARTITION_SENDER(6, 6),
+    /**
+     * <code>LIMIT = 7;</code>
+     */
+    LIMIT(7, 7),
+    /**
+     * <code>MERGING_RECEIVER = 8;</code>
+     */
+    MERGING_RECEIVER(8, 8),
+    /**
+     * <code>ORDERED_PARTITION_SENDER = 9;</code>
+     */
+    ORDERED_PARTITION_SENDER(9, 9),
+    /**
+     * <code>PROJECT = 10;</code>
+     */
+    PROJECT(10, 10),
+    /**
+     * <code>RANDOM_RECEIVER = 11;</code>
+     */
+    RANDOM_RECEIVER(11, 11),
+    /**
+     * <code>RANGE_SENDER = 12;</code>
+     */
+    RANGE_SENDER(12, 12),
+    /**
+     * <code>SCREEN = 13;</code>
+     */
+    SCREEN(13, 13),
+    /**
+     * <code>SELECTION_VECTOR_REMOVER = 14;</code>
+     */
+    SELECTION_VECTOR_REMOVER(14, 14),
+    /**
+     * <code>STREAMING_AGGREGATE = 15;</code>
+     */
+    STREAMING_AGGREGATE(15, 15),
+    /**
+     * <code>TOP_N_SORT = 16;</code>
+     */
+    TOP_N_SORT(16, 16),
+    /**
+     * <code>EXTERNAL_SORT = 17;</code>
+     */
+    EXTERNAL_SORT(17, 17),
+    /**
+     * <code>TRACE = 18;</code>
+     */
+    TRACE(18, 18),
+    /**
+     * <code>UNION = 19;</code>
+     */
+    UNION(19, 19),
+    /**
+     * <code>OLD_SORT = 20;</code>
+     */
+    OLD_SORT(20, 20),
+    /**
+     * <code>PARQUET_ROW_GROUP_SCAN = 21;</code>
+     */
+    PARQUET_ROW_GROUP_SCAN(21, 21),
+    /**
+     * <code>HIVE_SUB_SCAN = 22;</code>
+     */
+    HIVE_SUB_SCAN(22, 22),
+    /**
+     * <code>SYSTEM_TABLE_SCAN = 23;</code>
+     */
+    SYSTEM_TABLE_SCAN(23, 23),
+    /**
+     * <code>MOCK_SUB_SCAN = 24;</code>
+     */
+    MOCK_SUB_SCAN(24, 24),
+    /**
+     * <code>PARQUET_WRITER = 25;</code>
+     */
+    PARQUET_WRITER(25, 25),
+    /**
+     * <code>DIRECT_SUB_SCAN = 26;</code>
+     */
+    DIRECT_SUB_SCAN(26, 26),
+    /**
+     * <code>TEXT_WRITER = 27;</code>
+     */
+    TEXT_WRITER(27, 27),
+    /**
+     * <code>TEXT_SUB_SCAN = 28;</code>
+     */
+    TEXT_SUB_SCAN(28, 28),
+    /**
+     * <code>JSON_SUB_SCAN = 29;</code>
+     */
+    JSON_SUB_SCAN(29, 29),
+    /**
+     * <code>INFO_SCHEMA_SUB_SCAN = 30;</code>
+     */
+    INFO_SCHEMA_SUB_SCAN(30, 30),
+    ;
+
+    /**
+     * <code>SINGLE_SENDER = 0;</code>
+     */
+    public static final int SIN