Interface TText
- All Known Implementing Classes:
TTextInst
,TTextSeq
,TTextSeqSet
- Author:
- ARIJIT SAMAL
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault TText
Returns a new temporal string with the values of `self` concatenated with the values of `other`.default TText
Returns a new temporal string with the values of `other` concatenated with the values of `self`.default boolean
always_equal
(String value) Returns whether the values of "this" are always equal to "value".default boolean
always_greater
(String value) Returns whether the values of "this" are always greater than "value".default boolean
always_greater_or_equal
(String value) Returns whether the values of "this" are always greater than or equal to "value".default boolean
always_less
(String value) Returns whether the values of "this" are always less than "value".default boolean
always_less_or_equal
(String value) Returns whether the values of "this" are always less than or equal to "value".default boolean
always_not_equal
(String value) Returns whether the values of "this" are always not equal to "value".default String
as_wkt()
Returns the Well-Known Text representation of "this".default TText
default TText
concatenate
(Object other, boolean other_before) Returns a new temporal string with the values of `self` concatenated with the values of `other`.private jnr.ffi.Pointer
Returns a new temporal string with the values of `self` restricted to the time or value `other`.default String
Returns the ending value of "this".default boolean
ever_equal
(String value) Returns whether the values of "this" are ever equal to "value".default boolean
ever_greater
(String value) Returns whether the values of "this" are ever greater than "value".default boolean
ever_greater_or_equal
(String value) Returns whether the values of "this" are ever greater than or equal to "value".default boolean
Returns whether the values of `self` are ever less than "value".default boolean
ever_less_or_equal
(String value) Returns whether the values of "this" are ever less than or equal to "value".default boolean
ever_not_equal
(String value) Returns whether the values of "this" are ever not equal to "value".static TText
from_base_temporal
(String value, Temporal base) Create a temporal string from a string value and the time frame of another temporal object.static Temporal
from_base_time
(String value, Time base) Create a temporal string from a string value and a time object.default TText
from_mfjson
(String mfjson) Returns a temporal object from a MF-JSON string.jnr.ffi.Pointer
default TText
lower()
Returns a new temporal string with the values of `self` converted to lower case.default String
Returns the maximum value of the "this".default String
Returns the minimum value of the "this".default TText
Returns a new temporal string with the values of `self` restricted to the complement of the time or value `other`.default boolean
never_equal
(String value) Returns whether the values of "this" are never equal to "value".default boolean
never_greater
(String value) Returns whether the values of "this" are never greater than "value".default boolean
never_greater_or_equal
(String value) Returns whether the values of "this" are never greater than or equal to "value".default boolean
never_less
(String value) Returns whether the values of "this" are never less than "value".default boolean
never_less_or_equal
(String value) Returns whether the values of "this" are never less than or equal to "value".default boolean
never_not_equal
(String value) Returns whether the values of "this" are never not equal to "value".default String
Returns the starting value of "this".default Temporal
temporal_equal_string
(String other) Returns the temporal equality relation between "this" and "other".default Temporal
Returns the temporal greater or equal relation between "this" and "other".default Temporal
temporal_greater_string
(String other) Returns the temporal greater than relation between "this" and "other".default Temporal
Returns the temporal less or equal relation between "this" and "other".default Temporal
temporal_less_string
(String other) Returns the temporal less than relation between "this" and "other".default Temporal
temporal_not_equal_string
(String other) Returns the temporal not equal relation between "this" and "other".default String
Returns the string representation of "this".default TText
upper()
Returns a new temporal string with the values of `self` converted to upper case.default String
Returns the value that `self` takes at a certain moment.Returns the set of unique values of the temporal string.
-
Field Details
-
customType
- See Also:
-
-
Method Details
-
getTextInner
jnr.ffi.Pointer getTextInner() -
getCustomType
String getCustomType() -
getTemporalType
TemporalType getTemporalType() -
from_base_temporal
Create a temporal string from a string value and the time frame of another temporal object.MEOS Functions:
- ttext_from_base_temp
- Parameters:
value
- String value.base
- Temporal object to use as time frame.- Returns:
- A new
TText
object.
-
from_base_time
Create a temporal string from a string value and a time object.MEOS Functions:
- ttextinst_make
- ttextseq_from_base_tstzspanset
- ttextseq_from_base_tstzset
- ttextseqset_from_base_tstzspan
- Parameters:
value
- String value.base
- Time object to use as temporal dimension.- Returns:
- A new temporal boolean.
-
from_mfjson
Returns a temporal object from a MF-JSON string. Args: mfjson: The MF-JSON string. Returns: A temporal object from a MF-JSON string. MEOS Functions: ttext_from_mfjson -
to_string
Returns the string representation of "this".MEOS Function:
- ttext_out
- Returns:
- Returns the string representation of "this"
-
as_wkt
Returns the Well-Known Text representation of "this".MEOS Function:
- ttext_out
- Returns:
- A string with the Well-Known Text representation of "this".
-
value_set
Returns the set of unique values of the temporal string. Returns: A set of unique values. MEOS Functions: ttext_values -
min_value
Returns the minimum value of the "this".MEOS Functions:
- ttext_min_value
- Returns:
- A
String
with the minimum value.
-
max_value
Returns the maximum value of the "this".MEOS Functions:
- ttext_max_value
- Returns:
- A
String
with the maximum value.
-
start_value
Returns the starting value of "this". MEOS Function:- ttext_start_value
- Returns:
- Returns the starting value of "this".
-
end_value
Returns the ending value of "this". MEOS Function:- ttext_end_value
- Returns:
- Returns the ending value of "this".
-
upper
Returns a new temporal string with the values of `self` converted to upper case. Returns: A new temporal string. MEOS Functions: ttext_upper -
lower
Returns a new temporal string with the values of `self` converted to lower case. Returns: A new temporal string. MEOS Functions: ttext_lower -
value_at_timestamp
Returns the value that `self` takes at a certain moment. Args: timestamp: The moment to get the value. Returns: A string with the value of `self` at `timestamp`. MEOS Functions: ttext_value_at_timestamp -
always_equal
Returns whether the values of "this" are always equal to "value".MEOS Functions:
- ttext_always_eq
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are always equal to "value", * "False" otherwise.
-
always_not_equal
Returns whether the values of "this" are always not equal to "value".MEOS Functions:
- ttext_ever_eq
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are always not equal to "value", * "False" otherwise.
-
always_less
Returns whether the values of "this" are always less than "value".MEOS Functions:
- ttext_always_lt
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are always less than "value", * "False" otherwise.
-
always_less_or_equal
Returns whether the values of "this" are always less than or equal to "value".MEOS Functions:
- ttext_always_le
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are always less than or equal to * "value", "False" otherwise.
-
always_greater_or_equal
Returns whether the values of "this" are always greater than or equal to "value".MEOS Functions:
- ttext_ever_lt
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are always greater than or equal to * "value", "False" otherwise.
-
always_greater
Returns whether the values of "this" are always greater than "value".MEOS Functions:
- ttext_ever_le
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are always greater than "value", * " `False`" otherwise.
-
ever_less
Returns whether the values of `self` are ever less than "value".MEOS Functions:
- ttext_ever_lt
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are ever less than "value", * "False" otherwise.
-
ever_less_or_equal
Returns whether the values of "this" are ever less than or equal to "value".MEOS Functions:
- ttext_ever_le
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are ever less than or equal to * "value", "False" otherwise.
-
ever_equal
Returns whether the values of "this" are ever equal to "value".MEOS Functions:
- ttext_ever_eq
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are ever equal to "value", "False" * otherwise.
-
ever_not_equal
Returns whether the values of "this" are ever not equal to "value".MEOS Functions:
- ttext_always_eq
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are ever not equal to "value", * "False" otherwise.
-
ever_greater_or_equal
Returns whether the values of "this" are ever greater than or equal to "value".MEOS Functions:
- ttext_always_lt
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are ever greater than or equal to * "value", "False" otherwise.
-
ever_greater
Returns whether the values of "this" are ever greater than "value".MEOS Functions:
- ttext_always_le
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are ever greater than "value", * "False" otherwise.
-
never_equal
Returns whether the values of "this" are never equal to "value".MEOS Functions:
- ttext_ever_eq
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are never equal to "value", * "False" otherwise.
-
never_not_equal
Returns whether the values of "this" are never not equal to "value".MEOS Functions:
- ttext_always_eq
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are never not equal to "value", * "False" otherwise.
-
never_less
Returns whether the values of "this" are never less than "value".MEOS Functions:
- ttext_ever_lt
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are never less than "value", * "False" otherwise.
-
never_less_or_equal
Returns whether the values of "this" are never less than or equal to "value".MEOS Functions:
- ttext_ever_le
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are never less than or equal to * "value", "False" otherwise.
-
never_greater_or_equal
Returns whether the values of "this" are never greater than or equal to "value".MEOS Functions:
- ttext_always_lt
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this "are never greater than or equal to * "value", "False" otherwise.
-
never_greater
Returns whether the values of "this" are never greater than "value".MEOS Functions:
- ttext_always_le
- Parameters:
value
-String
to compare.- Returns:
- "True" if the values of "this" are never greater than "value", * "False" otherwise.
-
temporal_equal_string
Returns the temporal equality relation between "this" and "other".MEOS Functions:
- teq_ttext_text
- teq_temporal_temporal
-
temporal_not_equal_string
Returns the temporal not equal relation between "this" and "other".MEOS Functions:
- tne_ttext_text
- tne_temporal_temporal
-
temporal_less_string
Returns the temporal less than relation between "this" and "other".MEOS Functions:
- tlt_ttext_text
- tlt_temporal_temporal
-
temporal_less_or_equal_string
Returns the temporal less or equal relation between "this" and "other".MEOS Functions:
- tle_ttext_text
- tle_temporal_temporal
-
temporal_greater_or_equal_string
Returns the temporal greater or equal relation between "this" and "other".MEOS Functions:
- tge_ttext_text
- tge_temporal_temporal
-
temporal_greater_string
Returns the temporal greater than relation between "this" and "other".MEOS Functions:
- tgt_ttext_text
- tgt_temporal_temporal
-
createPointerFromString
Returns a new temporal string with the values of `self` restricted to the time or value `other`. Args: other: Time or value to restrict to. Returns: A new temporal string. MEOS Functions: ttext_at_value, temporal_at_timestamp, temporal_at_tstzset, temporal_at_tstzspan, temporal_at_tstzspanset -
at
- Throws:
Exception
-
minus
Returns a new temporal string with the values of `self` restricted to the complement of the time or value `other`. Args: other: Time or value to restrict to the complement of. Returns: A new temporal string. MEOS Functions: ttext_minus_value, temporal_minus_timestamp, temporal_minus_tstzset, temporal_minus_tstzspan, temporal_minus_tstzspanset- Throws:
Exception
-
concatenate
Returns a new temporal string with the values of `self` concatenated with the values of `other`. Args: other: Temporal string or string to concatenate. other_before: If `True` the values of `other` are prepended to the values of `self`. Returns: A new temporal string. MEOS Functions: textcat_ttext_text, textcat_text_ttext, textcat_ttext_ttext- Throws:
Exception
-
_add
Returns a new temporal string with the values of `self` concatenated with the values of `other`. Args: other: Temporal string or string to concatenate. Returns: A new temporal string. MEOS Functions: textcat_ttext_text, textcat_text_ttext, textcat_ttext_ttext- Throws:
Exception
-
_radd
Returns a new temporal string with the values of `other` concatenated with the values of `self`. Args: other: Temporal string or string to concatenate. Returns: A new temporal string. MEOS Functions: textcat_ttext_text, textcat_text_ttext, textcat_ttext_ttext- Throws:
Exception
-