- All Implemented Interfaces:
Serializable
,Comparable<Junction.Type>
The type of Junction used in full text expressions.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isText()
Return true if this is a text type.literal()
Return the literal value for this type.prefix()
Return the prefix value for this type.static Junction.Type
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.
-
Enum Constant Details
-
AND
AND group. -
OR
OR group. -
NOT
NOT group. -
FILTER
FILTER group (for internal use only). -
MUST
Text search AND group. -
MUST_NOT
Text search NOT group. -
SHOULD
Text search OR group.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
literal
Return the literal value for this type. -
prefix
Return the prefix value for this type. -
isText
public boolean isText()Return true if this is a text type.
-