Skip to content

Commit 8d2fa26

Browse files
committed
Added Counter data type, TTL to colFam, fixed namespace label and row key pattern regex
1 parent 71a7b71 commit 8d2fa26

File tree

5 files changed

+49
-4
lines changed

5 files changed

+49
-4
lines changed

localization/en.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"OBJECT___BROWSER_VIEWS": "Views",
2626
"OBJECT___BROWSER_DEFINITIONS": "Definitions",
2727
"OBJECT___BROWSER_FIELDS": "Columns",
28-
"PROPERTIES_PANE___BUCKET_NAME": "Naspace name",
28+
"PROPERTIES_PANE___BUCKET_NAME": "Namespace name",
2929
"PROPERTIES_PANE___VIEW_NAME": "View name",
3030
"PROPERTIES_PANE___COLLECTION_NAME": "Table",
3131
"PROPERTIES_PANE___FOREIGN_COLLECTION": "Foreign table",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "HBase",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"versionDate": "2017-11-2",
55
"author": "hackolade",
66
"engines": {

properties_pane/container_level/containerLevelConfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ making sure that you maintain a proper JSON format.
8787
"labelName": "Row Key",
8888
"propertyName": "Row Key",
8989
"propertyKeyword": "rowKey",
90-
"defaultName": "^Row Key[0-9]*$",
90+
"defaultName": "^[a-zA-Z0-9_.-]*$",
9191
"propertyPrimaryKey": true,
9292
"propertyType": "text",
9393
"typeName": "Data type",

properties_pane/field_level/fieldLevelConfig.json

+19-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,24 @@ making sure that you maintain a proper JSON format.
8383
{
8484
"lowerTab": "JsonDetails",
8585
"structure": {
86-
"colFam": "document",
86+
"colFam": [
87+
"name",
88+
"schemaId",
89+
"type",
90+
"description",
91+
"dependencies",
92+
"required",
93+
{
94+
"propertyName": "Time-to-Live",
95+
"propertyKeyword": "ttl",
96+
"propertyValidate": true,
97+
"propertyType": "numeric",
98+
"valueType": "number",
99+
"allowNegative": false,
100+
"sampleGen": "&containerName|&entityName|&random|<value>"
101+
},
102+
"comments"
103+
],
87104
"colQual": "document",
88105
"byte": "string",
89106
"string": [
@@ -145,6 +162,7 @@ making sure that you maintain a proper JSON format.
145162
"sample",
146163
"comments"
147164
],
165+
"counter": "numeric",
148166
"boolean": "boolean",
149167
"object": "document",
150168
"array": "array",

types/counter.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "counter",
3+
"erdAbbreviation": "<cnt>",
4+
"dtdAbbreviation": "{1..x}",
5+
"parentType": "numeric",
6+
"sample": 15,
7+
"useSample": true,
8+
"defaultValues": {
9+
"unit": "",
10+
"minimum": "",
11+
"exclusiveMinimum": false,
12+
"maximum": "",
13+
"exclusiveMaximum": false,
14+
"multipleOf": "",
15+
"divisibleBy": "",
16+
"default": "",
17+
"primaryKey": false,
18+
"relationshipType": "",
19+
"parentRelationship": "",
20+
"childRelationships": [],
21+
"foreignCollection": "",
22+
"foreignField": [],
23+
"enum": [],
24+
"mode": "",
25+
"sample": ""
26+
}
27+
}

0 commit comments

Comments
 (0)