Package com.activeviam.copper
Class PropertiesCodec
java.lang.Object
com.activeviam.copper.PropertiesCodec
Deprecated, for removal: This API element is subject to removal in a future version.
Read and write post processor information in
Properties.- Author:
- ActiveViam
-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesCodec(Properties target) Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionaddContinuousQueryHandlerKeys(String handlersToAppend) Deprecated, for removal: This API element is subject to removal in a future version.Appends the handlerKeys from the givenhandlersToAppendto the underlyingProperties.Deprecated, for removal: This API element is subject to removal in a future version.Gets the underlyingProperties.readAndInitCopperFunction(String key, IActivePivot pivot) Deprecated, for removal: This API element is subject to removal in a future version.Reads anICopperFunctionfrom the underlyingProperties.readLevels(String key) Deprecated, for removal: This API element is subject to removal in a future version.Reads levels identifiers from the underlyingProperties.readLevels(String key, IActivePivot pivot) Deprecated, for removal: This API element is subject to removal in a future version.Resolves the levels used in a post-processor description.readUnderlyingMeasures(IMeasuresProvider measuresProvider) Deprecated, for removal: This API element is subject to removal in a future version.Reads and collectsmeasure membersfrom their name read from thePropertiesand retrieved from the givenIMeasuresProvider.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.writeAggregationFunction(String outputTypeString) Deprecated, for removal: This API element is subject to removal in a future version.Writes the aggregation function to use when executing a dynamic aggregation.writeLevels(String key, List<LevelIdentifier> levels) Deprecated, for removal: This API element is subject to removal in a future version.Writes level identifiers to the underlyingProperties.writeUnderlyingMeasure(String underlyingMeasure) Deprecated, for removal: This API element is subject to removal in a future version.Writes underlyingMeasure to the underlyingProperties.writeUnderlyingMeasures(List<String> underlyingMeasures) Deprecated, for removal: This API element is subject to removal in a future version.Writes underlyingMeasures to the underlyingProperties.
-
Constructor Details
-
PropertiesCodec
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
target- the properties to read from and write to
-
-
Method Details
-
getTarget
Deprecated, for removal: This API element is subject to removal in a future version.Gets the underlyingProperties.- Returns:
- the edited underlying properties
-
readLevels
Deprecated, for removal: This API element is subject to removal in a future version.Reads levels identifiers from the underlyingProperties.- Parameters:
key- the key where the levels are stored in the property- Returns:
- the level identifiers
-
readLevels
Deprecated, for removal: This API element is subject to removal in a future version.Resolves the levels used in a post-processor description. This method assumes its input is valid (all levels are found in the cube) because it is called from Copper which validates beforehand the levels.- Parameters:
key- the key where the levels are stored in the propertypivot- the cube where to search for the levels- Returns:
- the resolved levels
-
readUnderlyingMeasures
Deprecated, for removal: This API element is subject to removal in a future version.Reads and collectsmeasure membersfrom their name read from thePropertiesand retrieved from the givenIMeasuresProvider.- Parameters:
measuresProvider- the container that allows finding actualmeasure memberswith their measure name- Returns:
- the list of measure members
-
readAndInitCopperFunction
Deprecated, for removal: This API element is subject to removal in a future version.Reads anICopperFunctionfrom the underlyingProperties. It also callsICopperFunction.init(IActivePivot).- Parameters:
key- the key where the function is in the propertypivot- the pivot used to initialize theICopperFunction- Returns:
- the function
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
key- the keyvalue- the value- Returns:
- itself for chained calls
-
write
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
key- the keyvalue- the value- Returns:
- itself for chained calls
-
writeLevels
Deprecated, for removal: This API element is subject to removal in a future version.Writes level identifiers to the underlyingProperties.- Parameters:
key- the key where to write atlevels- the levels to write- Returns:
- itself for chained calls
-
writeUnderlyingMeasures
Deprecated, for removal: This API element is subject to removal in a future version.Writes underlyingMeasures to the underlyingProperties.- Parameters:
underlyingMeasures- the name of the underlying measures to write- Returns:
- itself for chained calls
-
writeUnderlyingMeasure
Deprecated, for removal: This API element is subject to removal in a future version.Writes underlyingMeasure to the underlyingProperties.- Parameters:
underlyingMeasure- the name of the underlying measure to write- Returns:
- itself for chained calls
-
addContinuousQueryHandlerKeys
Deprecated, for removal: This API element is subject to removal in a future version.Appends the handlerKeys from the givenhandlersToAppendto the underlyingProperties.- Parameters:
handlersToAppend- the handlers to append- Returns:
- itself for chained calls
-
writeAggregationFunction
Deprecated, for removal: This API element is subject to removal in a future version.Writes the aggregation function to use when executing a dynamic aggregation.- Parameters:
outputTypeString- the corresponding class in string format of a postprocessor's output type- Returns:
- itself for chained calls
-