Interface FHIRTermGraph
-
- All Known Implementing Classes:
FHIRTermGraphImpl
public interface FHIRTermGraph
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIS_AThe edge label that represents an is-a relationship in the graph
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclose()Close the graph and its underlying resources.org.apache.commons.configuration2.Configurationconfiguration()Get the configuration used to create thisFHIRTermGraph.voiddrop()Drop the graph.voiddropAllVertices()Drop all vertices and edges from the graph.org.janusgraph.core.JanusGraphgetJanusGraph()Get the underlyingJanusGraphinstance behind thisFHIRTermGraph.default java.util.stream.Stream<org.janusgraph.core.JanusGraphIndexQuery.Result<org.janusgraph.core.JanusGraphVertex>>indexQuery(java.lang.String query)Query the indexing backend using the Lucene query parser syntax.java.util.stream.Stream<org.janusgraph.core.JanusGraphIndexQuery.Result<org.janusgraph.core.JanusGraphVertex>>indexQuery(java.lang.String query, int limit, int offset)Query the indexing backend using the Lucene query parser syntax and the provided limit and offset.org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSourcetraversal()Get the graph traversal source associated with the underlyingJanusGraphinstance.
-
-
-
Field Detail
-
IS_A
static final java.lang.String IS_A
The edge label that represents an is-a relationship in the graph- See Also:
- Constant Field Values
-
-
Method Detail
-
configuration
org.apache.commons.configuration2.Configuration configuration()
Get the configuration used to create thisFHIRTermGraph.- Returns:
- the configuration
-
getJanusGraph
org.janusgraph.core.JanusGraph getJanusGraph()
Get the underlyingJanusGraphinstance behind thisFHIRTermGraph.- Returns:
- the
JanusGraphinstance
-
traversal
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource traversal()
Get the graph traversal source associated with the underlyingJanusGraphinstance.- Returns:
- the graph traversal source
-
indexQuery
default java.util.stream.Stream<org.janusgraph.core.JanusGraphIndexQuery.Result<org.janusgraph.core.JanusGraphVertex>> indexQuery(java.lang.String query)
Query the indexing backend using the Lucene query parser syntax.- Parameters:
query- the query- Returns:
- results of the specified query
-
indexQuery
java.util.stream.Stream<org.janusgraph.core.JanusGraphIndexQuery.Result<org.janusgraph.core.JanusGraphVertex>> indexQuery(java.lang.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 querylimit- the limitoffset- 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.
-
-