Interface UpdateOperation.Builder

  • Method Details

    • entity

      The node or edge to change. A node's ID is built from its nodeType and identity properties, so entity.nodeId is a placeholder that must differ for each node in one write.

      Parameters:
      entity - The node or edge to change. A node's ID is built from its nodeType and identity properties, so entity.nodeId is a placeholder that must differ for each node in one write.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entity

      The node or edge to change. A node's ID is built from its nodeType and identity properties, so entity.nodeId is a placeholder that must differ for each node in one write.

      This is a convenience method that creates an instance of the Entity.Builder avoiding the need to create one manually via Entity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entity(Entity).

      Parameters:
      entity - a consumer that will call methods on Entity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • properties

      UpdateOperation.Builder properties(Map<String,AnyValue> properties)

      The properties to set, up to 50. {} when there are none. ListChangeSetOperations lists them as it lists those of PutOperation.

      Parameters:
      properties - The properties to set, up to 50. {} when there are none. ListChangeSetOperations lists them as it lists those of PutOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.