Package | Description |
---|---|
org.apache.lens.api.query | |
org.apache.lens.server.api.query.events | |
org.apache.lens.server.query |
Modifier and Type | Method and Description |
---|---|
QueryStatus.Status |
QueryStatus.getStatus()
The status.
|
static QueryStatus.Status |
QueryStatus.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryStatus.Status[] |
QueryStatus.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
QueryStatus.isValidTransition(QueryStatus.Status newState)
Checks if is validate transition.
|
static boolean |
QueryStatus.isValidTransition(QueryStatus.Status oldState,
QueryStatus.Status newState)
Checks if is valid transition.
|
Constructor and Description |
---|
QueryStatus(double progress,
Integer queueNumber,
QueryStatus.Status status,
String statusMessage,
boolean isResultSetAvailable,
String progressMessage,
String errorMessage,
LensErrorTO lensErrorTO) |
Modifier and Type | Field and Description |
---|---|
static EnumSet<QueryStatus.Status> |
QueryEnded.END_STATES
The Constant END_STATES.
|
Constructor and Description |
---|
QueryCancelled(QueryContext ctx,
long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle,
String user,
String cause)
Instantiates a new query cancelled.
|
QueryCancelled(QueryContext ctx,
QueryStatus.Status prevState,
QueryStatus.Status currState,
String cause) |
QueryClosed(QueryContext ctx,
long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle,
String user,
String cause)
Instantiates a new query closed.
|
QueryClosed(QueryContext ctx,
QueryStatus.Status prevState,
QueryStatus.Status currState,
String cause) |
QueryEnded(QueryContext ctx,
long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle,
String user,
String cause)
Instantiates a new query ended.
|
QueryExecuted(long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle)
Instantiates a new query executed.
|
QueryFailed(QueryContext ctx,
long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle,
String user,
String cause)
Instantiates a new query failed.
|
QueryFailed(QueryContext ctx,
QueryStatus.Status prevState,
QueryStatus.Status currState,
String cause) |
QueryLaunched(long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle)
Instantiates a new query launched.
|
QueryQueued(long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle,
String user)
Instantiates a new query queued.
|
QueryQueuedForRetry(long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle,
String user)
Instantiates a new query queued.
|
QueryRunning(long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle)
Instantiates a new query running.
|
QuerySuccess(QueryContext ctx,
long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle)
Instantiates a new query success.
|
QuerySuccess(QueryContext ctx,
QueryStatus.Status prevState,
QueryStatus.Status currState) |
StatusChange(long eventTime,
QueryStatus.Status prev,
QueryStatus.Status current,
QueryHandle handle)
Instantiates a new status change.
|
Modifier and Type | Method and Description |
---|---|
List<QueryHandle> |
LensServerDAO.findFinishedQueries(List<QueryStatus.Status> states,
String user,
String driverName,
String queryName,
long fromDate,
long toDate)
Find finished queries.
|
List<FinishedLensQuery> |
LensServerDAO.findFinishedQueryDetails(List<QueryStatus.Status> states,
String user,
String driverName,
String queryName,
long fromDate,
long toDate)
Find finished queries.
|
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.