Package org.neo4j.graphdb
Enum Class StringSearchMode
- All Implemented Interfaces:
Serializable
,Comparable<StringSearchMode>
,Constable
The string search mode is used together with a value template to find nodes of interest.
The search mode can be one of:
- EXACT: The value has to match the template exactly.
- PREFIX: The value must have a prefix matching the template.
- SUFFIX: The value must have a suffix matching the template.
- CONTAINS: The value must contain the template. Only exact matches are supported.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringSearchMode
Returns the enum constant of this class with the specified name.static StringSearchMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXACT
The value has to match the template exactly. -
PREFIX
The value must have a prefix matching the template. -
SUFFIX
The value must have a suffix matching the template. -
CONTAINS
The value must contain the template exactly. Regular expressions are not supported.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-