Interface DeleteOperation.Builder

  • Method Details

    • entity

      The node or edge to remove.

      Parameters:
      entity - The node or edge to remove.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entity

      The node or edge to remove.

      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

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

      An edge delete requires edgeType, which with the two node IDs names the edge. A node delete ignores properties on input, so a listed delete can be sent back. A property value over the Metadata input limit (a long list property of the deleted node) is refused before it is ignored. ListChangeSetOperations returns the properties the entity had when the change was made: a node's nodeType and nodeName, an edge's edgeType.

      Parameters:
      properties - An edge delete requires edgeType, which with the two node IDs names the edge. A node delete ignores properties on input, so a listed delete can be sent back. A property value over the Metadata input limit (a long list property of the deleted node) is refused before it is ignored. ListChangeSetOperations returns the properties the entity had when the change was made: a node's nodeType and nodeName, an edge's edgeType.
      Returns:
      Returns a reference to this object so that method calls can be chained together.