Serializable
, Comparable<Result.ResultType>
public static enum Result.ResultType extends Enum<Result.ResultType>
Enum Constant | Description |
---|---|
ADS |
Ads
|
CATEGORY_LIST |
Category List
|
CATEGORY_TREE |
Category Tree
|
COMPLETIONS |
Auto correction suggestions
|
CORRECTIONS |
Did-you-mean suggestions
|
COUNT |
Result count
|
FACET_LIST |
Facet List
|
FACET_RANGE |
Facet range
|
PHRASES |
Phrases
|
PRODUCTS |
Products
|
VALUES |
Values
|
Modifier and Type | Method | Description |
---|---|---|
static Result.ResultType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Result.ResultType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result.ResultType COMPLETIONS
public static final Result.ResultType CORRECTIONS
public static final Result.ResultType COUNT
public static final Result.ResultType PRODUCTS
public static final Result.ResultType VALUES
public static final Result.ResultType PHRASES
public static final Result.ResultType ADS
public static final Result.ResultType CATEGORY_TREE
public static final Result.ResultType CATEGORY_LIST
public static final Result.ResultType FACET_RANGE
public static final Result.ResultType FACET_LIST
public static Result.ResultType[] values()
for (Result.ResultType c : Result.ResultType.values()) System.out.println(c);
public static Result.ResultType 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 nullCopyright © 2020 Apptus Technologies AB. All rights reserved.