Package com.axelor.meta.query.dataset
Enum Class Completeness
- All Implemented Interfaces:
Serializable,Comparable<Completeness>,Constable
How much of the matching data a dataset actually carries.
Never inferred from the shape of the records. A caller that receives no value reports UNKNOWN and disables the features that depend on knowing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe window starts at the first row and returned every counted row.A caller-supplied window is narrower than the counted total, even one ending at the last row.The engine's own row cap applied, so the window is not one the caller chose.No count ran, so the relationship between the window and the whole is not known. -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletenessReturns the enum constant of this class with the specified name.static Completeness[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPLETE
The window starts at the first row and returned every counted row. -
PAGE
A caller-supplied window is narrower than the counted total, even one ending at the last row. -
TRUNCATED
The engine's own row cap applied, so the window is not one the caller chose. -
UNKNOWN
No count ran, so the relationship between the window and the whole is not known.
-
-
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
-