Class FHIRTermGraphImpl

    • Constructor Detail

      • FHIRTermGraphImpl

        public FHIRTermGraphImpl​(org.apache.commons.configuration.Configuration configuration)
    • Method Detail

      • configuration

        public org.apache.commons.configuration.Configuration configuration()
        Description copied from interface: FHIRTermGraph
        Get the configuration used to create this FHIRTermGraph.
        Specified by:
        configuration in interface FHIRTermGraph
        Returns:
        the configuration
      • getJanusGraph

        public org.janusgraph.core.JanusGraph getJanusGraph()
        Description copied from interface: FHIRTermGraph
        Get the underlying JanusGraph instance behind this FHIRTermGraph.
        Specified by:
        getJanusGraph in interface FHIRTermGraph
        Returns:
        the JanusGraph instance
      • traversal

        public org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource traversal()
        Description copied from interface: FHIRTermGraph
        Get the graph traversal source associated with the underlying JanusGraph instance.
        Specified by:
        traversal in interface FHIRTermGraph
        Returns:
        the graph traversal source
      • indexQuery

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

        public void close()
        Description copied from interface: FHIRTermGraph
        Close the graph and its underlying resources.
        Specified by:
        close in interface FHIRTermGraph