StreamingCursorDetails¶
-
class
oci.sch.models.StreamingCursorDetails(**kwargs)¶ Bases:
objectThe read setting, which determines where in the stream to start moving data. For configuration instructions, see Creating a Connector with a Streaming Source.
Attributes
KIND_LATESTA constant which can be used with the kind property of a StreamingCursorDetails. KIND_TRIM_HORIZONA constant which can be used with the kind property of a StreamingCursorDetails. kind[Required] Gets the kind of this StreamingCursorDetails. Methods
__init__(**kwargs)Initializes a new StreamingCursorDetails 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'¶ A constant which can be used with the kind property of a StreamingCursorDetails. This constant has a value of “LATEST”
-
KIND_TRIM_HORIZON= 'TRIM_HORIZON'¶ A constant which can be used with the kind property of a StreamingCursorDetails. This constant has a value of “TRIM_HORIZON”
-
__init__(**kwargs)¶ Initializes a new StreamingCursorDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 StreamingCursorDetails. 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’.
-
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
-