public class DumpCommand extends CqlCommands
Modifier and Type | Field and Description |
---|---|
static String |
FILE_PATH |
DATE_FORMAT, DEFAULT_TEMPORAL_PROPERTY
bundleContext, catalogFramework, catalogProvider, DATETIME_FORMATTER, DEFAULT_NUMBER_OF_ITEMS, DEFAULT_TRANSFORMER_ID, ESCAPE, filterBuilder, isProvider, NAMESPACE, SERIALIZED_OBJECT_ID, SINGLE_WILDCARD, WILDCARD
session, user
console, ERROR_COLOR, MS_PER_SECOND
Constructor and Description |
---|
DumpCommand() |
Modifier and Type | Method and Description |
---|---|
protected Object |
executeWithSubject()
Executes the command once the user has been properly authorized.
|
protected List<MetacardTransformer> |
getTransformers() |
protected void |
printStatus(long count) |
getFilter, getFilter, getFilterStartTime, getTemporalProperty, hasFilter
getCacheProxy, getCatalog, getFormattedDuration, getFormattedDuration, getServiceByFilter
execute
calculateRecordsPerSecond, printColor, printErrorMessage, printHeaderMessage, printProgressAndFlush, printSuccessMessage
public static final String FILE_PATH
protected Object executeWithSubject() throws Exception
SubjectCommands
executeWithSubject
in class SubjectCommands
Exception
- if the command failed to runprotected void printStatus(long count)
protected List<MetacardTransformer> getTransformers()
This work is licensed under a Creative Commons Attribution 4.0 International License.