Package com.arangodb.entity
Class QueryEntity
- java.lang.Object
-
- com.arangodb.entity.QueryEntity
-
public final class QueryEntity extends Object
- Author:
- Mark Vollmary
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_STARTED
-
Constructor Summary
Constructors Constructor Description QueryEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getBindVars()
String
getId()
String
getQuery()
Double
getRunTime()
Date
getStarted()
QueryExecutionState
getState()
-
-
-
Field Detail
-
PROPERTY_STARTED
public static final String PROPERTY_STARTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the query's id
-
getQuery
public String getQuery()
- Returns:
- the query string (potentially truncated)
-
getStarted
public Date getStarted()
- Returns:
- the date and time when the query was started
-
getRunTime
public Double getRunTime()
- Returns:
- the query's run time up to the point the list of queries was queried
-
getBindVars
public Map<String,Object> getBindVars()
- Returns:
- the bind parameter values used by the query
-
getState
public QueryExecutionState getState()
- Returns:
- the query's current execution state
-
-