public static enum Query.Type extends Enum<Query.Type>
| Enum Constant and Description |
|---|
AND |
BOOL |
EXISTS |
FILTER |
FILTERED |
MATCH |
MATCH_ALL |
NOT |
OR |
QUERY |
QUERY_STRING |
RANGE |
TERM |
TERMS |
WILDCARD |
| Modifier and Type | Method and Description |
|---|---|
Query.Type |
getType() |
static Query.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.Type QUERY
public static final Query.Type BOOL
public static final Query.Type MATCH
public static final Query.Type MATCH_ALL
public static final Query.Type WILDCARD
public static final Query.Type QUERY_STRING
public static final Query.Type FILTERED
public static final Query.Type FILTER
public static final Query.Type AND
public static final Query.Type OR
public static final Query.Type NOT
public static final Query.Type EXISTS
public static final Query.Type TERM
public static final Query.Type TERMS
public static final Query.Type RANGE
public static Query.Type[] values()
for (Query.Type c : Query.Type.values()) System.out.println(c);
public static Query.Type 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 nullpublic Query.Type getType()
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.