public static interface PropertygraphRecord.Builder extends SdkPojo, CopyableBuilder<PropertygraphRecord.Builder,PropertygraphRecord>
| Modifier and Type | Method and Description |
|---|---|
PropertygraphRecord.Builder |
commitTimestampInMillis(Long commitTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
|
default PropertygraphRecord.Builder |
data(Consumer<PropertygraphData.Builder> data)
The serialized Gremlin or openCypher change record.
|
PropertygraphRecord.Builder |
data(PropertygraphData data)
The serialized Gremlin or openCypher change record.
|
PropertygraphRecord.Builder |
eventId(Map<String,String> eventId)
The sequence identifier of the stream change record.
|
PropertygraphRecord.Builder |
isLastOp(Boolean isLastOp)
Only present if this operation is the last one in its transaction.
|
PropertygraphRecord.Builder |
op(String op)
The operation that created the change.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPropertygraphRecord.Builder commitTimestampInMillis(Long commitTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
commitTimestampInMillis - The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.PropertygraphRecord.Builder eventId(Map<String,String> eventId)
The sequence identifier of the stream change record.
eventId - The sequence identifier of the stream change record.PropertygraphRecord.Builder data(PropertygraphData data)
The serialized Gremlin or openCypher change record.
data - The serialized Gremlin or openCypher change record.default PropertygraphRecord.Builder data(Consumer<PropertygraphData.Builder> data)
The serialized Gremlin or openCypher change record.
This is a convenience method that creates an instance of thePropertygraphData.Builder avoiding the
need to create one manually via PropertygraphData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to data(PropertygraphData).
data - a consumer that will call methods on PropertygraphData.Builderdata(PropertygraphData)PropertygraphRecord.Builder op(String op)
The operation that created the change.
op - The operation that created the change.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.
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.Copyright © 2023. All rights reserved.