Class TdbGraphPathVertex


  • public class TdbGraphPathVertex
    extends TdbSessionObject
    Represents a vertex (node) in a path such as generated by one of the path analysis functions in TdbGraphSet.

    THIS CLASS IS EXPERIMENTAL. USE WITH CAUTION! ITS INTERFACE MAY CHANGE IN FUTURE RELEASES.

    Since:
    TRIPjxp 3.1
    See Also:
    TdbGraphPathEdge, TdbGraphPath
    • Method Detail

      • getRecord

        public TdbRecord getRecord​(boolean createFields,
                                   boolean retrieve)
                            throws TdbException
        Return a TdbRecord object for this graph vertex.
        Parameters:
        createFields - True set the record up to retrieve all field values.
        retrieve - True to execute the 'get()' operation on the record before it is returned
        Returns:
        A TdbRecord object
        Throws:
        TdbException
      • getDatabaseName

        public java.lang.String getDatabaseName()
        Returns the name of the database this vertex is associated with.
        Returns:
        Database name or null if this vertex is not associated with a regular database
      • getRecordId

        public int getRecordId()
        Returns the record id (RID) of the record this vertex is associated with
        Returns:
        Record ID or zero if this vertex is not associated with a regular record
      • getOutputEdge

        public TdbGraphPathEdge getOutputEdge()
        Get the outut edge this path vertex is associated with.
        Returns:
        Edge object or null if there are no outgoing edges.