Interface PropertygraphRecord.Builder

    • Method Detail

      • commitTimestampInMillis

        PropertygraphRecord.Builder commitTimestampInMillis​(Long commitTimestampInMillis)

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

        Parameters:
        commitTimestampInMillis - The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventId

        PropertygraphRecord.Builder eventId​(Map<String,​String> eventId)

        The sequence identifier of the stream change record.

        Parameters:
        eventId - The sequence identifier of the stream change record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • data

        PropertygraphRecord.Builder data​(PropertygraphData data)

        The serialized Gremlin or openCypher change record.

        Parameters:
        data - The serialized Gremlin or openCypher change record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • op

        PropertygraphRecord.Builder op​(String op)

        The operation that created the change.

        Parameters:
        op - The operation that created the change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isLastOp

        PropertygraphRecord.Builder isLastOp​(Boolean isLastOp)

        Only present if this operation is the last one in its transaction. If present, it is set to true. It is useful for ensuring that an entire transaction is consumed.

        Parameters:
        isLastOp - Only present if this operation is the last one in its transaction. If present, it is set to true. It is useful for ensuring that an entire transaction is consumed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.