Skip to content
Permalink
Browse files
Fixed exceptions in BAD statements
Change-Id: I66a08b7e618048ec00bd8e8fd2e0e83fe1a90995
  • Loading branch information
sjaco002 committed Jan 16, 2017
1 parent 088e8ee commit 202ef5dc1ef4fb2549717f5ed578c14662b9396a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
@@ -22,7 +22,7 @@
import org.apache.asterix.app.translator.QueryTranslator;
import org.apache.asterix.bad.lang.BADLangExtension;
import org.apache.asterix.bad.metadata.Broker;
import org.apache.asterix.common.exceptions.AsterixException;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.lang.common.struct.Identifier;
import org.apache.asterix.lang.common.visitor.base.ILangVisitor;
import org.apache.asterix.metadata.MetadataManager;
@@ -71,7 +71,7 @@ public byte getCategory() {
}

@Override
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws AsterixException {
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws CompilationException {
return null;
}

@@ -34,6 +34,7 @@
import org.apache.asterix.bad.metadata.ChannelEventsListener;
import org.apache.asterix.bad.runtime.RepetitiveChannelOperatorNodePushable;
import org.apache.asterix.common.exceptions.AsterixException;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.common.messaging.api.ICCMessageBroker;
import org.apache.asterix.external.feed.api.IActiveLifecycleEventSubscriber;
import org.apache.asterix.external.feed.api.IActiveLifecycleEventSubscriber.ActiveLifecycleEvent;
@@ -89,7 +90,7 @@ public byte getCategory() {
}

@Override
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws AsterixException {
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws CompilationException {
return null;
}

@@ -28,6 +28,7 @@
import org.apache.asterix.bad.metadata.Broker;
import org.apache.asterix.bad.metadata.Channel;
import org.apache.asterix.common.exceptions.AsterixException;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.common.functions.FunctionSignature;
import org.apache.asterix.lang.aql.expression.FLWOGRExpression;
import org.apache.asterix.lang.common.base.Clause;
@@ -120,7 +121,7 @@ public byte getCategory() {
}

@Override
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws AsterixException {
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws CompilationException {
return null;
}

@@ -27,6 +27,7 @@
import org.apache.asterix.bad.lang.BADLangExtension;
import org.apache.asterix.bad.metadata.Channel;
import org.apache.asterix.common.exceptions.AsterixException;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.common.functions.FunctionSignature;
import org.apache.asterix.lang.aql.visitor.AqlDeleteRewriteVisitor;
import org.apache.asterix.lang.common.base.Expression;
@@ -112,7 +113,7 @@ public byte getCategory() {
}

@Override
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws AsterixException {
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws CompilationException {
return null;
}

@@ -25,7 +25,7 @@
import org.apache.asterix.app.translator.QueryTranslator;
import org.apache.asterix.bad.lang.BADLangExtension;
import org.apache.asterix.bad.metadata.Broker;
import org.apache.asterix.common.exceptions.AsterixException;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.lang.common.struct.Identifier;
import org.apache.asterix.lang.common.visitor.base.ILangVisitor;
import org.apache.asterix.metadata.MetadataManager;
@@ -75,7 +75,7 @@ public byte getCategory() {
}

@Override
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws AsterixException {
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws CompilationException {
return null;
}

@@ -45,6 +45,7 @@
import org.apache.asterix.bad.runtime.RepetitiveChannelOperatorDescriptor;
import org.apache.asterix.common.config.DatasetConfig.DatasetType;
import org.apache.asterix.common.exceptions.AsterixException;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.common.functions.FunctionSignature;
import org.apache.asterix.external.feed.api.IActiveLifecycleEventSubscriber;
import org.apache.asterix.external.feed.api.IActiveLifecycleEventSubscriber.ActiveLifecycleEvent;
@@ -152,7 +153,7 @@ public byte getCategory() {
}

@Override
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws AsterixException {
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws CompilationException {
return null;
}

@@ -33,6 +33,7 @@
import org.apache.asterix.bad.metadata.ChannelEventsListener;
import org.apache.asterix.bad.metadata.Procedure;
import org.apache.asterix.common.exceptions.AsterixException;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.common.functions.FunctionSignature;
import org.apache.asterix.external.feed.api.IActiveLifecycleEventSubscriber;
import org.apache.asterix.external.feed.api.IActiveLifecycleEventSubscriber.ActiveLifecycleEvent;
@@ -100,7 +101,7 @@ public byte getCategory() {
}

@Override
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws AsterixException {
public <R, T> R accept(ILangVisitor<R, T> visitor, T arg) throws CompilationException {
return null;
}

0 comments on commit 202ef5d

Please sign in to comment.