Repository: incubator-atlas
Updated Branches:
  refs/heads/master 9dc96c467 -> 94a827220


ATLAS-1309: updated HBase model with addition of column-family and column 
entity-defs


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/4db76f95
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/4db76f95
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/4db76f95

Branch: refs/heads/master
Commit: 4db76f9594f442045990bfb4f055868b959aaafc
Parents: 9dc96c4
Author: Madhan Neethiraj <[email protected]>
Authored: Thu Nov 17 20:36:35 2016 -0800
Committer: Madhan Neethiraj <[email protected]>
Committed: Sun Nov 20 11:26:45 2016 -0800

----------------------------------------------------------------------
 addons/models/0060-hbase_model.json | 50 ++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/4db76f95/addons/models/0060-hbase_model.json
----------------------------------------------------------------------
diff --git a/addons/models/0060-hbase_model.json 
b/addons/models/0060-hbase_model.json
index d249d87..5febbbc 100644
--- a/addons/models/0060-hbase_model.json
+++ b/addons/models/0060-hbase_model.json
@@ -19,6 +19,56 @@
                     "isUnique": false
                 }
             ]
+        },
+        {
+            "name": "hbase_column_family",
+            "superTypes": [
+                "DataSet"
+            ],
+            "attributeDefs": [
+                {
+                    "name": "table",
+                    "typeName": "hbase_table",
+                    "cardinality": "SINGLE",
+                    "isIndexable": false,
+                    "isOptional": false,
+                    "isUnique": false,
+                    "constraintDefs": [
+                        {
+                            "type": "foreignKey",
+                            "params": {
+                                "onDelete": "cascade"
+                            }
+                        }
+                    ]
+                }
+            ],
+            "typeVersion": "1.0"
+        },
+        {
+            "name": "hbase_column",
+            "superTypes": [
+                "DataSet"
+            ],
+            "attributeDefs": [
+                {
+                    "name": "column_family",
+                    "typeName": "hbase_column_family",
+                    "cardinality": "SINGLE",
+                    "isIndexable": false,
+                    "isOptional": false,
+                    "isUnique": false,
+                    "constraintDefs": [
+                        {
+                            "type": "foreignKey",
+                            "params": {
+                                "onDelete": "cascade"
+                            }
+                        }
+                    ]
+                }
+            ],
+            "typeVersion": "1.0"
         }
     ]
 }

Reply via email to