Class EmptyCommandStatusStore
java.lang.Object
org.sensorhub.impl.datastore.ReadOnlyDataStore<K,V,VF,Q>
org.sensorhub.impl.datastore.EmptyDataStore<BigId,ICommandStatus,ICommandStatusStore.CommandStatusField,CommandStatusFilter>
org.sensorhub.api.datastore.command.EmptyCommandStatusStore
- All Implemented Interfaces:
Map<BigId,,ICommandStatus> ICommandStatusStore,IDataStore<BigId,ICommandStatus, ICommandStatusStore.CommandStatusField, CommandStatusFilter>
public class EmptyCommandStatusStore
extends org.sensorhub.impl.datastore.EmptyDataStore<BigId,ICommandStatus,ICommandStatusStore.CommandStatusField,CommandStatusFilter>
implements ICommandStatusStore
Helper class to implement databases that don't support all datastores
- Since:
- Jun 22, 2023
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sensorhub.api.datastore.command.ICommandStatusStore
ICommandStatusStore.CommandStatusField -
Field Summary
Fields inherited from class org.sensorhub.impl.datastore.ReadOnlyDataStore
READ_ONLY_ERROR_MSG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.sensorhub.impl.datastore.EmptyDataStore
get, getDatastoreName, selectEntriesMethods inherited from class org.sensorhub.impl.datastore.ReadOnlyDataStore
backup, clear, commit, isReadOnly, isReadSupported, isWriteSupported, put, remove, restoreMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sensorhub.api.datastore.command.ICommandStatusStore
filterBuilder, selectAllFilterMethods inherited from interface org.sensorhub.api.datastore.IDataStore
backup, commit, containsKey, containsValue, countMatchingEntries, entrySet, getDatastoreName, getNumRecords, isEmpty, isReadOnly, keySet, putAll, removeEntries, restore, select, select, select, selectEntries, selectEntries, selectEntries, selectKeys, size, valuesMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, equals, forEach, get, getOrDefault, hashCode, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll
-
Constructor Details
-
EmptyCommandStatusStore
public EmptyCommandStatusStore()
-
-
Method Details
-
add
Description copied from interface:ICommandStatusStoreAdd a status report to the datastore.- Specified by:
addin interfaceICommandStatusStore- Parameters:
rec- Status report- Returns:
- The auto-generated ID
-