-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathentityLevelConfig.json
More file actions
1329 lines (1326 loc) · 39.3 KB
/
entityLevelConfig.json
File metadata and controls
1329 lines (1326 loc) · 39.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Copyright © 2016-2020 by IntegrIT S.A. dba Hackolade. All rights reserved.
*
* The copyright to the computer software herein is the property of IntegrIT S.A.
* The software may be used and/or copied only with the written permission of
* IntegrIT S.A. or in accordance with the terms and conditions stipulated in
* the agreement/contract under which the software has been supplied.
In order to define custom properties for any object's properties pane, you may copy/paste from the following,
making sure that you maintain a proper JSON format.
{
"propertyName": "Simple text",
"propertyKeyword": "simpletextProp",
"propertyType": "text",
"sampleGen": "&containerName|&entityName|&random|<value>"
},
{
"propertyName": "Text area",
"propertyKeyword": "textareaProp",
"propertyTooltip": "Popup for multi-line text entry",
"propertyType": "details",
"template": "textarea"
},
{
"propertyName": "Dropdown selection",
"propertyKeyword": "dropdownProp",
"propertyTooltip": "Select from list of options",
"propertyType": "select",
"options": [
"Option 1",
"Option 2",
"Option 3",
"Option 4"
]
},
{
"propertyName": "Numeric",
"propertyKeyword": "numericProp",
"propertyValidate": true,
"propertyType": "numeric",
"valueType": "number",
"allowNegative": false,
"sampleGen": "&containerName|&entityName|&random|<value>"
},
{
"propertyName": "Checkbox",
"propertyKeyword": "checkboxProp",
"propertyType": "checkbox"
},
{
"propertyName": "Group",
"propertyType": "group",
"propertyKeyword": "grpProp",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Simple Grp Text",
"propertyKeyword": "simpleGrpText",
"propertyTooltip": "",
"propertyType": "text"
},
{
"propertyName": "Group Number",
"propertyKeyword": "grpNumber",
"propertyType": "numeric",
"valueType": "number",
"allowNegative": false
}
]
},
// “groupInput” can have the following states - 0 items, 1 item, and many items.
// “blockInput” has only 2 states - 0 items or 1 item.
// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing
// and forward-engineering in particular.
{
"propertyName": "Block",
"propertyType": "block",
"propertyKeyword": "grpProp",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Simple Grp Text",
"propertyKeyword": "simpleGrpText",
"propertyTooltip": "",
"propertyType": "text"
},
{
"propertyName": "Group Number",
"propertyKeyword": "grpNumber",
"propertyType": "numeric",
"valueType": "number",
"allowNegative": false
}
]
},
{
"propertyName": "Field List",
"propertyKeyword": "keyList",
"propertyType": "fieldList",
"template": "orderedList"
},
{
"propertyName": "List with attribute",
"propertyKeyword": "keyListOrder",
"propertyType": "fieldList",
"template": "orderedList",
"attributeList": [
"ascending",
"descending"
]
}
*/
[
{
"lowerTab": "Details",
"structure": [
{
"propertyName": "Comments",
"propertyKeyword": "description",
"shouldValidate": false,
"propertyTooltip": "comments",
"addTimestampButton": false,
"propertyType": "details",
"template": "textarea"
},
{
"propertyName": "If not exists",
"propertyKeyword": "ifNotExist",
"propertyType": "checkbox"
},
{
"propertyName": "Temporary",
"propertyKeyword": "temporary",
"propertyTooltip": "The data in a temporary table is visible only to the session that inserts the data into the table. Temporary tables are subject to restrictions.",
"defaultValue": false,
"propertyType": "checkbox"
},
{
"propertyName": "Temporary type",
"propertyKeyword": "temporaryType",
"propertyTooltip": "A private temporary table differs from a temporary table in that its definition and data are visible only within the session that created it.",
"propertyType": "select",
"defaultValue": "global",
"options": ["global", "private"],
"dependency": {
"key": "temporary",
"value": true
}
},
{
"propertyName": "Sharded",
"propertyKeyword": "sharded",
"propertyTooltip": "This clause is valid only if you are using Oracle Sharding, which is a data tier architecture in which data is horizontally partitioned across independent databases. ",
"defaultValue": false,
"propertyType": "checkbox"
},
{
"propertyName": "Duplicated",
"propertyKeyword": "duplicated",
"propertyTooltip": "Table is duplicated on all shards.",
"defaultValue": false,
"propertyType": "checkbox",
"dependency": {
"key": "sharded",
"value": true
}
},
{
"propertyName": "Immutable",
"propertyKeyword": "immutable",
"propertyTooltip": "To create a read-only table that protects data from unauthorized modification by insiders.",
"defaultValue": false,
"propertyType": "checkbox"
},
{
"propertyName": "Storage",
"propertyType": "block",
"propertyKeyword": "storage",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Organization",
"propertyKeyword": "organization",
"propertyTooltip": "Select from list of options",
"propertyType": "select",
"defaultValue": "heap",
"options": ["", "heap", "index", "external"]
},
{
"propertyName": "Tablespace",
"propertyKeyword": "tablespace",
"propertyTooltip": "Specify the tablespace in which Oracle Database creates the table. If you omit TABLESPACE, then the database creates that item in the default tablespace of the owner of the schema containing the table.",
"propertyType": "text"
},
{
"propertyName": "Logging",
"propertyKeyword": "logging",
"propertyTooltip": "Specify whether the creation of the table and of any indexes required because of constraints, partition, or LOB storage characteristics will be logged in the redo log file (LOGGING) or not (NOLOGGING).",
"propertyType": "checkbox",
"dependency": {
"type": "or",
"values": [
{
"key": "organization",
"value": "heap"
},
{
"key": "organization",
"value": "index"
}
]
}
},
{
"propertyName": "Row archival",
"propertyKeyword": "row_archival",
"propertyTooltip": "This clause lets you implement In-Database Archiving, which allows you to designate table rows as active or archived. You can then perform queries on only the active rows within the table. When you specify this clause, a hidden column ORA_ARCHIVE_STATE is created in the table.",
"propertyType": "checkbox"
}
]
},
{
"propertyName": "Blockchain table",
"propertyKeyword": "blockchain",
"propertyTooltip": "When you create a blockchain table, an entry is created in the dictionary table blockchain_table$ owned by SYS .",
"propertyType": "checkbox"
},
{
"propertyName": "Blockchain table clauses",
"propertyType": "block",
"propertyKeyword": "blockchain_table_clauses",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Immutable",
"propertyKeyword": "immutable",
"propertyTooltip": "Specify whether the creation of the table and of any indexes required because of constraints, partition, or LOB storage characteristics will be logged in the redo log file (LOGGING) or not (NOLOGGING).",
"propertyType": "checkbox"
},
{
"propertyName": "Table retention clause",
"propertyKeyword": "blockchain_table_retention_clause",
"propertyTooltip": "",
"propertyType": "text"
},
{
"propertyName": "Row retention clause",
"propertyKeyword": "blockchain_row_retention_clause",
"propertyTooltip": "",
"propertyType": "text"
},
{
"propertyName": "Hash and data format clause",
"propertyKeyword": "blockchain_hash_and_data_format_clause",
"propertyTooltip": "",
"propertyType": "text"
}
],
"dependency": {
"key": "blockchain",
"value": true
}
},
{
"propertyName": "External table",
"propertyKeyword": "external",
"propertyTooltip": "To create an external table, you must have the required read and write operating system privileges on the appropriate operating system directories.",
"propertyType": "checkbox",
"dependency": {
"key": "temporary",
"value": false
}
},
{
"propertyName": "External table clauses",
"propertyType": "block",
"propertyKeyword": "external_table_clause",
"propertyTooltip": " allows you to process data that is stored outside the database from within the database without loading any of the data into the database. Defining an external table only creates metadata in the data dictionary, pointing to data outside the database and providing seamless read only access to such data.",
"structure": [
{
"propertyName": "Access driver type",
"propertyKeyword": "access_driver_type",
"propertyTooltip": "The access driver is the API that interprets the external data for the database.",
"propertyType": "select",
"defaultValue": "ORACLE_LOADER",
"options": ["ORACLE_LOADER", "ORACLE_DATAPUMP", "ORACLE_BIGDATA", "ORACLE_HIVE", "ORACLE_HDFS"]
},
{
"propertyName": "Default directory",
"propertyKeyword": "default_directory",
"propertyTooltip": "Lets you specify a default directory object corresponding to a directory on the file system where the external data sources may reside.",
"propertyType": "text"
},
{
"propertyName": "Access parameters",
"propertyKeyword": "access_parameter_type",
"propertyTooltip": "Lets you assign values to the parameters of the specific access driver for this external table.",
"propertyType": "select",
"defaultValue": "Opaque Format Spec",
"options": ["Opaque Format Spec", "Using CLOB Subquery", "NONE"]
},
{
"propertyName": "Opaque format spec",
"propertyKeyword": "opaque_format_spec",
"propertyTooltip": "Specifies all access parameters for the ORACLE_LOADER, ORACLE_DATAPUMP, ORACLE_HDFS, and ORACLE_HIVE access drivers. Field names specified in the opaque_format_spec must match columns in the table definition.",
"propertyType": "details",
"template": "textarea",
"markdown": false,
"dependency": {
"key": "access_parameter_type",
"value": "Opaque Format Spec"
}
},
{
"propertyName": "CLOB subquery",
"propertyKeyword": "clob_subquery",
"propertyTooltip": "Lets you derive the parameters and their values through a subquery. The subquery cannot contain any set operators or an ORDER BY clause. It must return one row containing a single item of data type CLOB.",
"propertyType": "details",
"template": "textarea",
"markdown": false,
"dependency": {
"key": "access_parameter_type",
"value": "Using CLOB Subquery"
}
},
{
"propertyName": "Reject limit",
"propertyKeyword": "reject_limit",
"propertyType": "numeric",
"propertyTooltip": "Lets you specify how many conversion errors can occur during a query of the external data before an Oracle Database error is returned and the query is aborted. The default value is 0.",
"valueType": "number",
"step": 1,
"allowNegative": false
},
{
"propertyName": "Project column",
"propertyKeyword": "project_column",
"propertyTooltip": "This clause lets you determine how the access driver validates the rows of an external table in subsequent queries.",
"propertyType": "select",
"defaultValue": "all",
"options": ["all", "referenced"]
},
{
"propertyName": "Location",
"propertyType": "group",
"propertyKeyword": "location",
"propertyTooltip": "lets you specify one or more external data sources.",
"structure": [
{
"propertyName": "Directory",
"propertyKeyword": "location_directory",
"propertyTooltip": "",
"propertyType": "text"
},
{
"propertyName": "Specifier",
"propertyKeyword": "location_specifier",
"propertyTooltip": "",
"propertyType": "text"
}
]
}
],
"dependency": {
"type": "and",
"values": [
{
"key": "temporary",
"value": false
},
{
"key": "external",
"value": true
}
]
}
},
{
"propertyName": "Partitioning",
"propertyKeyword": "partitioning",
"propertyType": "group",
"groupItemLimit": 1,
"propertyTooltip": "Determines how a partitioned table's rows are distributed across partitions",
"structure": [
{
"propertyName": "Partition by",
"propertyKeyword": "partitionBy",
"propertyTooltip": "Choose the desired partition type",
"propertyType": "select",
"defaultValue": "",
"options": [
"",
"range",
"list",
"hash",
"composite range",
"composite list",
"composite hash",
"reference",
"system"
]
},
{
"propertyName": "Columns",
"propertyKeyword": "partitionKey",
"propertyTooltip": "Specify an ordered list of columns used to determine into which partition a row belongs. These columns are the partitioning key.",
"propertyType": "compositeKeySetter",
"disabledItemStrategy": "default",
"isCompositeKey": true,
"setPrimaryKey": false,
"template": "collectiontree",
"abbr": "PK",
"dependency": {
"key": "partitionBy",
"value": ["range", "hash", "list", "composite range", "composite list", "composite hash"]
}
},
{
"propertyName": "Interval",
"propertyKeyword": "interval",
"propertyType": "details",
"template": "textarea",
"markdown": false,
"dependency": {
"key": "partitionBy",
"value": ["range", "composite range"]
}
},
{
"propertyName": "Subpartition type",
"propertyKeyword": "subpartitionType",
"propertyTooltip": "Choose the desired subpartition type",
"propertyType": "select",
"defaultValue": "",
"options": ["", "range", "list", "hash"],
"dependency": {
"key": "partitionBy",
"value": ["composite range", "composite list", "composite hash"]
}
},
{
"propertyName": "Consistent",
"propertyKeyword": "consistent",
"propertyType": "checkbox",
"dependency": {
"key": "partitionBy",
"value": ["hash"]
}
},
{
"propertyName": "Automatic",
"propertyKeyword": "automatic",
"propertyTooltip": "To create an automatic list-partitioned table. This type of table enables the database to create additional partitions on demand.",
"propertyType": "checkbox",
"dependency": {
"type": "or",
"values": [
{
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["hash"]
},
{
"key": "consistent",
"value": true
}
]
},
{
"key": "partitionBy",
"value": "list"
}
]
}
},
{
"propertyName": "Hash by",
"propertyKeyword": "hashBy",
"propertyTooltip": "Choose the desired hashing type",
"propertyType": "select",
"defaultValue": "",
"options": ["individual hash partitions", "hash partitions by quantity"],
"dependency": {
"key": "partitionBy",
"value": ["hash", "composite hash"]
}
},
{
"propertyName": "Store in tablespaces",
"propertyType": "group",
"propertyKeyword": "store_in_tablespaces",
"propertyTooltip": "Lets you specify one or more tablespaces.",
"structure": [
{
"propertyName": "Tablespace",
"propertyKeyword": "store_in_tablespace",
"propertyTooltip": "",
"propertyType": "text"
}
],
"dependency": {
"type": "or",
"values": [
{
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["range", "composite range"]
},
{
"key": "interval",
"minimum": 1
}
]
},
{
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["hash", "composite hash"]
},
{
"key": "hashBy",
"value": ["hash partitions by quantity"]
}
]
},
{
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["list"]
},
{
"key": "automatic",
"value": true
}
]
}
]
}
},
{
"propertyName": "Range partitions",
"propertyType": "group",
"propertyKeyword": "range_partitions",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Partition clause",
"propertyKeyword": "range_partition_clause",
"propertyTooltip": "Specify the noninclusive upper bound for the current partition. The value list is an ordered list of literal values corresponding to the column list in the range_partitions clause.",
"propertyType": "details",
"template": "textarea",
"markdown": false
}
],
"dependency": {
"key": "partitionBy",
"value": ["range"]
}
},
{
"propertyName": "Indiv hash partitions",
"propertyType": "group",
"propertyKeyword": "individual_hash_partitions",
"propertyTooltip": "Use this clause to specify individual partitions by name.",
"structure": [
{
"propertyName": "Hash partition clause",
"propertyKeyword": "individual_hash_partition",
"propertyTooltip": "",
"propertyType": "details",
"template": "textarea",
"markdown": false
}
],
"dependency": {
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["hash", "composite hash"]
},
{
"key": "hashBy",
"value": ["individual hash partitions"]
}
]
}
},
{
"propertyName": "List partitions",
"propertyType": "group",
"propertyKeyword": "list_partitions",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Partition clause",
"propertyKeyword": "list_partition_clause",
"propertyTooltip": "Specify the noninclusive upper bound for the current partition. The value list is an ordered list of literal values corresponding to the column list in the range_partitions clause.",
"propertyType": "details",
"template": "textarea",
"markdown": false
}
],
"dependency": {
"key": "partitionBy",
"value": ["list"]
}
},
{
"propertyName": "Quantity",
"propertyKeyword": "hash_partition_quantity",
"propertyTooltip": "Choose the desired number hash partitions",
"propertyType": "numeric",
"valueType": "number",
"allowNegative": false,
"maxValue": 1024,
"step": 1,
"dependency": {
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["hash", "composite hash"]
},
{
"key": "hashBy",
"value": ["hash partitions by quantity"]
}
]
}
},
{
"propertyName": "Compression",
"propertyKeyword": "compression",
"propertyTooltip": "Enter the compression description for the partition.",
"propertyType": "details",
"template": "textarea",
"markdown": false,
"dependency": {
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["hash", "composite hash"]
},
{
"key": "hashBy",
"value": ["hash partitions by quantity"]
}
]
}
},
{
"propertyName": "Overflow tablespaces",
"propertyType": "group",
"propertyKeyword": "overflow_store_in_tablespaces",
"propertyTooltip": "Lets you specify one or more tablespaces.",
"structure": [
{
"propertyName": "Tablespace",
"propertyKeyword": "overflow_store_in_tablespace",
"propertyTooltip": "",
"propertyType": "text"
}
],
"dependency": {
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["hash", "composite hash"]
},
{
"key": "hashBy",
"value": ["hash partitions by quantity"]
}
]
}
},
{
"propertyName": "Sub partition keys",
"propertyKeyword": "compositePartitionKey",
"propertyTooltip": "Specify an ordered list of columns used to determine into which partition a row belongs. These columns are the partitioning key.",
"propertyType": "compositeKeySetter",
"disabledItemStrategy": "default",
"isCompositeKey": true,
"setPrimaryKey": false,
"template": "collectiontree",
"abbr": "PK",
"dependency": {
"key": "partitionBy",
"value": ["composite range", "composite list", "composite hash"]
}
},
{
"propertyName": "Subpartition description",
"propertyKeyword": "subpartitionDescription",
"propertyType": "details",
"template": "textarea",
"markdown": false,
"propertyTooltip": "Specify subpartitions description. How many subpartitions you need and where you store them",
"dependency": {
"key": "partitionBy",
"value": ["composite range", "composite list", "composite hash"]
}
},
{
// Although it is called "range_subpartition_descs" it actually represent "range_partition_desc" from documentation
"propertyName": "Range subpart desc",
"propertyType": "group",
"propertyKeyword": "range_subpartition_descs",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Partition desc",
"propertyKeyword": "range_subpartition_desc",
"propertyTooltip": "Specify the noninclusive upper bound for the current partition. The value list is an ordered list of literal values corresponding to the column list in the range_partitions clause.",
"propertyType": "details",
"template": "textarea",
"markdown": false
}
],
"dependency": {
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["composite range"]
},
{
"key": "subpartitionType",
"value": ["range", "hash", "list"]
}
]
}
},
{
// Although it is called "list_subpartition_descs" it actually represent "list_partition_desc" from documentation
"propertyName": "List subpart desc",
"propertyType": "group",
"propertyKeyword": "list_subpartition_descs",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Partition desc",
"propertyKeyword": "list_subpartition_description",
"propertyTooltip": "Specify the noninclusive upper bound for the current partition. The value list is an ordered list of literal values corresponding to the column list in the range_partitions clause.",
"propertyType": "details",
"template": "textarea",
"markdown": false
}
],
"dependency": {
"type": "and",
"values": [
{
"key": "partitionBy",
"value": ["composite list"]
},
{
"key": "subpartitionType",
"value": ["range", "hash", "list"]
}
]
}
},
{
"propertyName": "Constraint",
"propertyKeyword": "constraint",
"propertyTooltip": "Specify a referential integrity constraint defined on the table being created, which must refer to a primary key or unique constraint on the parent table. The constraint must be in ENABLE VALIDATE NOT DEFERRABLE state, which is the default when you specify a referential integrity constraint during table creation.",
"propertyType": "details",
"template": "textarea",
"markdown": false,
"dependency": {
"key": "partitionBy",
"value": ["reference"]
}
},
{
"propertyName": "Ref part desc",
"propertyType": "group",
"propertyKeyword": "reference_partition_descs",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Partition desc",
"propertyKeyword": "reference_partition_desc",
"propertyTooltip": "Specify the noninclusive upper bound for the current partition. The value list is an ordered list of literal values corresponding to the column list in the range_partitions clause.",
"propertyType": "details",
"template": "textarea",
"markdown": false
}
],
"dependency": {
"key": "partitionBy",
"value": ["reference"]
}
},
{
"propertyName": "Quantity",
"propertyKeyword": "system_partitioning_quantity",
"propertyTooltip": "Choose the desired number system partitions",
"propertyType": "numeric",
"valueType": "number",
"allowNegative": false,
"maxValue": 1024,
"step": 1,
"dependency": {
"key": "partitionBy",
"value": ["system"]
}
},
{
"propertyName": "System part desc",
"propertyType": "group",
"propertyKeyword": "system_partition_descs",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Partition desc",
"propertyKeyword": "system_partition_desc",
"propertyTooltip": "Specify the noninclusive upper bound for the current partition. The value list is an ordered list of literal values corresponding to the column list in the range_partitions clause.",
"propertyType": "details",
"template": "textarea",
"markdown": false
}
],
"dependency": {
"key": "partitionBy",
"value": ["system"]
}
}
]
},
{
"propertyName": "Table properties",
"propertyKeyword": "tableProperties",
"shouldValidate": false,
"propertyTooltip": "Table properties",
"propertyType": "details",
"template": "textarea",
"markdown": false
},
{
"propertyName": "As Select statement",
"propertyKeyword": "selectStatement",
"propertyType": "details",
"template": "textarea",
"markdown": false
},
{
"propertyName": "Custom scripts",
"propertyType": "block",
"propertyKeyword": "customScripts",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Before CREATE TABLE",
"propertyKeyword": "beforeCreateEntity",
"propertyType": "block",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Script",
"propertyKeyword": "script",
"propertyType": "details",
"markdown": false,
"template": "codeEditor",
"templateOptions": {
"editorDialect": "sql",
"customScriptVariables": true
}
}
]
},
{
"propertyName": "After CREATE TABLE",
"propertyKeyword": "afterCreateEntity",
"propertyType": "block",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Script",
"propertyKeyword": "script",
"propertyType": "details",
"markdown": false,
"template": "codeEditor",
"templateOptions": {
"editorDialect": "sql",
"customScriptVariables": true
}
}
]
}
]
},
{
"propertyName": "Annotations",
"propertyKeyword": "tableAnnotations",
"propertyTooltip": "An individual annotation has a name and an optional value. Both the name and the value are freeform text fields. Annotations are additive, meaning that multiple annotations can be specified for the same schema object in a single DDL.",
"propertyType": "group",
"structure": [
{
"propertyName": "Name",
"propertyKeyword": "annotationName",
"propertyTooltip": "An identifier that can have up to 1024 characters. If the annotation name is a reserved word it must be provided in double quotes. When a double quoted identifier is used, the identifier can also contain whitespace characters",
"propertyType": "text",
"validation": {
"regex": "^(?=.*?\\d)?(?=.*?[a-zA-Z])?[^\\.,\\-=/:\\s][^\\.,\\-=/:]{1,1024}[^\\.,\\-=/:\\s]$"
}
},
{
"propertyName": "Value",
"propertyKeyword": "annotationValue",
"propertyTooltip": "The value of the annotation is optionsal. Value can have a maximum of 4000 characters.",
"propertyType": "details",
"template": "textarea",
"markdown": false,
"validation": {
"regex": "^(?=.*?\\d)?(?=.*?[a-zA-Z])?[^\\.,\\-=/:\\s][^\\.,\\-=/:]{1,4000}[^\\.,\\-=/:\\s]$"
}
}
],
"dependency": {
"type": "not",
"values": [
{
"level": "model",
"key": "dbVersion",
"value": "12c"
},
{
"level": "model",
"key": "dbVersion",
"value": "18c"
}
]
}
},
{
"propertyName": "Remarks",
"propertyKeyword": "comments",
"propertyTooltip": "remarks",
"addTimestampButton": true,
"propertyType": "details",
"template": "textarea",
"valueType": "string"
}
],
"columnsRatio": [3.7, 5]
},
{
"lowerTab": "Composite keys",
"structure": [
{
"propertyName": "Primary key",
"propertyType": "group",
"groupItemLimit": 1,
"propertyKeyword": "primaryKey",
"propertyTooltip": {
"disabled": [
{
"tooltip": "Remove the existing single column primary key definition prior to unlock the possibility to create a composite primary key definition for this table",
"dependency": {
"type": "and",
"values": [
{
"level": "children",
"key": "primaryKey",
"value": true
},
{
"type": "not",
"values": {
"level": "children",
"key": "compositePrimaryKey",
"value": true
}
}
]
}
},
{
"tooltip": "Remove or update the existing composite primary key definition prior to unlock the possibility to create a new composite primary key definition for this table",
"dependency": {
"key": "primaryKey",
"minLength": 1
}
}
]