@Override public IndexStore createStore(final StoreFactoryOptions options) { return new IndexStoreImpl(helper.createOperations(options), options.getStoreOptions()); } }
public CassandraDataStore(final CassandraOperations operations, final CassandraOptions options) { super( new IndexStoreImpl(operations, options), new AdapterStoreImpl(operations, options), new DataStatisticsStoreImpl(operations, options), new AdapterIndexMappingStoreImpl(operations, options), operations, options, new InternalAdapterStoreImpl(operations)); }
public RedisDataStore(final RedisOperations operations, final DataStoreOptions options) { super( new IndexStoreImpl(operations, options), new AdapterStoreImpl(operations, options), new DataStatisticsStoreImpl(operations, options), new AdapterIndexMappingStoreImpl(operations, options), operations, options, new InternalAdapterStoreImpl(operations)); } }
public RocksDBDataStore(final RocksDBOperations operations, final DataStoreOptions options) { super( new IndexStoreImpl(operations, options), new AdapterStoreImpl(operations, options), new DataStatisticsStoreImpl(operations, options), new AdapterIndexMappingStoreImpl(operations, options), operations, options, new InternalAdapterStoreImpl(operations)); }
public HBaseDataStore(final HBaseOperations operations, final HBaseOptions options) { super( new IndexStoreImpl(operations, options), new AdapterStoreImpl(operations, options), new DataStatisticsStoreImpl(operations, options), new AdapterIndexMappingStoreImpl(operations, options), operations, options, new InternalAdapterStoreImpl(operations)); }
@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(); // make sure to explicitly use the constructor with // BigTableDataStatisticsStore return new HBaseDataStore( new IndexStoreImpl(bigtableOperations, hbaseOptions), new AdapterStoreImpl(bigtableOperations, hbaseOptions), new BigTableDataStatisticsStore(bigtableOperations, hbaseOptions), new AdapterIndexMappingStoreImpl(bigtableOperations, hbaseOptions), bigtableOperations, hbaseOptions, new InternalAdapterStoreImpl(bigtableOperations)); } }
@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)); } }
public DynamoDBDataStore(final DynamoDBOperations operations) { super( new IndexStoreImpl(operations, operations.getOptions().getBaseOptions()), new AdapterStoreImpl(operations, operations.getOptions().getBaseOptions()), new DataStatisticsStoreImpl(operations, operations.getOptions().getBaseOptions()), new AdapterIndexMappingStoreImpl(operations, operations.getOptions().getBaseOptions()), operations, operations.getOptions().getBaseOptions(), new InternalAdapterStoreImpl(operations)); } }