public class BigdataGraphEmbedded.BigdataReadOnlyGraph extends BigdataGraph
BigdataGraph.EdgeIterable, BigdataGraph.FusedIterable<T>, BigdataGraph.Options, BigdataGraph.VertexIterable, BigdataGraph.WrappedResult<E>
EDGE, factory, FEATURES, LABEL, laxProperties, maxQueryTime, SPARQL_LOG_MAX, TYPE, VERTEX
Modifier and Type | Method and Description |
---|---|
void |
cancel(RunningQuery r)
Kill a running query specified by the RunningQuery object.
|
void |
cancel(String uuid)
Kill a running query specified by the UUID String.
|
void |
cancel(UUID queryId)
Kill a running query specified by the UUID.
|
BigdataSailRepositoryConnection |
cxn()
Different implementations will return different types of connections
depending on the mode (client/server, embedded, read-only, etc.)
|
StringBuilder |
dumpStore() |
RunningQuery |
getQueryByExternalId(String extQueryId)
Return the
RunningQuery for a currently executing SPARQL QUERY or
UPDATE request. |
RunningQuery |
getQueryById(UUID queryId2)
Return the
RunningQuery for a currently executing SPARQL QUERY or
UPDATE request. |
Collection<RunningQuery> |
getRunningQueries()
Return a Collection of running queries
|
protected boolean |
isQueryCancelled(UUID queryId)
Helper method to determine if a query was cancelled.
|
boolean |
isReadOnly()
Is this a read-only view of the graph?
|
protected UUID |
setupQuery(BigdataSailRepositoryConnection cxn,
ASTContainer astContainer,
QueryType queryType,
String extQueryId)
Embedded clients can override this to access query management
capabilities.
|
void |
shutdown() |
protected void |
tearDownQuery(UUID queryId)
Embedded clients can override this to access query management
capabilities.
|
addEdge, addEdge, addEdge, addVertex, ask, ask, convert, finalizeQuery, fuse, getEdge, getEdges, getEdges, getElements, getFeatures, getProperty, getProperty, getProperty, getPropertyKeys, getValueFactory, getVertex, getVertices, getVertices, history, history, loadGraphML, project, project, query, removeEdge, removeProperty, removeProperty, removeVertex, select, select, setMaxQueryTime, setProperty, setProperty, toGraphAtom, toGraphAtom, toLiterals, toString, update, update
public void shutdown()
public BigdataSailRepositoryConnection cxn() throws Exception
BigdataGraph
cxn
in class BigdataGraph
Exception
public Collection<RunningQuery> getRunningQueries()
BigdataGraph
getRunningQueries
in class BigdataGraph
public void cancel(UUID queryId)
BigdataGraph
cancel
in class BigdataGraph
public void cancel(String uuid)
BigdataGraph
cancel
in class BigdataGraph
public void cancel(RunningQuery r)
BigdataGraph
cancel
in class BigdataGraph
public RunningQuery getQueryById(UUID queryId2)
BigdataGraph
RunningQuery
for a currently executing SPARQL QUERY or
UPDATE request.getQueryById
in class BigdataGraph
queryId2
- The UUID
for the request.RunningQuery
iff it was found.public RunningQuery getQueryByExternalId(String extQueryId)
BigdataGraph
RunningQuery
for a currently executing SPARQL QUERY or
UPDATE request.getQueryByExternalId
in class BigdataGraph
RunningQuery
iff it was found.protected UUID setupQuery(BigdataSailRepositoryConnection cxn, ASTContainer astContainer, QueryType queryType, String extQueryId)
BigdataGraph
setupQuery
in class BigdataGraph
protected void tearDownQuery(UUID queryId)
BigdataGraph
tearDownQuery
in class BigdataGraph
protected boolean isQueryCancelled(UUID queryId)
BigdataGraph
isQueryCancelled
in class BigdataGraph
public StringBuilder dumpStore() throws Exception
Exception
public boolean isReadOnly()
BigdataGraph
isReadOnly
in class BigdataGraph
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.