Enum FSTFlags
- java.lang.Object
-
- java.lang.Enum<FSTFlags>
-
- org.apache.pinot.segment.local.utils.nativefst.FSTFlags
-
- All Implemented Interfaces:
Serializable,Comparable<FSTFlags>,java.lang.constant.Constable
public enum FSTFlags extends Enum<FSTFlags>
FST automaton flags. Where applicable, flags follow Daciuk'sFSTpackage.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLEXIBLEDaciuk: flexible FST encoding.NEXTBITDaciuk: next bit in use.NUMBERSThe FST contains right-language count numbers on states.SEPARATORSThe FST supports legacy built-in separator and filler characters (Daciuk's FST package compatibility).STOPBITDaciuk: stop bit in use.
-
Field Summary
Fields Modifier and Type Field Description int_bitsBit mask for the corresponding flag.
-
-
-
Enum Constant Detail
-
FLEXIBLE
public static final FSTFlags FLEXIBLE
Daciuk: flexible FST encoding.
-
STOPBIT
public static final FSTFlags STOPBIT
Daciuk: stop bit in use.
-
NEXTBIT
public static final FSTFlags NEXTBIT
Daciuk: next bit in use.
-
NUMBERS
public static final FSTFlags NUMBERS
The FST contains right-language count numbers on states.- See Also:
FST.getRightLanguageCount(int)
-
SEPARATORS
public static final FSTFlags SEPARATORS
The FST supports legacy built-in separator and filler characters (Daciuk's FST package compatibility).
-
-
Method Detail
-
values
public static FSTFlags[] 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
public static FSTFlags valueOf(String name)
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
-
-