Search in sources :

Example 1 with HBaseDataStore

use of org.locationtech.geowave.datastore.hbase.HBaseDataStore in project geowave by locationtech.

the class BigTableDataStoreFactory method createStore.

@Override
public DataStore createStore(final StoreFactoryOptions options) {
    if (!(options instanceof BigTableOptions)) {
        throw new AssertionError("Expected " + BigTableOptions.class.getSimpleName());
    }
    final BigTableOperations bigtableOperations = (BigTableOperations) helper.createOperations(options);
    final HBaseOptions hbaseOptions = ((BigTableOptions) options).getHBaseOptions();
    // BigTableDataStatisticsStore
    return new HBaseDataStore(new IndexStoreImpl(bigtableOperations, hbaseOptions), new AdapterStoreImpl(bigtableOperations, hbaseOptions), new DataStatisticsStoreImpl(bigtableOperations, hbaseOptions), new AdapterIndexMappingStoreImpl(bigtableOperations, hbaseOptions), bigtableOperations, hbaseOptions, new InternalAdapterStoreImpl(bigtableOperations), new PropertyStoreImpl(bigtableOperations, hbaseOptions));
}
Also used : HBaseDataStore(org.locationtech.geowave.datastore.hbase.HBaseDataStore) HBaseOptions(org.locationtech.geowave.datastore.hbase.config.HBaseOptions) IndexStoreImpl(org.locationtech.geowave.core.store.metadata.IndexStoreImpl) BigTableOptions(org.locationtech.geowave.datastore.bigtable.config.BigTableOptions) AdapterIndexMappingStoreImpl(org.locationtech.geowave.core.store.metadata.AdapterIndexMappingStoreImpl) InternalAdapterStoreImpl(org.locationtech.geowave.core.store.metadata.InternalAdapterStoreImpl) PropertyStoreImpl(org.locationtech.geowave.core.store.metadata.PropertyStoreImpl) BigTableOperations(org.locationtech.geowave.datastore.bigtable.operations.BigTableOperations) AdapterStoreImpl(org.locationtech.geowave.core.store.metadata.AdapterStoreImpl) InternalAdapterStoreImpl(org.locationtech.geowave.core.store.metadata.InternalAdapterStoreImpl) DataStatisticsStoreImpl(org.locationtech.geowave.core.store.metadata.DataStatisticsStoreImpl)

Aggregations

AdapterIndexMappingStoreImpl (org.locationtech.geowave.core.store.metadata.AdapterIndexMappingStoreImpl)1 AdapterStoreImpl (org.locationtech.geowave.core.store.metadata.AdapterStoreImpl)1 DataStatisticsStoreImpl (org.locationtech.geowave.core.store.metadata.DataStatisticsStoreImpl)1 IndexStoreImpl (org.locationtech.geowave.core.store.metadata.IndexStoreImpl)1 InternalAdapterStoreImpl (org.locationtech.geowave.core.store.metadata.InternalAdapterStoreImpl)1 PropertyStoreImpl (org.locationtech.geowave.core.store.metadata.PropertyStoreImpl)1 BigTableOptions (org.locationtech.geowave.datastore.bigtable.config.BigTableOptions)1 BigTableOperations (org.locationtech.geowave.datastore.bigtable.operations.BigTableOperations)1 HBaseDataStore (org.locationtech.geowave.datastore.hbase.HBaseDataStore)1 HBaseOptions (org.locationtech.geowave.datastore.hbase.config.HBaseOptions)1