public class DatasetSizeOperation extends AbstractQueryOperation
Constructor and Description |
---|
DatasetSizeOperation()
Creates an operation with the default name
|
DatasetSizeOperation(String name)
Creates an operation with the user supplied name
|
Modifier and Type | Method and Description |
---|---|
<T extends Options> |
canRun(Runner<T> runner,
T options)
Report whether the operation can run based on the available options
|
<T extends Options> |
createCallable(Runner<T> runner,
T options)
Creates the callable for running the operation in a background thread
|
Query |
getQuery()
Gets the actual Query
|
String |
getQueryString()
Gets the Query String used to create this Query
|
String |
getType()
Gets a descriptive type string for the operation e.g.
|
createErrorInformation, getContentString, toString
getId, getName, getStats, setId
public DatasetSizeOperation()
public DatasetSizeOperation(String name)
name
- Namepublic String getType()
Operation
public Query getQuery()
QueryOperation
public String getQueryString()
QueryOperation
public <T extends Options> OperationCallable<T> createCallable(Runner<T> runner, T options)
Operation
runner
- Runneroptions
- OptionsCopyright © 2015. All rights reserved.