Search in sources :

Example 1 with DataStatisticsStoreImpl

use of org.locationtech.geowave.core.store.metadata.DataStatisticsStoreImpl in project geowave by locationtech.

the class BaseDataStoreFactory method createStore.

@Override
public DataStore createStore(final StoreFactoryOptions factoryOptions) {
    final DataStoreOperations operations = helper.createOperations(factoryOptions);
    final DataStoreOptions options = factoryOptions.getStoreOptions();
    return new BaseDataStore(new IndexStoreImpl(operations, options), new AdapterStoreImpl(operations, options), new DataStatisticsStoreImpl(operations, options), new AdapterIndexMappingStoreImpl(operations, options), operations, options, new InternalAdapterStoreImpl(operations), new PropertyStoreImpl(operations, options));
}
Also used : IndexStoreImpl(org.locationtech.geowave.core.store.metadata.IndexStoreImpl) DataStoreOperations(org.locationtech.geowave.core.store.operations.DataStoreOperations) AdapterIndexMappingStoreImpl(org.locationtech.geowave.core.store.metadata.AdapterIndexMappingStoreImpl) InternalAdapterStoreImpl(org.locationtech.geowave.core.store.metadata.InternalAdapterStoreImpl) BaseDataStore(org.locationtech.geowave.core.store.base.BaseDataStore) PropertyStoreImpl(org.locationtech.geowave.core.store.metadata.PropertyStoreImpl) AdapterStoreImpl(org.locationtech.geowave.core.store.metadata.AdapterStoreImpl) InternalAdapterStoreImpl(org.locationtech.geowave.core.store.metadata.InternalAdapterStoreImpl) DataStatisticsStoreImpl(org.locationtech.geowave.core.store.metadata.DataStatisticsStoreImpl)

Example 2 with DataStatisticsStoreImpl

use of org.locationtech.geowave.core.store.metadata.DataStatisticsStoreImpl 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)2 AdapterStoreImpl (org.locationtech.geowave.core.store.metadata.AdapterStoreImpl)2 DataStatisticsStoreImpl (org.locationtech.geowave.core.store.metadata.DataStatisticsStoreImpl)2 IndexStoreImpl (org.locationtech.geowave.core.store.metadata.IndexStoreImpl)2 InternalAdapterStoreImpl (org.locationtech.geowave.core.store.metadata.InternalAdapterStoreImpl)2 PropertyStoreImpl (org.locationtech.geowave.core.store.metadata.PropertyStoreImpl)2 BaseDataStore (org.locationtech.geowave.core.store.base.BaseDataStore)1 DataStoreOperations (org.locationtech.geowave.core.store.operations.DataStoreOperations)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