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, toStringgetId, getName, getStats, setIdpublic DatasetSizeOperation()
public DatasetSizeOperation(String name)
name - Namepublic String getType()
Operationpublic Query getQuery()
QueryOperationpublic String getQueryString()
QueryOperationpublic <T extends Options> OperationCallable<T> createCallable(Runner<T> runner, T options)
Operationrunner - Runneroptions - OptionsCopyright © 2016. All rights reserved.