Package org.h2.expression.analysis
Enum Class WindowFrameExclusion
- All Implemented Interfaces:
Serializable,Comparable<WindowFrameExclusion>,Constable
Window frame exclusion clause.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEXCLUDE CURRENT ROW exclusion clause.EXCLUDE GROUP exclusion clause.EXCLUDE NO OTHERS exclusion clause.EXCLUDE TIES exclusion clause. -
Method Summary
Modifier and TypeMethodDescriptiongetSQL()Returns SQL representation.booleanReturns true if this exclusion clause excludes or includes the whole group.static WindowFrameExclusionReturns the enum constant of this class with the specified name.static WindowFrameExclusion[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXCLUDE_CURRENT_ROW
EXCLUDE CURRENT ROW exclusion clause. -
EXCLUDE_GROUP
EXCLUDE GROUP exclusion clause. -
EXCLUDE_TIES
EXCLUDE TIES exclusion clause. -
EXCLUDE_NO_OTHERS
EXCLUDE NO OTHERS exclusion clause.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isGroupOrNoOthers
public boolean isGroupOrNoOthers()Returns true if this exclusion clause excludes or includes the whole group.- Returns:
- true if this exclusion clause is
EXCLUDE_GROUPorEXCLUDE_NO_OTHERS
-
getSQL
Returns SQL representation.- Returns:
- SQL representation.
- See Also:
-