Class VirtualGraphInfo


  • public class VirtualGraphInfo
    extends java.lang.Object
    Information about a virtual graph.
    • Constructor Summary

      Constructors 
      Constructor Description
      VirtualGraphInfo​(java.lang.String name, java.lang.String dataSourceName, java.lang.String database, boolean available)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDatabase()
      Returns the name the database that is associated with this virtual graph, or "*" if this virtual graph works with all databases.
      java.lang.String getDataSourceName()
      Returns the name (namespace + local name) of the data source that provides the connection to the backing database for this virtual graph.
      java.lang.String getIri()
      Returns the qualified name of the virtual graph as a String ("virtual://graphName").
      java.lang.String getName()
      Returns the name of the virtual graph (not including virtual namespace).
      boolean isAvailable()
      Is the virtual graph available?
      java.lang.String toString()  
      static VirtualGraphInfo toVirtualGraphInfo​(VirtualGraph vg)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VirtualGraphInfo

        public VirtualGraphInfo​(java.lang.String name,
                                java.lang.String dataSourceName,
                                java.lang.String database,
                                boolean available)
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of the virtual graph (not including virtual namespace).
      • getIri

        public java.lang.String getIri()
        Returns the qualified name of the virtual graph as a String ("virtual://graphName").
      • getDataSourceName

        public java.lang.String getDataSourceName()
        Returns the name (namespace + local name) of the data source that provides the connection to the backing database for this virtual graph.
      • getDatabase

        public java.lang.String getDatabase()
        Returns the name the database that is associated with this virtual graph, or "*" if this virtual graph works with all databases.
      • isAvailable

        public boolean isAvailable()
        Is the virtual graph available?
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object