Class PipelineUtils
java.lang.Object
com._1c.g5.v8.internal.derived.pipeline.PipelineUtils
Set of standard tools to build DD pipelines.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<org.eclipse.emf.ecore.EClass,
Map<String, IDerivedDataComputer>> createComputerEClassIndex
(Collection<IDerivedDataComputer> computers) Creates index of DD computers bound to corresponding EClass and DD segment.Gets the comparator which compares two DD segment definions based on their priorities.splitDDPipelineSegmentDefinitionsByBuckets
(Collection<DerivedDataSegmentDefinition> segmentDefinitions) Split DD pipeline segment definitions by priority buckets.
-
Constructor Details
-
PipelineUtils
public PipelineUtils()
-
-
Method Details
-
createComputerEClassIndex
public static Map<org.eclipse.emf.ecore.EClass,Map<String, createComputerEClassIndexIDerivedDataComputer>> (Collection<IDerivedDataComputer> computers) Creates index of DD computers bound to corresponding EClass and DD segment.- Parameters:
computers
- The source list of computers.- Returns:
- The index of computers.
-
getDDPipelineSegmentDefinitionPriorityComparator
public static Comparator<DerivedDataSegmentDefinition> getDDPipelineSegmentDefinitionPriorityComparator()Gets the comparator which compares two DD segment definions based on their priorities.- Returns:
- The comparator instance.
-
splitDDPipelineSegmentDefinitionsByBuckets
public static Map<DerivedDataSegmentBucket,List<DerivedDataSegmentDefinition>> splitDDPipelineSegmentDefinitionsByBuckets(Collection<DerivedDataSegmentDefinition> segmentDefinitions) Split DD pipeline segment definitions by priority buckets.- Returns:
- The map of segments by buckets.
-