public class ReteBackendFactory extends java.lang.Object implements IQueryBackendFactory
| Modifier and Type | Field and Description |
|---|---|
static ReteBackendFactory |
INSTANCE |
protected static int |
reteThreads
EXPERIMENTAL
|
| Constructor and Description |
|---|
ReteBackendFactory()
Deprecated.
Use the static
INSTANCE field instead |
| Modifier and Type | Method and Description |
|---|---|
IMatcherCapability |
calculateRequiredCapability(PQuery query,
QueryEvaluationHint hint)
Calculate the required capabilities, which are needed to execute the given pattern
|
IQueryBackend |
create(IQueryBackendContext context)
Creates a new
IQueryBackend instance tied to the given context elements. |
IQueryBackend |
create(IQueryBackendContext context,
boolean deleteAndRederiveEvaluation,
TimelyConfiguration timelyConfiguration) |
boolean |
equals(java.lang.Object obj) |
java.lang.Class<? extends IQueryBackend> |
getBackendClass()
The backend instances created by this factory are guaranteed to conform to the returned class.
|
int |
hashCode() |
boolean |
isCaching()
Returns whether the current backend is caching
|
protected static final int reteThreads
public static final ReteBackendFactory INSTANCE
@Deprecated public ReteBackendFactory()
INSTANCE field insteadpublic IQueryBackend create(IQueryBackendContext context)
IQueryBackendFactoryIQueryBackend instance tied to the given context elements.create in interface IQueryBackendFactoryIQueryBackendFactory.getBackendClass() that operates in the given context.public IQueryBackend create(IQueryBackendContext context, boolean deleteAndRederiveEvaluation, TimelyConfiguration timelyConfiguration)
public java.lang.Class<? extends IQueryBackend> getBackendClass()
IQueryBackendFactorygetBackendClass in interface IQueryBackendFactorypublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic IMatcherCapability calculateRequiredCapability(PQuery query, QueryEvaluationHint hint)
IQueryBackendFactorycalculateRequiredCapability in interface IQueryBackendFactorypublic boolean isCaching()
IQueryBackendFactoryisCaching in interface IQueryBackendFactory