public class SpatialCommand extends CatalogCommands
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 |
---|
SpatialCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
doNNQuery(PrintStream console,
CatalogFacade catalogFacade) |
protected void |
doRadiusQuery(PrintStream console,
CatalogFacade catalogFacade) |
protected Object |
executeWithSubject()
Executes the command once the user has been properly authorized.
|
getCacheProxy, getCatalog, getFormattedDuration, getFormattedDuration, getServiceByFilter
execute
calculateRecordsPerSecond, printColor, printErrorMessage, printHeaderMessage, printProgressAndFlush, printSuccessMessage
protected Object executeWithSubject() throws Exception
SubjectCommands
executeWithSubject
in class SubjectCommands
Exception
- if the command failed to runprotected void doRadiusQuery(PrintStream console, CatalogFacade catalogFacade)
protected void doNNQuery(PrintStream console, CatalogFacade catalogFacade)
This work is licensed under a Creative Commons Attribution 4.0 International License.