aboutsummaryrefslogtreecommitdiff
path: root/logical/src/main/java/org/apache/drill/common/logical/data/Analyze.java
diff options
context:
space:
mode:
authorCliff Buchanan <cbuchanan@maprtech.com>2018-10-16 15:17:43 -0700
committerGautam Parai <gparai@maprtech.com>2019-02-28 12:01:11 -0800
commit3233d8aaff57ac71bd3b726efcd5fdaa92aef861 (patch)
tree1902365b3632531738acb6229400e2220cba8f72 /logical/src/main/java/org/apache/drill/common/logical/data/Analyze.java
parent4627973bde9847a4eb2672c44941136c167326a1 (diff)
DRILL-1328: Support table statistics
Diffstat (limited to 'logical/src/main/java/org/apache/drill/common/logical/data/Analyze.java')
-rw-r--r--logical/src/main/java/org/apache/drill/common/logical/data/Analyze.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/logical/src/main/java/org/apache/drill/common/logical/data/Analyze.java b/logical/src/main/java/org/apache/drill/common/logical/data/Analyze.java
new file mode 100644
index 000000000..711050d70
--- /dev/null
+++ b/logical/src/main/java/org/apache/drill/common/logical/data/Analyze.java
@@ -0,0 +1,35 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.common.logical.data;
+
+import org.apache.drill.common.logical.data.visitors.LogicalVisitor;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+
+@JsonTypeName("analyze")
+public class Analyze extends SingleInputOperator {
+
+ @JsonCreator
+ public Analyze() { }
+
+ @Override
+ public <T, X, E extends Throwable> T accept(LogicalVisitor<T, X, E> logicalVisitor, X value) throws E {
+ return logicalVisitor.visitAnalyze(this, value);
+ }
+}