You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gearpump.apache.org by ma...@apache.org on 2017/07/09 00:18:21 UTC
[08/20] incubator-gearpump git commit: Add sql model
Add sql model
Project: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/commit/feaf04bb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/tree/feaf04bb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/diff/feaf04bb
Branch: refs/heads/sql
Commit: feaf04bb4f882266265626d9b2d1552b7ee471c1
Parents: 7e9cf0d
Author: Buddhi Ayesha <bu...@cse.mrt.ac.lk>
Authored: Fri Jun 2 11:23:54 2017 +0530
Committer: manuzhang <ow...@gmail.com>
Committed: Sun Jul 9 07:50:25 2017 +0800
----------------------------------------------------------------------
.../gearpump/experiments/sql/model/Model.scala | 35 ++++++++++++++++++++
1 file changed, 35 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/feaf04bb/experiments/sql/src/main/scala/org/apache/gearpump/experiments/sql/model/Model.scala
----------------------------------------------------------------------
diff --git a/experiments/sql/src/main/scala/org/apache/gearpump/experiments/sql/model/Model.scala b/experiments/sql/src/main/scala/org/apache/gearpump/experiments/sql/model/Model.scala
new file mode 100644
index 0000000..d8a0ad6
--- /dev/null
+++ b/experiments/sql/src/main/scala/org/apache/gearpump/experiments/sql/model/Model.scala
@@ -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.gearpump.experiments.sql.model
+
+class Model {
+
+ object QueryStatus extends Enumeration {
+ type QueryStatus = Value
+ val ACCEPTED, RUNNING, FAILED, COMPLETED = Value
+ }
+
+ var status = null
+ var id = null
+ var version = null
+ var whenCreated = null
+ var whenUpdated = null
+
+
+}