Class DRedReteBackendFactory
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory
-
- org.eclipse.viatra.query.runtime.rete.matcher.DRedReteBackendFactory
-
- All Implemented Interfaces:
IQueryBackendFactory
public class DRedReteBackendFactory extends ReteBackendFactory
AReteBackendFactory
implementation that createsReteEngine
s that use delete and re-derive evaluation.- Since:
- 2.2
-
-
Field Summary
Fields Modifier and Type Field Description static DRedReteBackendFactory
INSTANCE
-
Fields inherited from class org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory
reteThreads
-
-
Constructor Summary
Constructors Constructor Description DRedReteBackendFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IQueryBackend
create(IQueryBackendContext context)
Creates a newIQueryBackend
instance tied to the given context elements.boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory
calculateRequiredCapability, create, getBackendClass, isCaching
-
-
-
-
Field Detail
-
INSTANCE
public static final DRedReteBackendFactory INSTANCE
-
-
Method Detail
-
create
public IQueryBackend create(IQueryBackendContext context)
Description copied from interface:IQueryBackendFactory
Creates a newIQueryBackend
instance tied to the given context elements.- Specified by:
create
in interfaceIQueryBackendFactory
- Overrides:
create
in classReteBackendFactory
- Returns:
- an instance of the class returned by
IQueryBackendFactory.getBackendClass()
that operates in the given context.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classReteBackendFactory
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classReteBackendFactory
-
-