TrimHorizonStreamingCursor¶
-
class
oci.sch.models.TrimHorizonStreamingCursor(**kwargs)¶ Bases:
oci.sch.models.streaming_cursor_details.StreamingCursorDetailsTRIM_HORIZON cursor type. Starts reading from the oldest available message in the stream. For configuration instructions, see Creating a Connector with a Streaming Source.
Attributes
KIND_LATESTstr(object=’’) -> str KIND_TRIM_HORIZONstr(object=’’) -> str kind[Required] Gets the kind of this StreamingCursorDetails. Methods
__init__(**kwargs)Initializes a new TrimHorizonStreamingCursor object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
KIND_LATEST= 'LATEST'¶
-
KIND_TRIM_HORIZON= 'TRIM_HORIZON'¶
-
__init__(**kwargs)¶ Initializes a new TrimHorizonStreamingCursor object with values from keyword arguments. The default value of the
kindattribute of this class isTRIM_HORIZONand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: kind (str) – The value to assign to the kind property of this TrimHorizonStreamingCursor. Allowed values for this property are: “LATEST”, “TRIM_HORIZON”
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
kind¶ [Required] Gets the kind of this StreamingCursorDetails. The type discriminator.
Allowed values for this property are: “LATEST”, “TRIM_HORIZON”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The kind of this StreamingCursorDetails. Return type: str
-