public enum ClusteredQueryCommandType extends Enum<ClusteredQueryCommandType>
Enum Constant and Description |
---|
CREATE_EAGER_ITERATOR |
CREATE_LAZY_ITERATOR |
DESTROY_LAZY_ITERATOR |
GET_RESULT_SIZE |
GET_SOME_KEYS |
Modifier and Type | Method and Description |
---|---|
ClusteredQueryCommandWorker |
getCommand(Cache<?,?> cache,
org.hibernate.search.query.engine.spi.HSQuery query,
UUID lazyQueryId,
int docIndex) |
protected abstract ClusteredQueryCommandWorker |
getNewInstance() |
static ClusteredQueryCommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusteredQueryCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusteredQueryCommandType CREATE_LAZY_ITERATOR
public static final ClusteredQueryCommandType CREATE_EAGER_ITERATOR
public static final ClusteredQueryCommandType DESTROY_LAZY_ITERATOR
public static final ClusteredQueryCommandType GET_SOME_KEYS
public static final ClusteredQueryCommandType GET_RESULT_SIZE
public static ClusteredQueryCommandType[] values()
for (ClusteredQueryCommandType c : ClusteredQueryCommandType.values()) System.out.println(c);
public static ClusteredQueryCommandType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected abstract ClusteredQueryCommandWorker getNewInstance()
public ClusteredQueryCommandWorker getCommand(Cache<?,?> cache, org.hibernate.search.query.engine.spi.HSQuery query, UUID lazyQueryId, int docIndex)
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.