Interface TInt
- All Superinterfaces:
TNumber
- All Known Implementing Classes:
TIntInst
,TIntSeq
,TIntSeqSet
- Author:
- ARIJIT SAMAL
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
always_equal
(int value) Returns whether the values of "this" are always equal to "value".default boolean
always_greater
(int value) Returns whether the values of "this" are always greater than "value".default boolean
always_greater_or_equal
(int value) Returns whether the values of "this" are always greater than or equal to "value".default boolean
always_less
(int value) Returns whether the values of "this" are always less than "value".default boolean
always_less_or_equal
(int value) Returns whether the values of "this" are always less than or equal to "value".default boolean
always_not_equal
(int value) Returns whether the values of "this" are always not equal to "value".default String
as_wkt()
Returns a string representation of "this".default int
Returns the end value of "this".default boolean
ever_equal
(int value) Returns whether the values of "this" are ever equal to "value".default boolean
ever_greater
(int value) Returns whether the values of "this" are ever greater than "value".default boolean
ever_greater_or_equal
(int value) Returns whether the values of "this" are ever greater than or equal to "value".default boolean
ever_less
(int value) Returns whether the values of `self` are ever less than "value".default boolean
ever_less_or_equal
(int value) Returns whether the values of "this" are ever less than or equal to "value".default boolean
ever_not_equal
(int value) Returns whether the values of "this" are ever not equal to "value".default TInt
from_base_temporal
(int value, Temporal base, TInterpolation interp) Returns a new temporal int with the value "value" and the temporal frame of "base".static TInt
from_base_time
(int value, Object base, TInterpolation interpolation) Returns a new temporal int with the value "value" and the temporal frame of "base".default TInt
from_mfjson
(String mfjson) jnr.ffi.Pointer
default int
Returns the maximum value of the "this".default int
Returns the minimum value of the "this".default boolean
never_equal
(int value) Returns whether the values of "this" are never equal to "value".default boolean
never_greater
(int value) Returns whether the values of "this" are never greater than "value".default boolean
never_greater_or_equal
(int value) Returns whether the values of "this" are never greater than or equal to "value".default boolean
never_less
(int value) Returns whether the values of "this" are never less than "value".default boolean
never_less_or_equal
(int value) Returns whether the values of "this" are never less than or equal to "value".default boolean
never_not_equal
(int value) Returns whether the values of "this" are never not equal to "value".default int
Returns the start value of "this".default Temporal
temporal_equal
(Object other) Returns the temporal equality relation between "this" and "other".default Temporal
temporal_greater
(Integer other) Returns the temporal greater than relation between "this" and "other".default Temporal
temporal_greater_or_equal
(Integer other) Returns the temporal greater or equal relation between "this" and "other".default Temporal
temporal_less
(Integer other) Returns the temporal less than relation between "this" and "other".default Temporal
temporal_less_or_equal
(Integer other) Returns the temporal less or equal relation between "this" and "other".default Temporal
temporal_not_equal
(Integer other) Returns the temporal not equal relation between "this" and "other".default IntSpan
Returns value span of "this".default String
Returns a string representation of "this".default TFloat
Returns a new temporal float with the values of "this" floored.default int
value_at_timestamp
(LocalDateTime timestamp) default IntSet
Returns the set of values of `self`.default IntSpan
Returns the value span of "this".default IntSpanSet
Returns the value spans of "this" taking into account gaps.Methods inherited from interface types.basic.tnumber.TNumber
_add, _mul, _radd, _rmul, _rsub, _rTrueDiv, _sub, _trueDiv, abs, add, at, bounding_tbox, delta_value, distance, div, integral, is_left, is_over_or_left, is_over_or_right, is_right, minus, mul, nearest_approach_distance, radd, rdiv, rmul, rsub, scale_value, shift_scale_value, shift_value, sub, time_weighted_average, value_split, value_time_split
-
Field Details
-
customType
- See Also:
-
-
Method Details
-
getNumberInner
jnr.ffi.Pointer getNumberInner()- Specified by:
getNumberInner
in interfaceTNumber
-
getCustomType
String getCustomType()- Specified by:
getCustomType
in interfaceTNumber
-
getTemporalType
TemporalType getTemporalType()- Specified by:
getTemporalType
in interfaceTNumber
-
from_base_temporal
Returns a new temporal int with the value "value" and the temporal frame of "base".MEOS Functions:
- tint_from_base_temp
- Parameters:
value
- Value of the temporal float.base
- Temporal object to get the temporal frame from.interp
- Interpolation of the temporal int.- Returns:
- A new
Float
object.
-
from_base_time
static TInt from_base_time(int value, Object base, TInterpolation interpolation) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException Returns a new temporal int with the value "value" and the temporal frame of "base".MEOS Functions:
- tintinst_make
- tintseq_from_base_tstzspanset
- tintseq_from_base_time
- tintseqset_from_base_time
- Parameters:
value
- Value of the temporal float.base
- Time object to get the temporal frame from.interpolation
- Interpolation of the temporal int.- Returns:
- A new temporal float.
- Throws:
InvocationTargetException
NoSuchMethodException
InstantiationException
IllegalAccessException
-
from_mfjson
-
to_string
Returns a string representation of "this".MEOS Functions:
- tint_out
- Returns:
- A string representation of "this".
-
as_wkt
Returns a string representation of "this".MEOS Functions:
- tint_out
- Returns:
- A string representation of "this".
-
to_tfloat
Returns a new temporal float with the values of "this" floored. This operation can only be performed when the interpolation is stepwise or discrete.MEOS Functions:
- tint_to_tfloat
Raises: ValueError: If the interpolation is linear.- Returns:
- A new temporal float.
-
to_intspan
Returns value span of "this".MEOS Functions:
- tnumber_to_span
- Returns:
- An
IntSpan
with the value span of "this".
-
value_span
Returns the value span of "this".MEOS Functions:
- tnumber_to_span
- Returns:
- An
IntSpan
with the value span of `self`.
-
value_spans
Returns the value spans of "this" taking into account gaps.MEOS Functions:
- tnumber_valuespans
- Returns:
- A
IntSpanSet
with the value spans of "this".
-
start_value
default int start_value()Returns the start value of "this".MEOS Functions:
- tint_start_value
- Returns:
- A
Integer
with the start value.
-
end_value
default int end_value()Returns the end value of "this".MEOS Functions:
- tint_end_value
- Returns:
- A
Integer
with the end value.
-
value_set
Returns the set of values of `self`.
Returns: A :class:`set` with the values of `self`.MEOS Functions:
- tint_values
- Returns:
- A
IntSet
.
-
min_value
default int min_value()Returns the minimum value of the "this".MEOS Functions:
- tint_min_value
- Returns:
- A
Integer
with the minimum value.
-
max_value
default int max_value()Returns the maximum value of the "this".MEOS Functions:
- tint_max_value
- Returns:
- A
Integer
with the maximum value.
-
value_at_timestamp
-
always_equal
default boolean always_equal(int value) Returns whether the values of "this" are always equal to "value".MEOS Functions:
- tint_always_eq
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are always equal to "value", * "False" otherwise.
-
always_not_equal
default boolean always_not_equal(int value) Returns whether the values of "this" are always not equal to "value".MEOS Functions:
- tint_ever_eq
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are always not equal to "value", * "False" otherwise.
-
always_less
default boolean always_less(int value) Returns whether the values of "this" are always less than "value".MEOS Functions:
- tint_always_lt
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are always less than "value", * "False" otherwise.
-
always_less_or_equal
default boolean always_less_or_equal(int value) Returns whether the values of "this" are always less than or equal to "value".MEOS Functions:
- tint_always_le
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are always less than or equal to * "value", "False" otherwise.
-
always_greater_or_equal
default boolean always_greater_or_equal(int value) Returns whether the values of "this" are always greater than or equal to "value".MEOS Functions:
- tint_ever_lt
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are always greater than or equal to * "value", "False" otherwise.
-
always_greater
default boolean always_greater(int value) Returns whether the values of "this" are always greater than "value".MEOS Functions:
- tint_ever_le
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are always greater than "value", * " `False`" otherwise.
-
ever_less
default boolean ever_less(int value) Returns whether the values of `self` are ever less than "value".MEOS Functions:
- tint_ever_lt
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are ever less than "value", * "False" otherwise.
-
ever_less_or_equal
default boolean ever_less_or_equal(int value) Returns whether the values of "this" are ever less than or equal to "value".MEOS Functions:
- tint_ever_le
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are ever less than or equal to * "value", "False" otherwise.
-
ever_equal
default boolean ever_equal(int value) Returns whether the values of "this" are ever equal to "value".MEOS Functions:
- tint_ever_eq
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are ever equal to "value", "False" * otherwise.
-
ever_not_equal
default boolean ever_not_equal(int value) Returns whether the values of "this" are ever not equal to "value".MEOS Functions:
- tint_always_eq
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are ever not equal to "value", * "False" otherwise.
-
ever_greater_or_equal
default boolean ever_greater_or_equal(int value) Returns whether the values of "this" are ever greater than or equal to "value".MEOS Functions:
- tint_always_lt
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are ever greater than or equal to * "value", "False" otherwise.
-
ever_greater
default boolean ever_greater(int value) Returns whether the values of "this" are ever greater than "value".MEOS Functions:
- tint_always_le
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are ever greater than "value", * "False" otherwise.
-
never_equal
default boolean never_equal(int value) Returns whether the values of "this" are never equal to "value".MEOS Functions:
- tint_ever_eq
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are never equal to "value", * "False" otherwise.
-
never_not_equal
default boolean never_not_equal(int value) Returns whether the values of "this" are never not equal to "value".MEOS Functions:
- tint_always_eq
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are never not equal to "value", * "False" otherwise.
-
never_less
default boolean never_less(int value) Returns whether the values of "this" are never less than "value".MEOS Functions:
- tint_ever_lt
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are never less than "value", * "False" otherwise.
-
never_less_or_equal
default boolean never_less_or_equal(int value) Returns whether the values of "this" are never less than or equal to "value".MEOS Functions:
- tint_ever_le
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are never less than or equal to * "value", "False" otherwise.
-
never_greater_or_equal
default boolean never_greater_or_equal(int value) Returns whether the values of "this" are never greater than or equal to "value".MEOS Functions:
- tint_always_lt
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this "are never greater than or equal to * "value", "False" otherwise.
-
never_greater
default boolean never_greater(int value) Returns whether the values of "this" are never greater than "value".MEOS Functions:
- tint_always_le
- Parameters:
value
-Integer
to compare.- Returns:
- "True" if the values of "this" are never greater than "value", * "False" otherwise.
-
temporal_equal
Returns the temporal equality relation between "this" and "other".MEOS Functions:
- teq_tint_int
- teq_temporal_temporal
-
temporal_not_equal
Returns the temporal not equal relation between "this" and "other".MEOS Functions:
- tne_tint_int
- tne_temporal_temporal
-
temporal_less
Returns the temporal less than relation between "this" and "other".MEOS Functions:
- tlt_tint_int
- tlt_temporal_temporal
-
temporal_less_or_equal
Returns the temporal less or equal relation between "this" and "other".MEOS Functions:
- tle_tint_int
- tle_temporal_temporal
-
temporal_greater_or_equal
Returns the temporal greater or equal relation between "this" and "other".MEOS Functions:
- tge_tint_int
- tge_temporal_temporal
-
temporal_greater
Returns the temporal greater than relation between "this" and "other".MEOS Functions:
- tgt_tint_int
- tgt_temporal_temporal
-