- All Implemented Interfaces:
Serializable,Comparable<SpiQuery.TemporalMode>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionQuery runs 'As Of' a given date time.Query runs against current data (normal).Includes soft deletes rows in the result.Query runs potentially returning many versions of the same bean. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this is a history query.static SpiQuery.TemporalModeReturn the mode of the query of if null return CURRENT mode.static SpiQuery.TemporalModeReturns the enum constant of this type with the specified name.static SpiQuery.TemporalMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SOFT_DELETED
Includes soft deletes rows in the result. -
CURRENT
Query runs against current data (normal). -
VERSIONS
Query runs potentially returning many versions of the same bean. -
AS_OF
Query runs 'As Of' a given date time.
-
-
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
-
isHistory
public boolean isHistory()Return true if this is a history query. -
of
Return the mode of the query of if null return CURRENT mode.
-