Interface FHIRTermGraph

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String IS_A
      The edge label that represents an is-a relationship in the graph
    • Method Detail

      • configuration

        org.apache.commons.configuration2.Configuration configuration()
        Get the configuration used to create this FHIRTermGraph.
        Returns:
        the configuration
      • getJanusGraph

        org.janusgraph.core.JanusGraph getJanusGraph()
        Get the underlying JanusGraph instance behind this FHIRTermGraph.
        Returns:
        the JanusGraph instance
      • traversal

        org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource traversal()
        Get the graph traversal source associated with the underlying JanusGraph instance.
        Returns:
        the graph traversal source
      • indexQuery

        default Stream<org.janusgraph.core.JanusGraphIndexQuery.Result<org.janusgraph.core.JanusGraphVertex>> indexQuery​(String query)
        Query the indexing backend using the Lucene query parser syntax.
        Parameters:
        query - the query
        Returns:
        results of the specified query
      • indexQuery

        Stream<org.janusgraph.core.JanusGraphIndexQuery.Result<org.janusgraph.core.JanusGraphVertex>> indexQuery​(String query,
                                                                                                                 int limit,
                                                                                                                 int offset)
        Query the indexing backend using the Lucene query parser syntax and the provided limit and offset.
        Parameters:
        query - the query
        limit - the limit
        offset - the offset
        Returns:
        results of the specified query using the provided limit and offset
      • close

        void close()
        Close the graph and its underlying resources.
      • drop

        void drop()
        Drop the graph.
      • dropAllVertices

        void dropAllVertices()
        Drop all vertices and edges from the graph.