Package com.arangodb.entity
Class QueryEntity
- java.lang.Object
-
- com.arangodb.entity.QueryEntity
-
public final class QueryEntity extends Object
- Author:
- Mark Vollmary
-
-
Constructor Summary
Constructors Constructor Description QueryEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getBindVars()
String
getDatabase()
String
getId()
Long
getPeakMemoryUsage()
String
getQuery()
Double
getRunTime()
Date
getStarted()
QueryExecutionState
getState()
Boolean
getStream()
String
getUser()
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the query's id
-
getDatabase
public String getDatabase()
- Returns:
- the name of the database the query runs in
-
getUser
public String getUser()
- Returns:
- the name of the user that started the query
-
getQuery
public String getQuery()
- Returns:
- the query string (potentially truncated)
-
getBindVars
public Map<String,Object> getBindVars()
- Returns:
- the bind parameter values used by the query
-
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
-
getPeakMemoryUsage
public Long getPeakMemoryUsage()
- Returns:
- the query’s peak memory usage in bytes (in increments of 32KB)
-
getState
public QueryExecutionState getState()
- Returns:
- the query's current execution state
-
getStream
public Boolean getStream()
- Returns:
- whether or not the query uses a streaming cursor
-
-