Stub memory location store
This stubs out the in memory location store. This is required for the
store to compile. It may be removed later if decisions are reached to
not pursue implementing in-memory store implementations.
// See the License for the specific language governing permissions and
// limitations under the License.
-use crate::grid_db::{CommitStore, MemoryCommitStore, MemoryOrganizationStore, OrganizationStore};
+use crate::grid_db::{
+ CommitStore, LocationStore, MemoryCommitStore, MemoryOrganizationStore, OrganizationStore,
+};
use super::StoreFactory;
@@ -43,4 +45,8 @@ impl StoreFactory for MemoryStoreFactory {
fn get_grid_organization_store(&self) -> Box<dyn OrganizationStore> {
Box::new(self.grid_organization_store.clone())
}
+
+ fn get_grid_location_store(&self) -> Box<dyn LocationStore> {
+ unimplemented!()
+ }
}
