Class AbstractStoreCommand
java.lang.Object
org.codice.ddf.persistence.commands.AbstractStoreCommand
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
- Direct Known Subclasses:
StoreDeleteCommand,StoreExportCommand,StoreImportCommand,StoreListCommand
public abstract class AbstractStoreCommand
extends Object
implements org.apache.karaf.shell.api.action.Action
Abstract store command that allows store commands to be built off this. Takes care of obtaining
the persistent store service, console, and logging.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
console
-
-
Constructor Details
-
AbstractStoreCommand
public AbstractStoreCommand()
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.apache.karaf.shell.api.action.Action
-
addUserConstraintToCql
-
getResults
protected long getResults(Function<List<Map<String, Object>>, throws org.codice.ddf.persistence.PersistenceExceptionInteger> storeFunction) - Throws:
org.codice.ddf.persistence.PersistenceException
-