public static enum Junction.Type extends Enum<Junction.Type>
Enum Constant and Description |
---|
AND
AND group.
|
FILTER
FILTER group (for internal use only).
|
MUST
Text search AND group.
|
MUST_NOT
Text search NOT group.
|
NOT
NOT group.
|
OR
OR group.
|
SHOULD
Text search OR group.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isText()
Return true if this is a text type.
|
String |
literal()
Return the literal value for this type.
|
String |
prefix()
Return the prefix value for this type.
|
static Junction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Junction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Junction.Type AND
public static final Junction.Type OR
public static final Junction.Type NOT
public static final Junction.Type FILTER
public static final Junction.Type MUST
public static final Junction.Type MUST_NOT
public static final Junction.Type SHOULD
public static Junction.Type[] values()
for (Junction.Type c : Junction.Type.values()) System.out.println(c);
public static Junction.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 boolean isText()
Copyright © 2019. All rights reserved.