public class BigdataGraphClient extends BigdataGraph
BigdataSailRemoteRepository},
BigdataSailRemoteRepositoryConnection},
RemoteRepository}BigdataGraph.EdgeIterable, BigdataGraph.FusedIterable<T>, BigdataGraph.Options, BigdataGraph.VertexIterable, BigdataGraph.WrappedResult<E>| Modifier and Type | Field and Description |
|---|---|
protected static com.tinkerpop.blueprints.Features |
FEATURES |
EDGE, factory, LABEL, laxProperties, maxQueryTime, SPARQL_LOG_MAX, TYPE, VERTEX| Constructor and Description |
|---|
BigdataGraphClient(BigdataSailRemoteRepository repo) |
BigdataGraphClient(BigdataSailRemoteRepository repo,
BlueprintsValueFactory factory)
Core implementation.
|
BigdataGraphClient(RemoteRepository repo) |
BigdataGraphClient(RemoteRepository repo,
BlueprintsValueFactory factory) |
BigdataGraphClient(String sparqlEndpointURL) |
BigdataGraphClient(String sparqlEndpointURL,
BlueprintsValueFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(RunningQuery r)
Kill a running query specified by the RunningQuery object.
|
void |
cancel(String queryId)
Kill a running query specified by the UUID String.
|
void |
cancel(UUID queryId)
Kill a running query specified by the UUID.
|
BigdataSailRemoteRepositoryConnection |
cxn()
|
com.tinkerpop.blueprints.Features |
getFeatures() |
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?
|
void |
loadGraphML(String file)
Post a GraphML file to the remote server.
|
protected UUID |
setupQuery(BigdataSailRepositoryConnection cxn,
ASTContainer astContainer,
QueryType queryType,
String extQueryId)
Embedded clients can override this to access query management
capabilities.
|
void |
shutdown()
Shutdown the connection and repository (client-side, not server-side).
|
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, getProperty, getProperty, getProperty, getPropertyKeys, getValueFactory, getVertex, getVertices, getVertices, history, history, project, project, query, removeEdge, removeProperty, removeProperty, removeVertex, select, select, setMaxQueryTime, setProperty, setProperty, toGraphAtom, toGraphAtom, toLiterals, toString, update, updatepublic BigdataGraphClient(String sparqlEndpointURL)
sparqlEndpointURL - The URL of the SPARQL end point. This will be used to read and
write on the graph using the blueprints API.public BigdataGraphClient(String sparqlEndpointURL, BlueprintsValueFactory factory)
sparqlEndpointURL - The URL of the SPARQL end point. This will be used to read and
write on the graph using the blueprints API.factory - The BlueprintsValueFactory.public BigdataGraphClient(RemoteRepository repo)
public BigdataGraphClient(RemoteRepository repo, BlueprintsValueFactory factory)
public BigdataGraphClient(BigdataSailRemoteRepository repo)
public BigdataGraphClient(BigdataSailRemoteRepository repo, BlueprintsValueFactory factory)
repo - The BigdataSailRemoteRepository for the desired graph.factory - The BlueprintsValueFactory.public void loadGraphML(String file) throws Exception
loadGraphML in class BigdataGraphExceptionpublic BigdataSailRemoteRepositoryConnection cxn() throws Exception
BigdataSailRemoteRepositoryConnection.
TODO Review this now that we support read/write tx for
BigdataSailRemoteRepositoryConnection (if namespace uses
ISOLATABLE_INDICES).cxn in class BigdataGraphExceptionpublic void shutdown()
public com.tinkerpop.blueprints.Features getFeatures()
getFeatures in interface com.tinkerpop.blueprints.GraphgetFeatures in class BigdataGraphprotected UUID setupQuery(BigdataSailRepositoryConnection cxn, ASTContainer astContainer, QueryType queryType, String extQueryId)
BigdataGraphsetupQuery in class BigdataGraphprotected void tearDownQuery(UUID queryId)
BigdataGraphtearDownQuery in class BigdataGraphpublic Collection<RunningQuery> getRunningQueries()
BigdataGraphgetRunningQueries in class BigdataGraphpublic void cancel(UUID queryId)
BigdataGraphcancel in class BigdataGraphpublic void cancel(String queryId)
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 boolean isQueryCancelled(UUID queryId)
BigdataGraphisQueryCancelled in class BigdataGraphpublic boolean isReadOnly()
BigdataGraphisReadOnly in class BigdataGraphCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.