Package org.h2.expression.analysis
Enum WindowFrameExclusion
- All Implemented Interfaces:
Serializable
,Comparable<WindowFrameExclusion>
,java.lang.constant.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. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSQL()
Returns SQL representation.boolean
Returns true if this exclusion clause excludes or includes the whole group.static WindowFrameExclusion
Returns the enum constant of this type with the specified name.static WindowFrameExclusion[]
values()
Returns an array containing the constants of this enum type, 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.
-
-
Field Details
-
sql
-
-
Constructor Details
-
WindowFrameExclusion
-
-
Method Details
-
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
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
-
isGroupOrNoOthers
public boolean isGroupOrNoOthers()Returns true if this exclusion clause excludes or includes the whole group.- Returns:
- true if this exclusion clause is
EXCLUDE_GROUP
orEXCLUDE_NO_OTHERS
-
getSQL
Returns SQL representation.- Returns:
- SQL representation.
- See Also:
-