public static enum EdgeNGramTokenFilter.Side extends java.lang.Enum<EdgeNGramTokenFilter.Side>
| Enum Constant and Description |
|---|
BACK
Get the n-gram from the end of the input
|
FRONT
Get the n-gram from the front of the input
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getLabel() |
static EdgeNGramTokenFilter.Side |
getSide(java.lang.String sideName) |
static EdgeNGramTokenFilter.Side |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EdgeNGramTokenFilter.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeNGramTokenFilter.Side FRONT
public static final EdgeNGramTokenFilter.Side BACK
public static EdgeNGramTokenFilter.Side[] values()
for (EdgeNGramTokenFilter.Side c : EdgeNGramTokenFilter.Side.values()) System.out.println(c);
public static EdgeNGramTokenFilter.Side 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 abstract java.lang.String getLabel()
public static EdgeNGramTokenFilter.Side getSide(java.lang.String sideName)
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.