Package org.sensorhub.api.datastore.obs
Class EmptyDataStreamStore
java.lang.Object
org.sensorhub.impl.datastore.ReadOnlyDataStore<K,V,VF,Q>
org.sensorhub.impl.datastore.EmptyDataStore<K,V,VF,F>
org.sensorhub.api.datastore.resource.EmptyResourceStore<DataStreamKey,IDataStreamInfo,IDataStreamStore.DataStreamInfoField,DataStreamFilter>
org.sensorhub.api.datastore.obs.EmptyDataStreamStore
- All Implemented Interfaces:
Map<DataStreamKey,
,IDataStreamInfo> IDataStore<DataStreamKey,
,IDataStreamInfo, IDataStreamStore.DataStreamInfoField, DataStreamFilter> IDataStreamStore
,IResourceStore<DataStreamKey,
IDataStreamInfo, IDataStreamStore.DataStreamInfoField, DataStreamFilter>
public class EmptyDataStreamStore
extends EmptyResourceStore<DataStreamKey,IDataStreamInfo,IDataStreamStore.DataStreamInfoField,DataStreamFilter>
implements IDataStreamStore
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.obs.IDataStreamStore
IDataStreamStore.DataStreamInfoField
Nested classes/interfaces inherited from interface org.sensorhub.api.datastore.resource.IResourceStore
IResourceStore.ResourceField
-
Field Summary
Fields inherited from class org.sensorhub.impl.datastore.ReadOnlyDataStore
READ_ONLY_ERROR_MSG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
linkTo
(ISystemDescStore systemStore) Link this store to a system store to enable JOIN queriesMethods inherited from class org.sensorhub.api.datastore.resource.EmptyResourceStore
add
Methods inherited from class org.sensorhub.impl.datastore.EmptyDataStore
get, getDatastoreName, selectEntries
Methods inherited from class org.sensorhub.impl.datastore.ReadOnlyDataStore
backup, clear, commit, isReadOnly, isReadSupported, isWriteSupported, put, remove, restore
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, values
Methods inherited from interface org.sensorhub.api.datastore.obs.IDataStreamStore
add, filterBuilder, getLatestVersion, getLatestVersionEntry, getLatestVersionKey, remove, removeAllVersions
Methods inherited from interface org.sensorhub.api.datastore.resource.IResourceStore
selectAllFilter
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, equals, forEach, get, getOrDefault, hashCode, merge, put, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
EmptyDataStreamStore
public EmptyDataStreamStore()
-
-
Method Details
-
linkTo
Description copied from interface:IDataStreamStore
Link this store to a system store to enable JOIN queries- Specified by:
linkTo
in interfaceIDataStreamStore
-