public interface QueryInfo
extends com.complexible.stardog.process.ProcessInfo
Modifier and Type | Interface and Description |
---|---|
static class |
QueryInfo.Status |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_QUERY_TYPE |
Modifier and Type | Method and Description |
---|---|
default String |
getDB()
Deprecated.
|
long |
getEndTime()
Returns the time in milliseconds when the execution of this query ended or
ProcessInfo.NO_TIME if the execution did
not end. |
String |
getQuery()
Returns the SPARQL query string.
|
String |
getQueryType()
Returns the type of query which is executing
|
String |
getReasoningSchema()
Return the active reasoning schema
|
Optional<String> |
getRenderedPlan()
Returns a string rendering of the query plan.
|
default Optional<String> |
getRenderedPlan(boolean verbose) |
QueryInfo.Status |
getStatus() |
long |
getTimeout()
Return the timeout value in milliseconds for this query or
ProcessInfo.NO_TIME if there is no timeout defined for this query. |
default com.complexible.stardog.process.ProcessType |
getType() |
default boolean |
isEnded()
Returns
true if the execution of this query ended. |
boolean |
isReasoningEnabled()
Returns whether reasoning is enabled for this query.
|
default boolean |
isRunning()
Returns
true if the execution of this query started and did not end. |
default boolean |
isStarted()
Returns
true if the execution of this query started. |
static final String DEFAULT_QUERY_TYPE
QueryInfo.Status getStatus()
String getQuery()
boolean isReasoningEnabled()
String getReasoningSchema()
long getEndTime()
ProcessInfo.NO_TIME
if the execution did
not end. The end time is the time when the last solution for the query has been computed on the server. The
client might receive the results at a time later than this.long getTimeout()
ProcessInfo.NO_TIME
if there is no timeout defined for this query. When the execution
time for a query exceeds the timeout value, the query is killed automatically. Timeout value is determined globally by the query.timeout and
query.update.timeout configuration options and can be overridden for a database using the DatabaseOptions.QUERY_TIMEOUT
and DatabaseOptions.QUERY_UPDATE_TIMEOUT
options.default boolean isStarted()
true
if the execution of this query started.@Deprecated default String getDB()
default com.complexible.stardog.process.ProcessType getType()
getType
in interface com.complexible.stardog.process.ProcessInfo
default boolean isEnded()
true
if the execution of this query ended.isEnded
in interface com.complexible.stardog.process.ProcessInfo
default boolean isRunning()
true
if the execution of this query started and did not end.isRunning
in interface com.complexible.stardog.process.ProcessInfo
String getQueryType()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.