public class DriverQueryStatus extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DriverQueryStatus.DriverQueryState
The Enum DriverQueryState.
|
Constructor and Description |
---|
DriverQueryStatus() |
Modifier and Type | Method and Description |
---|---|
static QueryStatus |
createQueryStatus(QueryStatus.Status state,
DriverQueryStatus dstatus)
Creates the query status.
|
Long |
getDriverFinishTime()
The driver finish time.
|
Long |
getDriverStartTime()
The driver start time.
|
String |
getErrorMessage()
The error message.
|
double |
getProgress()
The progress.
|
String |
getProgressMessage()
The progress message.
|
DriverQueryStatus.DriverQueryState |
getState()
The state.
|
String |
getStatusMessage()
The status message.
|
boolean |
isFinished() |
boolean |
isResultSetAvailable()
The is result set available.
|
void |
setDriverFinishTime(Long driverFinishTime)
The driver finish time.
|
void |
setDriverStartTime(Long driverStartTime)
The driver start time.
|
void |
setErrorMessage(String errorMessage)
The error message.
|
void |
setProgress(double progress)
The progress.
|
void |
setProgressMessage(String progressMessage)
The progress message.
|
void |
setResultSetAvailable(boolean isResultSetAvailable)
The is result set available.
|
void |
setState(DriverQueryStatus.DriverQueryState state)
The state.
|
void |
setStatusMessage(String statusMessage)
The status message.
|
QueryStatus |
toQueryStatus()
To query status.
|
String |
toString() |
public QueryStatus toQueryStatus()
public static QueryStatus createQueryStatus(QueryStatus.Status state, DriverQueryStatus dstatus)
state
- the statedstatus
- the dstatuspublic boolean isFinished()
@Generated(value="lombok") public double getProgress()
@Generated(value="lombok") public void setProgress(double progress)
@Generated(value="lombok") public DriverQueryStatus.DriverQueryState getState()
@Generated(value="lombok") public void setState(DriverQueryStatus.DriverQueryState state)
@Generated(value="lombok") public String getStatusMessage()
@Generated(value="lombok") public void setStatusMessage(String statusMessage)
@Generated(value="lombok") public boolean isResultSetAvailable()
@Generated(value="lombok") public void setResultSetAvailable(boolean isResultSetAvailable)
@Generated(value="lombok") public String getProgressMessage()
@Generated(value="lombok") public void setProgressMessage(String progressMessage)
@Generated(value="lombok") public String getErrorMessage()
@Generated(value="lombok") public void setErrorMessage(String errorMessage)
@Generated(value="lombok") public Long getDriverStartTime()
@Generated(value="lombok") public void setDriverStartTime(Long driverStartTime)
@Generated(value="lombok") public Long getDriverFinishTime()
@Generated(value="lombok") public void setDriverFinishTime(Long driverFinishTime)
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.