Enum Class BoundingMode
- All Implemented Interfaces:
Serializable, Comparable<BoundingMode>, Constable
Which bounding samples an aggregate query fetches beyond its time range: the latest sample
strictly before
startTime (pre-bound) and the earliest strictly after endTime
(post-bound). They anchor interpolation in the first and last windows so those windows are not
biased toward the in-range samples.
The search horizons are carried in BoundingOptions (see DataPointQueryOptions.getBounding() and DataPointQueryOptions.getBounding()); a null
lookback or lookforward searches the full BoundingSearchWindow.DEFAULT_LOOKBACK.
Engines that declare BOUNDING_VALUES consume this directly; for the others the pipeline fetches the boundary samples
with auxiliary raw reads.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this mode requests a post-bound (POST_ONLYorBOTH).booleanWhether this mode requests a pre-bound (PRE_ONLYorBOTH).static BoundingModeReturns the enum constant of this class with the specified name.static BoundingMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Fetches no bounding samples. -
PRE_ONLY
Fetches the latest sample strictly beforestartTime. -
POST_ONLY
Fetches the earliest sample strictly afterendTime. -
BOTH
Fetches both the pre-bound and the post-bound samples.
-
-
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
-
includesPre
public boolean includesPre()Whether this mode requests a pre-bound (PRE_ONLYorBOTH). -
includesPost
public boolean includesPost()Whether this mode requests a post-bound (POST_ONLYorBOTH).
-