Class EdgeModifierImpl<VID>

java.lang.Object
oracle.pgx.api.internal.ApiObject
oracle.pgx.api.GraphBuilderImpl<VID>
oracle.pgx.api.GraphChangeSetImpl<VID>
oracle.pgx.api.graphbuilder.EdgeModifierImpl<VID>
All Implemented Interfaces:
EdgeBuilder<VID>, EdgeModifier<VID>, GraphBuilder<VID>, GraphChangeSet<VID>

public class EdgeModifierImpl<VID> extends GraphChangeSetImpl<VID> implements EdgeModifier<VID>
  • Constructor Details

  • Method Details

    • isIgnored

      public boolean isIgnored()
      Description copied from interface: EdgeBuilder
      Whether this edge builder ignores method calls true or if it performs calls as usual false. Some issues, such as incompatible changes in a ChangeSet, can be configured to be ignored. In that case, additional method calls on the returned edge builder object will be ignored.
      Specified by:
      isIgnored in interface EdgeBuilder<VID>
      Returns:
      whether method calls are ignored
    • setProperty

      public EdgeModifier<VID> setProperty(String key, Object value)
      Description copied from interface: EdgeBuilder
      Sets the property value of this edge with the given key to the given value. The first time this method is called, the type of value defines the type of the property.
      Specified by:
      setProperty in interface EdgeBuilder<VID>
      Specified by:
      setProperty in interface EdgeModifier<VID>
      Parameters:
      key - the property key
      value - the value of the vertex property
      Returns:
      this vertex builder
    • setLabel

      public EdgeModifier<VID> setLabel(String label)
      Description copied from interface: EdgeBuilder
      Sets the new value of the label
      Specified by:
      setLabel in interface EdgeBuilder<VID>
      Specified by:
      setLabel in interface EdgeModifier<VID>
      Parameters:
      label - the new value of the label
      Returns:
      this edge builder
    • getId

      public long getId()
      Description copied from interface: EdgeBuilder
      Gets the id of the element (vertex or edge) this builder belongs to
      Specified by:
      getId in interface EdgeBuilder<VID>
      Returns:
      the id of the element