public class IterateOverEDatatypeInstances extends java.lang.Object implements IIteratingSearchOperation
EDataType instances using an VIATRA Base indexer. It is
assumed that the indexer is initialized for the selected EDataType.ISearchOperation.ISearchOperationExecutor| Constructor and Description |
|---|
IterateOverEDatatypeInstances(int position,
org.eclipse.emf.ecore.EDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
ISearchOperation.ISearchOperationExecutor |
createExecutor()
Initializes a new operation executor for the given operation.
|
org.eclipse.emf.ecore.EDataType |
getDataType() |
IInputKey |
getIteratedInputKey()
Get the
IInputKey which instances this operation iterates upon. |
java.util.List<java.lang.Integer> |
getVariablePositions() |
java.lang.String |
toString() |
java.lang.String |
toString(java.util.function.Function<java.lang.Integer,java.lang.String> variableMapping)
Creates a string representation of the search operation by replacing the variable numbers according to the
parameter function.
|
public IterateOverEDatatypeInstances(int position,
org.eclipse.emf.ecore.EDataType dataType)
public org.eclipse.emf.ecore.EDataType getDataType()
public ISearchOperation.ISearchOperationExecutor createExecutor()
ISearchOperationcreateExecutor in interface ISearchOperationpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.util.function.Function<java.lang.Integer,java.lang.String> variableMapping)
ISearchOperationISearchOperation.getVariablePositions(); otherwise a NullPointerException will be
thrown during the calculation of the string.toString in interface ISearchOperationpublic java.util.List<java.lang.Integer> getVariablePositions()
getVariablePositions in interface ISearchOperationpublic IInputKey getIteratedInputKey()
IIteratingSearchOperationIInputKey which instances this operation iterates upon.getIteratedInputKey in interface IIteratingSearchOperation