Interface VertexModifier<VID>

    • Method Detail

      • removeLabel

        VertexModifier<VID> removeLabel​(java.lang.String label)
        Removes the given label from the vertex.
        Parameters:
        label - the label value to remove
        Returns:
        this vertex modifier
      • setProperty

        VertexModifier<VID> setProperty​(java.lang.String key,
                                        java.lang.Object value)
        Description copied from interface: VertexBuilder
        Sets the property value of this vertex 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 VertexBuilder<VID>
        Parameters:
        key - the property key
        value - the value of the vertex property
        Returns:
        this vertex builder
      • addLabel

        VertexModifier<VID> addLabel​(java.lang.String label)
        Description copied from interface: VertexBuilder
        Adds the given label to this vertex
        Specified by:
        addLabel in interface VertexBuilder<VID>
        Parameters:
        label - the label to be added
        Returns:
        this vertex builder
      • getId

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