@groovy.transform.CompileStatic class ReferenceAxisLoader extends java.lang.Object
This class loads an reference axis. This entails loading the cube containing the referenced axis, grabbing the axis columns from this cube, passing the columns to an [optional] transformer cube, and then ultimately building the axis from these columns. The source axis type, valueType, and meta properties are maintained. Any meta-properties on the referencing axis, are added to the meta-properties from the referenced axis. If both have the same key, the referring axis meta-properties take priority.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
REF_APP |
|
static java.lang.String |
REF_AXIS_NAME |
|
static java.lang.String |
REF_BRANCH |
|
static java.lang.String |
REF_CUBE_NAME |
|
static java.lang.String |
REF_STATUS |
|
static java.lang.String |
REF_TENANT |
|
static java.lang.String |
REF_VERSION |
|
static java.lang.String |
TRANSFORM_APP |
|
static java.lang.String |
TRANSFORM_BRANCH |
|
static java.lang.String |
TRANSFORM_CUBE_NAME |
|
static java.lang.String |
TRANSFORM_STATUS |
|
static java.lang.String |
TRANSFORM_VERSION |
Constructor and description |
---|
ReferenceAxisLoader
(java.lang.String containingCubeName, java.lang.String sourceAxisName, java.util.Map<java.lang.String, java.lang.Object> args) @param containingCubeName String name of cube that holds the 'pointer' (referring) axis |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
containingCubeName
- String name of cube that holds the 'pointer' (referring) axissourceAxisName
- String name of the referring axisargs
- Map containing all the key-value pairs to describe the referenced n-cube + axis
and an optional reference to a transformation cube.Axis calls this method to load itself from this AxisRefProvider.
axis
- Axis to 'fill-up' from the reference and 'transform' from the optional transformer.