|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<Operation>
com.fatwire.cs.core.search.query.Operation
public enum Operation
Different search Operations that can be performed on a given field.
Enum Constant Summary | |
---|---|
CONTAINS Represents an operation on field containing a single value |
|
EQUALS Represents an operation on field matching a single value |
|
PHRASE Represents an operation on a field matching a phrase |
|
RANGE Represents an operation on field matching value between the upper and lower boundary values where both are exclusive |
|
RANGE_INCLUSIVE Represents an operation on field matching value between the upper and lower boundary values where both are inclusive |
|
SIMILAR Represents a fuzzy matching operation on field |
|
STARTS_WITH Represents an operation on a field matching the beginning with a specific value |
|
WILDCARD Represents an operation on a field matching search expression containing wildcards |
Method Summary | |
---|---|
java.lang.String |
toString() |
static Operation |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static Operation[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Operation EQUALS
public static final Operation CONTAINS
public static final Operation RANGE
public static final Operation RANGE_INCLUSIVE
public static final Operation STARTS_WITH
public static final Operation PHRASE
public static final Operation WILDCARD
public static final Operation SIMILAR
Method Detail |
---|
public static Operation[] values()
for (Operation c : Operation.values()) System.out.println(c);
public static Operation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Operation>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.