Package org.apache.calcite.runtime
Enum Pattern.Op
- All Implemented Interfaces:
- Serializable,- Comparable<Pattern.Op>,- Constable
- Enclosing interface:
- Pattern
Operator that constructs composite 
Pattern instances.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAnchor for end "$".Anchor for start "^".Pattern that matches a pattern one time or zero times.Pattern that matches one pattern or another.Pattern that matches a pattern repeated one or more times.Pattern that matches a pattern repeated betweenminRepeatandmaxRepeattimes.Pattern that matches one pattern followed by another.Pattern that matches a pattern repeated zero or more times.A leaf pattern, consisting of a single symbol.
- 
Method SummaryModifier and TypeMethodDescriptionstatic Pattern.OpReturns the enum constant of this type with the specified name.static Pattern.Op[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
SYMBOLA leaf pattern, consisting of a single symbol.
- 
ANCHOR_STARTAnchor for start "^".
- 
ANCHOR_ENDAnchor for end "$".
- 
SEQPattern that matches one pattern followed by another.
- 
ORPattern that matches one pattern or another.
- 
STARPattern that matches a pattern repeated zero or more times.
- 
PLUSPattern that matches a pattern repeated one or more times.
- 
REPEATPattern that matches a pattern repeated betweenminRepeatandmaxRepeattimes.
- 
OPTIONALPattern that matches a pattern one time or zero times.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-