Skip to content

GetPropertygraphStreamOutput

Source code in docs_src/capo_neptunedata/types/get_propertygraph_stream_output.py
class GetPropertygraphStreamOutput(TypedDict, closed=True):
    last_event_id: "capo_neptunedata.types.string_valued_map.StringValuedMap"
    """<p>Sequence identifier of the last change in the stream response.</p> <p>An event ID is composed of two fields: a <code>commitNum</code>, which identifies a transaction that changed the graph, and an <code>opNum</code>, which identifies a specific operation within that transaction:</p>"""
    last_trx_timestamp_in_millis: "int"
    """<p>The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.</p>"""
    format: "str"
    """<p>Serialization format for the change records being returned. Currently, the only supported value is <code>PG_JSON</code>.</p>"""
    records: (
        "capo_neptunedata.types.propertygraph_records_list.PropertygraphRecordsList"
    )
    """<p>An array of serialized change-log stream records included in the response.</p>"""
    total_records: "int"
    """<p>The total number of records in the response.</p>"""

format instance-attribute

format: str

Serialization format for the change records being returned. Currently, the only supported value is PG_JSON.

last_event_id instance-attribute

last_event_id: StringValuedMap

Sequence identifier of the last change in the stream response.

An event ID is composed of two fields: a commitNum, which identifies a transaction that changed the graph, and an opNum, which identifies a specific operation within that transaction:

last_trx_timestamp_in_millis instance-attribute

last_trx_timestamp_in_millis: int

The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.

records instance-attribute

An array of serialized change-log stream records included in the response.

total_records instance-attribute

total_records: int

The total number of records in the response.