Updated to match code changes to asterix
authorSteven Glenn Jacobs <sjaco002@ucr.edu>
Wed, 7 Dec 2016 19:00:08 +0000 (11:00 -0800)
committerSteven Glenn Jacobs <sjaco002@ucr.edu>
Wed, 7 Dec 2016 19:00:08 +0000 (11:00 -0800)
commitd0ec837761d1e679ee0d8ac57adec12c0d9d4e8b
treeefdda21dfe9b7898bebb81bbf6f3f54ecded395c
parentf73ca8441dc2487e3ee6fddee8787040229fbcbb
Updated to match code changes to asterix

Added Procedure Langauge and Metadata
Restructured to fit with bom pom
Added ChannelJobService for execution tasks
Added string constants file
Added BAD Rewrite Rule Set

Change-Id: I010b81776543e127f09f046a8601bb7184f7de9a
96 files changed:
.gitignore
asterix-bad/pom.xml [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/BADConstants.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/ChannelJobInfo.java [moved from src/main/java/org/apache/asterix/bad/ChannelJobInfo.java with 100% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/ChannelJobService.java [moved from src/main/java/org/apache/asterix/bad/ChannelJobService.java with 51% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/BADCompilationProvider.java [moved from src/main/java/org/apache/asterix/bad/lang/BADCompilationProvider.java with 92% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/BADLangExtension.java [moved from src/main/java/org/apache/asterix/bad/lang/BADLangExtension.java with 69% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/BADParserFactory.java [moved from src/main/java/org/apache/asterix/bad/lang/BADParserFactory.java with 100% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/BADQueryTranslatorExtension.java [moved from src/main/java/org/apache/asterix/bad/lang/BADQueryTranslatorExtension.java with 87% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/BADQueryTranslatorFactory.java [moved from src/main/java/org/apache/asterix/bad/lang/BADQueryTranslatorFactory.java with 84% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/BADRuleSetFactory.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/BADStatementExecutor.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/BrokerDropStatement.java [moved from src/main/java/org/apache/asterix/bad/lang/statement/BrokerDropStatement.java with 95% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/ChannelDropStatement.java [moved from src/main/java/org/apache/asterix/bad/lang/statement/ChannelDropStatement.java with 97% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/ChannelSubscribeStatement.java [moved from src/main/java/org/apache/asterix/bad/lang/statement/ChannelSubscribeStatement.java with 84% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/ChannelUnsubscribeStatement.java [moved from src/main/java/org/apache/asterix/bad/lang/statement/ChannelUnsubscribeStatement.java with 97% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/CreateBrokerStatement.java [moved from src/main/java/org/apache/asterix/bad/lang/statement/CreateBrokerStatement.java with 96% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/CreateChannelStatement.java [moved from src/main/java/org/apache/asterix/bad/lang/statement/CreateChannelStatement.java with 85% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/CreateProcedureStatement.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/BADMetadataExtension.java [moved from src/main/java/org/apache/asterix/bad/metadata/BADMetadataExtension.java with 91% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/BADMetadataIndexes.java [moved from src/main/java/org/apache/asterix/bad/metadata/BADMetadataIndexes.java with 74% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/BADMetadataRecordTypes.java [moved from src/main/java/org/apache/asterix/bad/metadata/BADMetadataRecordTypes.java with 73% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/Broker.java [moved from src/main/java/org/apache/asterix/bad/metadata/Broker.java with 100% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/BrokerSearchKey.java [moved from src/main/java/org/apache/asterix/bad/metadata/BrokerSearchKey.java with 100% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/BrokerTupleTranslator.java [moved from src/main/java/org/apache/asterix/bad/metadata/BrokerTupleTranslator.java with 96% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/Channel.java [moved from src/main/java/org/apache/asterix/bad/metadata/Channel.java with 100% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/ChannelEventsListener.java [moved from src/main/java/org/apache/asterix/bad/metadata/ChannelEventsListener.java with 93% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/ChannelSearchKey.java [moved from src/main/java/org/apache/asterix/bad/metadata/ChannelSearchKey.java with 100% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/ChannelTupleTranslator.java [moved from src/main/java/org/apache/asterix/bad/metadata/ChannelTupleTranslator.java with 97% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/DataverseBrokersSearchKey.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/DataverseChannelsSearchKey.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/Procedure.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/ProcedureSearchKey.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/metadata/ProcedureTupleTranslator.java [new file with mode: 0644]
asterix-bad/src/main/java/org/apache/asterix/bad/rules/InsertBrokerNotifierForChannelRule.java [moved from src/main/java/org/apache/asterix/bad/rules/InsertBrokerNotifierForChannelRule.java with 95% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/runtime/NotifyBrokerOperator.java [moved from src/main/java/org/apache/asterix/bad/runtime/NotifyBrokerOperator.java with 93% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/runtime/NotifyBrokerPOperator.java [moved from src/main/java/org/apache/asterix/bad/runtime/NotifyBrokerPOperator.java with 97% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/runtime/NotifyBrokerRuntime.java [moved from src/main/java/org/apache/asterix/bad/runtime/NotifyBrokerRuntime.java with 90% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/runtime/NotifyBrokerRuntimeFactory.java [moved from src/main/java/org/apache/asterix/bad/runtime/NotifyBrokerRuntimeFactory.java with 95% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/runtime/RepetitiveChannelOperatorDescriptor.java [moved from src/main/java/org/apache/asterix/bad/runtime/RepetitiveChannelOperatorDescriptor.java with 91% similarity]
asterix-bad/src/main/java/org/apache/asterix/bad/runtime/RepetitiveChannelOperatorNodePushable.java [new file with mode: 0644]
asterix-bad/src/main/resources/lang-extension/lang.txt [moved from src/main/resources/lang-extension/lang.txt with 77% similarity]
asterix-bad/src/test/java/org/apache/asterix/bad/test/BADExecutionTest.java [moved from src/test/java/org/apache/asterix/bad/test/BADExecutionTest.java with 100% similarity]
asterix-bad/src/test/java/org/apache/asterix/bad/test/BADOptimizerTest.java [moved from src/test/java/org/apache/asterix/bad/test/BADOptimizerTest.java with 89% similarity]
asterix-bad/src/test/resources/conf/asterix-build-configuration.xml [moved from src/test/resources/conf/asterix-build-configuration.xml with 100% similarity]
asterix-bad/src/test/resources/conf/cluster.xml [moved from src/test/resources/conf/cluster.xml with 100% similarity]
asterix-bad/src/test/resources/conf/hyracks-deployment.properties [moved from src/test/resources/conf/hyracks-deployment.properties with 100% similarity]
asterix-bad/src/test/resources/conf/test.properties [moved from src/test/resources/conf/test.properties with 100% similarity]
asterix-bad/src/test/resources/optimizerts/queries/channel/channel-create.aql [moved from src/test/resources/optimizerts/queries/channel/channel-create.aql with 100% similarity]
asterix-bad/src/test/resources/optimizerts/queries/channel/channel-subscribe.aql [moved from src/test/resources/optimizerts/queries/channel/channel-subscribe.aql with 90% similarity]
asterix-bad/src/test/resources/optimizerts/queries/channel/channel-unsubscribe.aql [moved from src/test/resources/optimizerts/queries/channel/channel-unsubscribe.aql with 90% similarity]
asterix-bad/src/test/resources/optimizerts/results/channel/channel-create.plan [new file with mode: 0644]
asterix-bad/src/test/resources/optimizerts/results/channel/channel-subscribe.plan [new file with mode: 0644]
asterix-bad/src/test/resources/optimizerts/results/channel/channel-unsubscribe.plan [new file with mode: 0644]
asterix-bad/src/test/resources/runtimets/queries/channel/create_channel_check_datasets/create_channel_check_datasets.1.ddl.aql [moved from src/test/resources/runtimets/queries/channel/create_channel_check_datasets/create_channel_check_datasets.1.ddl.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/create_channel_check_datasets/create_channel_check_datasets.3.query.aql [moved from src/test/resources/runtimets/queries/channel/create_channel_check_datasets/create_channel_check_datasets.3.query.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/create_channel_check_metadata/create_channel_check_metadata.1.ddl.aql [moved from src/test/resources/runtimets/queries/channel/create_channel_check_metadata/create_channel_check_metadata.1.ddl.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/create_channel_check_metadata/create_channel_check_metadata.3.query.aql [moved from src/test/resources/runtimets/queries/channel/create_channel_check_metadata/create_channel_check_metadata.3.query.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/drop_channel_check_datasets/drop_channel_check_datasets.1.ddl.aql [moved from src/test/resources/runtimets/queries/channel/drop_channel_check_datasets/drop_channel_check_datasets.1.ddl.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/drop_channel_check_datasets/drop_channel_check_datasets.2.ddl.aql [moved from src/test/resources/runtimets/queries/channel/drop_channel_check_datasets/drop_channel_check_datasets.2.ddl.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/drop_channel_check_datasets/drop_channel_check_datasets.3.query.aql [moved from src/test/resources/runtimets/queries/channel/drop_channel_check_datasets/drop_channel_check_datasets.3.query.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/drop_channel_check_metadata/drop_channel_check_metadata.1.ddl.aql [moved from src/test/resources/runtimets/queries/channel/drop_channel_check_metadata/drop_channel_check_metadata.1.ddl.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/drop_channel_check_metadata/drop_channel_check_metadata.2.ddl.aql [moved from src/test/resources/runtimets/queries/channel/drop_channel_check_metadata/drop_channel_check_metadata.2.ddl.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/drop_channel_check_metadata/drop_channel_check_metadata.3.query.aql [new file with mode: 0644]
asterix-bad/src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.1.ddl.aql [moved from src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.1.ddl.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.2.update.aql [moved from src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.2.update.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.3.query.aql [moved from src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.3.query.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.4.update.aql [moved from src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.4.update.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.5.sleep.aql [moved from src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.5.sleep.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.6.update.aql [moved from src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.6.update.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.7.query.aql [moved from src/test/resources/runtimets/queries/channel/room_occupants/room_occupants.7.query.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.1.ddl.aql [moved from src/test/resources/runtimets/queries/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.1.ddl.aql with 90% similarity]
asterix-bad/src/test/resources/runtimets/queries/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.2.update.aql [new file with mode: 0644]
asterix-bad/src/test/resources/runtimets/queries/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.3.update.aql [new file with mode: 0644]
asterix-bad/src/test/resources/runtimets/queries/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.4.update.aql [new file with mode: 0644]
asterix-bad/src/test/resources/runtimets/queries/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.5.query.aql [moved from src/test/resources/runtimets/queries/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.3.query.aql with 100% similarity]
asterix-bad/src/test/resources/runtimets/results/channel/create_channel_check_datasets/create_channel_check_datasets.1.adm [moved from src/test/resources/runtimets/results/channel/create_channel_check_datasets/create_channel_check_datasets.1.adm with 100% similarity]
asterix-bad/src/test/resources/runtimets/results/channel/create_channel_check_metadata/create_channel_check_metadata.1.adm [moved from src/test/resources/runtimets/results/channel/create_channel_check_metadata/create_channel_check_metadata.1.adm with 100% similarity]
asterix-bad/src/test/resources/runtimets/results/channel/drop_channel_check_datasets/drop_channel_check_datasets.1.adm [moved from src/test/resources/runtimets/results/channel/drop_channel_check_datasets/drop_channel_check_datasets.1.adm with 100% similarity]
asterix-bad/src/test/resources/runtimets/results/channel/drop_channel_check_metadata/drop_channel_check_metadata.1.adm [new file with mode: 0644]
asterix-bad/src/test/resources/runtimets/results/channel/room_occupants/room_occupants.3.adm [moved from src/test/resources/runtimets/results/channel/room_occupants/room_occupants.3.adm with 100% similarity]
asterix-bad/src/test/resources/runtimets/results/channel/room_occupants/room_occupants.7.adm [moved from src/test/resources/runtimets/results/channel/room_occupants/room_occupants.7.adm with 100% similarity]
asterix-bad/src/test/resources/runtimets/results/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.1.adm [new file with mode: 0644]
asterix-bad/src/test/resources/runtimets/testsuite.xml [moved from src/test/resources/runtimets/testsuite.xml with 100% similarity]
asterix-opt-bom/pom.xml [new file with mode: 0644]
pom.xml
src/main/java/org/apache/asterix/bad/BADConstants.java [deleted file]
src/main/java/org/apache/asterix/bad/lang/BADStatementExecutor.java [deleted file]
src/main/java/org/apache/asterix/bad/runtime/RepetitiveChannelOperatorNodePushable.java [deleted file]
src/test/resources/optimizerts/results/channel/channel-create.plan [deleted file]
src/test/resources/optimizerts/results/channel/channel-subscribe.plan [deleted file]
src/test/resources/optimizerts/results/channel/channel-unsubscribe.plan [deleted file]
src/test/resources/runtimets/queries/channel/drop_channel_check_metadata/drop_channel_check_metadata.3.query.aql [deleted file]
src/test/resources/runtimets/queries/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.2.update.aql [deleted file]
src/test/resources/runtimets/results/channel/drop_channel_check_metadata/drop_channel_check_metadata.1.adm [deleted file]
src/test/resources/runtimets/results/channel/subscribe_channel_check_subscriptions/subscribe_channel_check_subscriptions.1.adm [deleted file]