Search in sources :

Example 6 with AccumuloInstanceDriver

use of org.apache.rya.export.accumulo.util.AccumuloInstanceDriver in project incubator-rya by apache.

the class StoreToStoreIT method getParentAccumulo.

private static TimestampPolicyAccumuloRyaStatementStore getParentAccumulo() throws Exception {
    final AccumuloInstanceDriver driver = new AccumuloInstanceDriver(RYA_INSTANCE, type, true, false, true, "TEST1", PASSWORD, RYA_INSTANCE, tablePrefix, auths, "");
    driver.setUp();
    final AccumuloRyaStatementStore store = new AccumuloRyaStatementStore(driver.getDao(), tablePrefix, RYA_INSTANCE);
    drivers.add(driver);
    return new TimestampPolicyAccumuloRyaStatementStore(store, currentDate);
}
Also used : AccumuloInstanceDriver(org.apache.rya.export.accumulo.util.AccumuloInstanceDriver) AccumuloRyaStatementStore(org.apache.rya.export.accumulo.AccumuloRyaStatementStore) TimestampPolicyAccumuloRyaStatementStore(org.apache.rya.export.accumulo.policy.TimestampPolicyAccumuloRyaStatementStore) TimestampPolicyAccumuloRyaStatementStore(org.apache.rya.export.accumulo.policy.TimestampPolicyAccumuloRyaStatementStore)

Aggregations

AccumuloInstanceDriver (org.apache.rya.export.accumulo.util.AccumuloInstanceDriver)6 AccumuloRyaStatementStore (org.apache.rya.export.accumulo.AccumuloRyaStatementStore)3 TimestampPolicyAccumuloRyaStatementStore (org.apache.rya.export.accumulo.policy.TimestampPolicyAccumuloRyaStatementStore)3 AccumuloRyaDAO (org.apache.rya.accumulo.AccumuloRyaDAO)1 Before (org.junit.Before)1 BeforeClass (org.junit.BeforeClass)1