Package org.teiid.translator.couchbase
Class CouchbaseMetadataProcessor.Dimension
- java.lang.Object
-
- org.teiid.translator.couchbase.CouchbaseMetadataProcessor.Dimension
-
- Enclosing class:
- CouchbaseMetadataProcessor
public static class CouchbaseMetadataProcessor.Dimension extends Object
The dimension of nested array, a dimension is a hint of nested array table name, and index name. For example, the following JsonObject is a 3 dimension nested array,
each dimension reference with a table, total 3 tables will be generated: default_nested default_nested_dim2 default_nested_dim2_dim3 The nested array contains it's index of it's parent array, the return of query 'SELECT * FROM default_nested_dim2_dim3' looks{ "default": {"nested": [[["dimension 3"]]]} }+-------------+--------------------+-------------------------+------------------------------+--------------------------+ | ID | default_nested_idx | default_nested_dim2_idx | default_nested_dim2_dim3_idx | default_nested_dim2_dim3 | +-------------+--------------------+-------------------------+------------------------------+--------------------------+ | nestedArray | 0 | 0 | 0 | dimension 3 | +-------------+--------------------+-------------------------+------------------------------+--------------------------+
-
-
Constructor Summary
Constructors Constructor Description Dimension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CouchbaseMetadataProcessor.Dimensioncopy()Stringget()voidincrement()
-
-
-
Method Detail
-
increment
public void increment()
-
copy
public CouchbaseMetadataProcessor.Dimension copy()
-
get
public String get()
-
-