Package org.h2.expression
Enum IntervalOperation.IntervalOpType
- All Implemented Interfaces:
Serializable
,Comparable<IntervalOperation.IntervalOpType>
,java.lang.constant.Constable
- Enclosing class:
IntervalOperation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDate-time minus date-time.Date-time minus interval.Date-time plus interval.Interval divided by interval (non-standard).Interval divided by numeric.Interval minus interval.Interval multiplied by numeric.Interval plus interval. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static IntervalOperation.IntervalOpType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INTERVAL_PLUS_INTERVAL
Interval plus interval. -
INTERVAL_MINUS_INTERVAL
Interval minus interval. -
INTERVAL_DIVIDE_INTERVAL
Interval divided by interval (non-standard). -
DATETIME_PLUS_INTERVAL
Date-time plus interval. -
DATETIME_MINUS_INTERVAL
Date-time minus interval. -
INTERVAL_MULTIPLY_NUMERIC
Interval multiplied by numeric. -
INTERVAL_DIVIDE_NUMERIC
Interval divided by numeric. -
DATETIME_MINUS_DATETIME
Date-time minus date-time.
-
-
Constructor Details
-
IntervalOpType
private IntervalOpType()
-
-
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
-