Package com.activeviam.copper
Class DatabaseSelectionHelper
java.lang.Object
com.activeviam.copper.DatabaseSelectionHelper
Deprecated, for removal: This API element is subject to removal in a future version.
Helper object for the Copper context, containing additional information about the underlying
database such as its selection and schema.
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseSelectionHelper(ISelectionDescription selection, IDatabaseSchemaEntityResolver resolver) Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidensureFieldExists(String field) Deprecated, for removal: This API element is subject to removal in a future version.Ensures the given field exists in the selection.voidensureFieldsExists(String[] fields) Deprecated, for removal: This API element is subject to removal in a future version.Ensures the given field exists in the selection.Deprecated, for removal: This API element is subject to removal in a future version.Gets the name of the base store.getSelectionField(String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the given field from the selection.intDeprecated, for removal: This API element is subject to removal in a future version.Returns the type of the given field.
-
Constructor Details
-
DatabaseSelectionHelper
public DatabaseSelectionHelper(ISelectionDescription selection, IDatabaseSchemaEntityResolver resolver) Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
selection- The selection of the schema containing the target cuberesolver- The meta-data about the database on which the schema containing the target cube is built
-
-
Method Details
-
ensureFieldExists
Deprecated, for removal: This API element is subject to removal in a future version.Ensures the given field exists in the selection.- Parameters:
field- name of the field
-
ensureFieldsExists
Deprecated, for removal: This API element is subject to removal in a future version.Ensures the given field exists in the selection.- Parameters:
fields- name of the field
-
getSelectionField
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the given field from the selection.- Parameters:
name- name of the field- Returns:
- the field from the selection
-
getType
Deprecated, for removal: This API element is subject to removal in a future version.Returns the type of the given field.- Parameters:
selectionFieldName- The field name- Returns:
- the field's type
-
getBaseStore
Deprecated, for removal: This API element is subject to removal in a future version.Gets the name of the base store.- Returns:
- the name of the base store
-