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)
IQueryBackendFactory
IQueryBackend
instance tied to the given context elements.create
in interface IQueryBackendFactory
IQueryBackendFactory.getBackendClass()
that operates in the given context.public IQueryBackend create(IQueryBackendContext context, boolean deleteAndRederiveEvaluation, TimelyConfiguration timelyConfiguration)
public java.lang.Class<? extends IQueryBackend> getBackendClass()
IQueryBackendFactory
getBackendClass
in interface IQueryBackendFactory
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public IMatcherCapability calculateRequiredCapability(PQuery query, QueryEvaluationHint hint)
IQueryBackendFactory
calculateRequiredCapability
in interface IQueryBackendFactory
public boolean isCaching()
IQueryBackendFactory
isCaching
in interface IQueryBackendFactory