Class ParameterExtractor
java.lang.Object
org.qubership.atp.dataset.service.jpa.model.ParameterExtractor
-
Constructor Summary
ConstructorsConstructorDescriptionParameterExtractor(DataSetListContext dataSetListContext, UUID dataSetId, int dataSetColumn, List<UUID> macroPosition, List<PathStep> referenceAttributePath, PathStep attribute) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionextractWithProvider(DataSetParameterProvider parameterProvider) Extracts value from DSL context, and returns it if found.voidsetCache(Map<ParameterPositionContext, String> cachedValues) tryGetFromCache(DataSetListContext dataSetListContext, ParameterContext parameter, ParameterPositionContext positionContext) Get from cache evaluated value.
-
Constructor Details
-
Method Details
-
extractWithProvider
public String extractWithProvider(DataSetParameterProvider parameterProvider) throws DataSetServiceException Extracts value from DSL context, and returns it if found.- Throws:
DataSetServiceException
-
setCache
-
tryGetFromCache
public String tryGetFromCache(DataSetListContext dataSetListContext, ParameterContext parameter, ParameterPositionContext positionContext) Get from cache evaluated value. If value not been cached - evaluate and cache it.
-