Package io.trino.sql.tree
Enum PatternRecognitionRelation.RowsPerMatch
- java.lang.Object
-
- java.lang.Enum<PatternRecognitionRelation.RowsPerMatch>
-
- io.trino.sql.tree.PatternRecognitionRelation.RowsPerMatch
-
- All Implemented Interfaces:
Serializable,Comparable<PatternRecognitionRelation.RowsPerMatch>
- Enclosing class:
- PatternRecognitionRelation
public static enum PatternRecognitionRelation.RowsPerMatch extends Enum<PatternRecognitionRelation.RowsPerMatch>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_OMIT_EMPTYALL_SHOW_EMPTYALL_WITH_UNMATCHEDONEWINDOW
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanisEmptyMatches()abstract booleanisOneRow()abstract booleanisUnmatchedRows()static PatternRecognitionRelation.RowsPerMatchvalueOf(String name)Returns the enum constant of this type with the specified name.static PatternRecognitionRelation.RowsPerMatch[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONE
public static final PatternRecognitionRelation.RowsPerMatch ONE
-
ALL_SHOW_EMPTY
public static final PatternRecognitionRelation.RowsPerMatch ALL_SHOW_EMPTY
-
ALL_OMIT_EMPTY
public static final PatternRecognitionRelation.RowsPerMatch ALL_OMIT_EMPTY
-
ALL_WITH_UNMATCHED
public static final PatternRecognitionRelation.RowsPerMatch ALL_WITH_UNMATCHED
-
WINDOW
public static final PatternRecognitionRelation.RowsPerMatch WINDOW
-
-
Method Detail
-
values
public static PatternRecognitionRelation.RowsPerMatch[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PatternRecognitionRelation.RowsPerMatch c : PatternRecognitionRelation.RowsPerMatch.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PatternRecognitionRelation.RowsPerMatch 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
-
isOneRow
public abstract boolean isOneRow()
-
isEmptyMatches
public abstract boolean isEmptyMatches()
-
isUnmatchedRows
public abstract boolean isUnmatchedRows()
-
-