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, updatepublic void shutdown()
public BigdataSailRepositoryConnection cxn() throws Exception
BigdataGraphcxn in class BigdataGraphExceptionpublic Collection<RunningQuery> getRunningQueries()
BigdataGraphgetRunningQueries in class BigdataGraphpublic void cancel(UUID queryId)
BigdataGraphcancel in class BigdataGraphpublic void cancel(String uuid)
BigdataGraphcancel in class BigdataGraphpublic void cancel(RunningQuery r)
BigdataGraphcancel in class BigdataGraphpublic RunningQuery getQueryById(UUID queryId2)
BigdataGraphRunningQuery for a currently executing SPARQL QUERY or
UPDATE request.getQueryById in class BigdataGraphqueryId2 - The UUID for the request.RunningQuery iff it was found.public RunningQuery getQueryByExternalId(String extQueryId)
BigdataGraphRunningQuery for a currently executing SPARQL QUERY or
UPDATE request.getQueryByExternalId in class BigdataGraphRunningQuery iff it was found.protected UUID setupQuery(BigdataSailRepositoryConnection cxn, ASTContainer astContainer, QueryType queryType, String extQueryId)
BigdataGraphsetupQuery in class BigdataGraphprotected void tearDownQuery(UUID queryId)
BigdataGraphtearDownQuery in class BigdataGraphprotected boolean isQueryCancelled(UUID queryId)
BigdataGraphisQueryCancelled in class BigdataGraphpublic StringBuilder dumpStore() throws Exception
Exceptionpublic boolean isReadOnly()
BigdataGraphisReadOnly in class BigdataGraphCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.