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));
}
Aggregations