Example #1
0
    def get_inV(self):
        """
        Returns the ID of the edge's incoming vertex (end node).

        :rtype: int

        """
        _inV = self.data.get("_inV")
        return coerce_id(_inV)
Example #2
0
    def get_outV(self):
        """
        Returns the ID of the edge's outgoing vertex (start node).

        :rtype: int

        """
        _outV = self.data.get("_outV")
        return coerce_id(_outV)
Example #3
0
    def get_inV(self):
        """
        Returns the ID of the edge's incoming vertex (end node).

        :rtype: int

        """
        _inV = self.data.get('_inV')
        return coerce_id(_inV)
Example #4
0
    def get_outV(self):
        """
        Returns the ID of the edge's outgoing vertex (start node).

        :rtype: int

        """
        _outV = self.data.get('_outV')
        return coerce_id(_outV)
Example #5
0
    def get_id(self):
        """
        Returns the element ID.

        :rtype: int or str

        """
        _id = self.data["_id"]

        # OrientDB uses string IDs
        return coerce_id(_id)
Example #6
0
    def get_id(self):
        """
        Returns the element ID.

        :rtype: int or str

        """
        _id = self.data['_id']

        # OrientDB uses string IDs
        return coerce_id(_id)
Example #7
0
    def get_id(self):
        """Returns the element ID."""
        _id = self.data['_id']

        # OrientDB uses string IDs
        return coerce_id(_id)