Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
5f503c15
Commit
5f503c15
authored
7 years ago
by
Barbara Eckman
Committed by
Madhan Neethiraj
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2709: added model for RDBMS types
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
76a20170
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
597 additions
and
0 deletions
+597
-0
2010-rdbms_model.json
addons/models/2000-RDBMS/2010-rdbms_model.json
+597
-0
No files found.
addons/models/2000-RDBMS/2010-rdbms_model.json
0 → 100644
View file @
5f503c15
{
"enumDefs"
:
[],
"structDefs"
:
[],
"classificationDefs"
:
[],
"entityDefs"
:
[
{
"name"
:
"rdbms_instance"
,
"description"
:
"Instance that the rdbms server is running on"
,
"superTypes"
:
[
"DataSet"
,
"Asset"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"rdbms_type"
,
"typeName"
:
"string"
,
"isOptional"
:
false
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
true
},
{
"name"
:
"platform"
,
"typeName"
:
"string"
,
"isOptional"
:
false
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
true
},
{
"name"
:
"cloudOrOnPrem"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"hostname"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"port"
,
"typeName"
:
"int"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"protocol"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"contact_info"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"comment"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"databases"
,
"typeName"
:
"array<rdbms_db>"
,
"isOptional"
:
true
,
"cardinality"
:
"SET"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"ownedRef"
}
]
}
]
},
{
"name"
:
"rdbms_db"
,
"description"
:
"a database (schema) in an rdbms"
,
"superTypes"
:
[
"DataSet"
,
"Asset"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"prodOrOther"
,
"typeName"
:
"string"
,
"isOptional"
:
false
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
true
},
{
"name"
:
"instance"
,
"typeName"
:
"rdbms_instance"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"inverseRef"
,
"params"
:
{
"attribute"
:
"databases"
}
}
]
},
{
"name"
:
"contact_info"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"tables"
,
"typeName"
:
"array<rdbms_table>"
,
"isOptional"
:
true
,
"cardinality"
:
"SET"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"ownedRef"
}
]
}
]
},
{
"name"
:
"rdbms_table"
,
"description"
:
"a table in an rdbms database (schema)"
,
"superTypes"
:
[
"DataSet"
,
"Asset"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"db"
,
"typeName"
:
"rdbms_db"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"inverseRef"
,
"params"
:
{
"attribute"
:
"tables"
}
}
]
},
{
"name"
:
"name_path"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"createTime"
,
"typeName"
:
"date"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"comment"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"type"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"contact_info"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"valuesMinCount"
:
1
,
"valuesMaxCount"
:
1
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"columns"
,
"typeName"
:
"array<rdbms_column>"
,
"isOptional"
:
true
,
"cardinality"
:
"SET"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"ownedRef"
}
]
},
{
"name"
:
"indexes"
,
"typeName"
:
"array<rdbms_index>"
,
"isOptional"
:
true
,
"cardinality"
:
"SET"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"ownedRef"
}
]
},
{
"name"
:
"foreign_keys"
,
"typeName"
:
"array<rdbms_foreign_key>"
,
"isOptional"
:
true
,
"cardinality"
:
"SET"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"ownedRef"
}
]
}
]
},
{
"name"
:
"rdbms_column"
,
"description"
:
"a column in an rdbms table"
,
"superTypes"
:
[
"DataSet"
,
"Asset"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"data_type"
,
"typeName"
:
"string"
,
"isOptional"
:
false
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
true
},
{
"name"
:
"length"
,
"typeName"
:
"int"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"default_value"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"comment"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"table"
,
"typeName"
:
"rdbms_table"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"inverseRef"
,
"params"
:
{
"attribute"
:
"columns"
}
}
]
},
{
"name"
:
"isNullable"
,
"typeName"
:
"boolean"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"isPrimaryKey"
,
"typeName"
:
"boolean"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
}
]
},
{
"name"
:
"rdbms_index"
,
"description"
:
"An index on an RDBMS table"
,
"superTypes"
:
[
"DataSet"
,
"Asset"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"table"
,
"typeName"
:
"rdbms_table"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
,
"constraints"
:
[
{
"type"
:
"inverseRef"
,
"params"
:
{
"attribute"
:
"indexes"
}
}
]
},
{
"name"
:
"index_type"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"isUnique"
,
"typeName"
:
"boolean"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"columns"
,
"typeName"
:
"array<rdbms_column>"
,
"isOptional"
:
true
,
"cardinality"
:
"SET"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"comment"
,
"typeName"
:
"string"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
}
]
},
{
"name"
:
"rdbms_foreign_key"
,
"description"
:
null
,
"superTypes"
:
[
"DataSet"
,
"Asset"
],
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"table"
,
"typeName"
:
"rdbms_table"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"key_columns"
,
"typeName"
:
"array<rdbms_column>"
,
"isOptional"
:
true
,
"cardinality"
:
"SET"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"references_table"
,
"typeName"
:
"rdbms_table"
,
"isOptional"
:
true
,
"cardinality"
:
"SINGLE"
,
"isUnique"
:
false
,
"isIndexable"
:
false
},
{
"name"
:
"references_columns"
,
"typeName"
:
"array<rdbms_column>"
,
"isOptional"
:
true
,
"cardinality"
:
"SET"
,
"isUnique"
:
false
,
"isIndexable"
:
false
}
]
}
],
"relationshipDefs"
:
[
{
"name"
:
"rdbms_instance_databases"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"AGGREGATION"
,
"endDef1"
:
{
"type"
:
"rdbms_instance"
,
"name"
:
"databases"
,
"isContainer"
:
true
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_db"
,
"name"
:
"instance"
,
"isContainer"
:
false
,
"cardinality"
:
"SINGLE"
,
"isLegacyAttribute"
:
true
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"rdbms_db_tables"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"AGGREGATION"
,
"endDef1"
:
{
"type"
:
"rdbms_db"
,
"name"
:
"tables"
,
"isContainer"
:
true
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_table"
,
"name"
:
"db"
,
"isContainer"
:
false
,
"cardinality"
:
"SINGLE"
,
"isLegacyAttribute"
:
true
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"rdbms_table_columns"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"AGGREGATION"
,
"endDef1"
:
{
"type"
:
"rdbms_table"
,
"name"
:
"columns"
,
"isContainer"
:
true
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_column"
,
"name"
:
"table"
,
"isContainer"
:
false
,
"cardinality"
:
"SINGLE"
,
"isLegacyAttribute"
:
true
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"rdbms_table_indexes"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"AGGREGATION"
,
"endDef1"
:
{
"type"
:
"rdbms_table"
,
"name"
:
"indexes"
,
"isContainer"
:
true
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_index"
,
"name"
:
"table"
,
"isContainer"
:
false
,
"cardinality"
:
"SINGLE"
,
"isLegacyAttribute"
:
true
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"rdbms_index_columns"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"ASSOCIATION"
,
"endDef1"
:
{
"type"
:
"rdbms_index"
,
"name"
:
"columns"
,
"isContainer"
:
false
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_column"
,
"name"
:
"indexes"
,
"isContainer"
:
false
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"rdbms_table_foreign_key"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"AGGREGATION"
,
"endDef1"
:
{
"type"
:
"rdbms_table"
,
"name"
:
"foreign_keys"
,
"isContainer"
:
true
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_foreign_key"
,
"name"
:
"table"
,
"isContainer"
:
false
,
"cardinality"
:
"SINGLE"
,
"isLegacyAttribute"
:
true
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"rdbms_foreign_key_key_columns"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"ASSOCIATION"
,
"endDef1"
:
{
"type"
:
"rdbms_foreign_key"
,
"name"
:
"key_columns"
,
"isContainer"
:
false
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_column"
,
"name"
:
"key_column_references"
,
"isContainer"
:
false
,
"cardinality"
:
"SET"
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"rdbms_foreign_key_table_references"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"ASSOCIATION"
,
"endDef1"
:
{
"type"
:
"rdbms_foreign_key"
,
"name"
:
"references_table"
,
"isContainer"
:
false
,
"cardinality"
:
"SINGLE"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_table"
,
"name"
:
"foreign_key_references"
,
"isContainer"
:
false
,
"cardinality"
:
"SET"
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"rdbms_foreign_key_column_references"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"ASSOCIATION"
,
"endDef1"
:
{
"type"
:
"rdbms_foreign_key"
,
"name"
:
"references_columns"
,
"isContainer"
:
false
,
"cardinality"
:
"SET"
,
"isLegacyAttribute"
:
true
},
"endDef2"
:
{
"type"
:
"rdbms_column"
,
"name"
:
"foreign_key_references"
,
"isContainer"
:
false
,
"cardinality"
:
"SET"
},
"propagateTags"
:
"NONE"
}
]
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment