Class GraphId

java.lang.Object
org.postgresql.util.PGobject
net.bitnine.agensgraph.graph.GraphId
All Implemented Interfaces:
Serializable, Cloneable

public class GraphId extends org.postgresql.util.PGobject implements Serializable, Cloneable
This class defines the type graph id.
See Also:
  • Field Summary

    Fields inherited from class org.postgresql.util.PGobject

    type, value
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    GraphId(long id)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the id of the GraphId.
    void
     

    Methods inherited from class org.postgresql.util.PGobject

    clone, equals, equals, getType, getValue, hashCode, isNull, setType, toString

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • GraphId

      public GraphId()
    • GraphId

      public GraphId(long id)
  • Method Details

    • setValue

      public void setValue(String value) throws SQLException
      Overrides:
      setValue in class org.postgresql.util.PGobject
      Throws:
      SQLException
    • getId

      public long getId()
      Returns the id of the GraphId.
      Returns:
      the id of the GraphId