Interface PropertygraphData.Builder

    • Method Detail

      • id

        PropertygraphData.Builder id​(String id)

        The ID of the Gremlin or openCypher element.

        Parameters:
        id - The ID of the Gremlin or openCypher element.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        PropertygraphData.Builder type​(String type)

        The type of this Gremlin or openCypher element. Must be one of:

        • v1   -   Vertex label for Gremlin, or node label for openCypher.

        • vp   -   Vertex properties for Gremlin, or node properties for openCypher.

        • e   -   Edge and edge label for Gremlin, or relationship and relationship type for openCypher.

        • ep   -   Edge properties for Gremlin, or relationship properties for openCypher.

        Parameters:
        type - The type of this Gremlin or openCypher element. Must be one of:

        • v1   -   Vertex label for Gremlin, or node label for openCypher.

        • vp   -   Vertex properties for Gremlin, or node properties for openCypher.

        • e   -   Edge and edge label for Gremlin, or relationship and relationship type for openCypher.

        • ep   -   Edge properties for Gremlin, or relationship properties for openCypher.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • key

        PropertygraphData.Builder key​(String key)

        The property name. For element labels, this is label.

        Parameters:
        key - The property name. For element labels, this is label.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        PropertygraphData.Builder value​(Document value)

        This is a JSON object that contains a value field for the value itself, and a datatype field for the JSON data type of that value:

        Parameters:
        value - This is a JSON object that contains a value field for the value itself, and a datatype field for the JSON data type of that value:
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • from

        PropertygraphData.Builder from​(String from)

        If this is an edge (type = e), the ID of the corresponding from vertex or source node.

        Parameters:
        from - If this is an edge (type = e), the ID of the corresponding from vertex or source node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • to

        PropertygraphData.Builder to​(String to)

        If this is an edge (type = e), the ID of the corresponding to vertex or target node.

        Parameters:
        to - If this is an edge (type = e), the ID of the corresponding to vertex or target node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.