Interface TText
- All Known Implementing Classes:
TTextInst,TTextSeq,TTextSeqSet
- Author:
- ARIJIT SAMAL
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault TTextReturns a new temporal string with the values of `self` concatenated with the values of `other`.default TTextReturns a new temporal string with the values of `other` concatenated with the values of `self`.default booleanalways_equal(String value) Returns whether the values of "this" are always equal to "value".default booleanalways_greater(String value) Returns whether the values of "this" are always greater than "value".default booleanalways_greater_or_equal(String value) Returns whether the values of "this" are always greater than or equal to "value".default booleanalways_less(String value) Returns whether the values of "this" are always less than "value".default booleanalways_less_or_equal(String value) Returns whether the values of "this" are always less than or equal to "value".default booleanalways_not_equal(String value) Returns whether the values of "this" are always not equal to "value".default Stringas_wkt()Returns the Well-Known Text representation of "this".default TTextdefault TTextconcatenate(Object other, boolean other_before) Returns a new temporal string with the values of `self` concatenated with the values of `other`.private jnr.ffi.PointerReturns a new temporal string with the values of `self` restricted to the time or value `other`.default StringReturns the ending value of "this".default booleanever_equal(String value) Returns whether the values of "this" are ever equal to "value".default booleanever_greater(String value) Returns whether the values of "this" are ever greater than "value".default booleanever_greater_or_equal(String value) Returns whether the values of "this" are ever greater than or equal to "value".default booleanReturns whether the values of `self` are ever less than "value".default booleanever_less_or_equal(String value) Returns whether the values of "this" are ever less than or equal to "value".default booleanever_not_equal(String value) Returns whether the values of "this" are ever not equal to "value".static TTextfrom_base_temporal(String value, Temporal base) Create a temporal string from a string value and the time frame of another temporal object.static Temporalfrom_base_time(String value, Time base) Create a temporal string from a string value and a time object.default TTextfrom_mfjson(String mfjson) Returns a temporal object from a MF-JSON string.jnr.ffi.Pointerdefault TTextlower()Returns a new temporal string with the values of `self` converted to lower case.default StringReturns the maximum value of the "this".default StringReturns the minimum value of the "this".default TTextReturns a new temporal string with the values of `self` restricted to the complement of the time or value `other`.default booleannever_equal(String value) Returns whether the values of "this" are never equal to "value".default booleannever_greater(String value) Returns whether the values of "this" are never greater than "value".default booleannever_greater_or_equal(String value) Returns whether the values of "this" are never greater than or equal to "value".default booleannever_less(String value) Returns whether the values of "this" are never less than "value".default booleannever_less_or_equal(String value) Returns whether the values of "this" are never less than or equal to "value".default booleannever_not_equal(String value) Returns whether the values of "this" are never not equal to "value".default StringReturns the starting value of "this".default Temporaltemporal_equal_string(String other) Returns the temporal equality relation between "this" and "other".default TemporalReturns the temporal greater or equal relation between "this" and "other".default Temporaltemporal_greater_string(String other) Returns the temporal greater than relation between "this" and "other".default TemporalReturns the temporal less or equal relation between "this" and "other".default Temporaltemporal_less_string(String other) Returns the temporal less than relation between "this" and "other".default Temporaltemporal_not_equal_string(String other) Returns the temporal not equal relation between "this" and "other".default StringReturns the string representation of "this".default TTextupper()Returns a new temporal string with the values of `self` converted to upper case.default StringReturns 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
TTextobject.
-
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
Stringwith the minimum value.
-
max_value
Returns the maximum value of the "this".MEOS Functions:
- ttext_max_value
- Returns:
- A
Stringwith 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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-Stringto 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
-