public enum LocalSearchBackendFactory extends java.lang.Enum<LocalSearchBackendFactory> implements IQueryBackendFactory
Enum Constant and Description |
---|
INSTANCE |
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. |
java.lang.Class<? extends IQueryBackend> |
getBackendClass()
The backend instances created by this factory are guaranteed to conform to the returned class.
|
static LocalSearchBackendFactory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocalSearchBackendFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalSearchBackendFactory INSTANCE
public static LocalSearchBackendFactory[] values()
for (LocalSearchBackendFactory c : LocalSearchBackendFactory.values()) System.out.println(c);
public static LocalSearchBackendFactory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic 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 java.lang.Class<? extends IQueryBackend> getBackendClass()
IQueryBackendFactory
getBackendClass
in interface IQueryBackendFactory
public IMatcherCapability calculateRequiredCapability(PQuery query, QueryEvaluationHint hint)
IQueryBackendFactory
calculateRequiredCapability
in interface IQueryBackendFactory