public interface AlgorithmService
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(AttributeMapping attributeMapping,
Entity sourceEntity,
EntityType sourceEntityType,
int depth)
Applies an
AttributeMapping to a source Entity |
Iterable<AlgorithmEvaluation> |
applyAlgorithm(Attribute targetAttribute,
String algorithm,
Iterable<Entity> sourceEntities,
int depth)
Applies an algorithm to the given attribute of given source entities.
|
void |
autoGenerateAlgorithm(EntityType sourceEntityType,
EntityType targetEntityType,
EntityMapping mapping)
Creates an attribute mapping after the semantic search service finds one
|
String |
generateAlgorithm(Attribute targetAttribute,
EntityType targetEntityType,
List<Attribute> sourceAttributes,
EntityType sourceEntityType)
Generates the algorithm based on the given targetAttribute and sourceAttribute
|
Collection<String> |
getSourceAttributeNames(String algorithmScript)
Retrieves the names of the source attributes in an algorithm
|
Iterable<AlgorithmEvaluation> applyAlgorithm(Attribute targetAttribute, String algorithm, Iterable<Entity> sourceEntities, int depth)
Object apply(AttributeMapping attributeMapping, Entity sourceEntity, EntityType sourceEntityType, int depth)
AttributeMapping to a source EntityattributeMapping - AttributeMapping to applysourceEntity - Entity to apply the mapping toCollection<String> getSourceAttributeNames(String algorithmScript)
algorithmScript - String with the algorithm scriptvoid autoGenerateAlgorithm(EntityType sourceEntityType, EntityType targetEntityType, EntityMapping mapping)
String generateAlgorithm(Attribute targetAttribute, EntityType targetEntityType, List<Attribute> sourceAttributes, EntityType sourceEntityType)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.