aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaFactory.java
diff options
context:
space:
mode:
authorJacques Nadeau <jacques@apache.org>2014-04-14 07:37:02 -0700
committerJacques Nadeau <jacques@apache.org>2014-04-19 18:07:12 -0700
commitecaa838fe7194c197884f0a1b6fb6f8a9683cede (patch)
tree14f7d7f9f348a82759850448b3aed0779a8a374f /exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaFactory.java
parentba0a6393cea74c89c6f286a88984de6e3ec3762a (diff)
Move to Optiq 0.6
Also includes: -improve exception catching -move schema path parsing to Antlr -close zookeeper connection on if client created -enhance BaseTestQuery and have other query tests utilize it -Various test fixes for better memory release. still needs client allocator to be closed. -refactor DrillSqlWorker and create multiple SqlHandlers -Add PojoRecordReader and DirectPlan capabilities -Update Antlr to use same quoting rules as SQL: single quote for quoted strings, back ticks for identifiers -Move back to old Sorts until bugs are fixed -Refector SelectionVector management within Prels -Add support for NO_EXCHANGES option -Extract SchemaFactories to use Optiq's new Schema handling capabilities -Add basic handling of cancel in UserServer -Remove output requirement from Project -Add start of usercredentials to User communication
Diffstat (limited to 'exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaFactory.java')
-rw-r--r--exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaFactory.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaFactory.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaFactory.java
index a8d053ca8..60ccbe865 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaFactory.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaFactory.java
@@ -17,11 +17,12 @@
*/
package org.apache.drill.exec.store;
-import net.hydromatic.optiq.Schema;
import net.hydromatic.optiq.SchemaPlus;
+import org.apache.drill.exec.rpc.user.DrillUser;
+
public interface SchemaFactory {
static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(SchemaFactory.class);
-
- public Schema add(SchemaPlus parent);
+
+ public void registerSchemas(DrillUser user, SchemaPlus parent);
}