public class FastTransformationStrategy extends Object implements ITransformationStrategy
Modifier and Type | Field and Description |
---|---|
protected IEquivalentProvider |
equivalentProvider |
protected HashMap<Object,Collection<Object>> |
flatTrace |
protected HashMap<Object,TransformationList> |
pendingTransformations |
Constructor and Description |
---|
FastTransformationStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransform(Object source) |
protected void |
executeTransformations(TransformationList transformations,
IEtlContext context) |
Collection<?> |
getEquivalent(Collection<?> collection,
IEolContext context_,
List<String> rules) |
Object |
getEquivalent(Object source,
IEolContext context_,
List<String> rules) |
IEquivalentProvider |
getEquivalentProvider() |
Collection<?> |
getEquivalents(Collection<?> collection,
IEolContext context_,
List<String> rules) |
Collection<?> |
getEquivalents(Object source,
IEolContext context_,
List<String> rules) |
List<Object> |
getExcluded() |
void |
setEquivalentProvider(IEquivalentProvider equivalentProvider) |
Collection<?> |
transform(Object source,
IEtlContext context,
List<String> rules) |
void |
transformModels(IEtlContext context) |
protected IEquivalentProvider equivalentProvider
protected HashMap<Object,Collection<Object>> flatTrace
protected HashMap<Object,TransformationList> pendingTransformations
public boolean canTransform(Object source)
canTransform
in interface ITransformationStrategy
public Collection<?> transform(Object source, IEtlContext context, List<String> rules) throws EolRuntimeException
transform
in interface ITransformationStrategy
EolRuntimeException
public Collection<?> getEquivalents(Object source, IEolContext context_, List<String> rules) throws EolRuntimeException
getEquivalents
in interface IEquivalentProvider
EolRuntimeException
public Object getEquivalent(Object source, IEolContext context_, List<String> rules) throws EolRuntimeException
getEquivalent
in interface IEquivalentProvider
EolRuntimeException
public Collection<?> getEquivalent(Collection<?> collection, IEolContext context_, List<String> rules) throws EolRuntimeException
getEquivalent
in interface IEquivalentProvider
EolRuntimeException
public Collection<?> getEquivalents(Collection<?> collection, IEolContext context_, List<String> rules) throws EolRuntimeException
getEquivalents
in interface IEquivalentProvider
EolRuntimeException
public void transformModels(IEtlContext context) throws EolRuntimeException
transformModels
in interface ITransformationStrategy
EolRuntimeException
protected void executeTransformations(TransformationList transformations, IEtlContext context) throws EolRuntimeException
EolRuntimeException
public void setEquivalentProvider(IEquivalentProvider equivalentProvider)
setEquivalentProvider
in interface ITransformationStrategy
public IEquivalentProvider getEquivalentProvider()
getEquivalentProvider
in interface ITransformationStrategy
Copyright © 2016. All rights reserved.