Search in sources :

Example 11 with SingleUseMockAccumuloStore

use of uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore in project Gaffer by gchq.

the class AggregatorIteratorTest method setup.

@BeforeClass
public static void setup() throws IOException, StoreException {
    byteEntityStore = new SingleUseMockAccumuloStore();
    gaffer1KeyStore = new SingleUseMockAccumuloStore();
    defaultView = new View.Builder().edge(TestGroups.EDGE).entity(TestGroups.ENTITY).build();
}
Also used : SingleUseMockAccumuloStore(uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore) BeforeClass(org.junit.BeforeClass)

Example 12 with SingleUseMockAccumuloStore

use of uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore in project Gaffer by gchq.

the class AccumuloIDBetweenSetsRetrieverTest method setup.

@BeforeClass
public static void setup() throws StoreException, IOException {
    byteEntityStore = new SingleUseMockAccumuloStore();
    gaffer1KeyStore = new SingleUseMockAccumuloStore();
    byteEntityStore.initialise(schema, PROPERTIES);
    gaffer1KeyStore.initialise(schema, CLASSIC_PROPERTIES);
    defaultView = new View.Builder().edge(TestGroups.EDGE).entity(TestGroups.ENTITY).build();
}
Also used : SingleUseMockAccumuloStore(uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore) BeforeClass(org.junit.BeforeClass)

Aggregations

SingleUseMockAccumuloStore (uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore)12 BeforeClass (org.junit.BeforeClass)9 HashSet (java.util.HashSet)3 LinkedHashSet (java.util.LinkedHashSet)3 Row (org.apache.spark.sql.Row)3 SQLContext (org.apache.spark.sql.SQLContext)3 AccumuloProperties (uk.gov.gchq.gaffer.accumulostore.AccumuloProperties)3 ConvertElementToRow (uk.gov.gchq.gaffer.spark.operation.dataframe.ConvertElementToRow)3 SchemaToStructTypeConverter (uk.gov.gchq.gaffer.spark.operation.dataframe.converter.schema.SchemaToStructTypeConverter)3 Schema (uk.gov.gchq.gaffer.store.schema.Schema)3 User (uk.gov.gchq.gaffer.user.User)3 ByteEntityAccumuloElementConverter (uk.gov.gchq.gaffer.accumulostore.key.core.impl.byteEntity.ByteEntityAccumuloElementConverter)2 ClassicAccumuloElementConverter (uk.gov.gchq.gaffer.accumulostore.key.core.impl.classic.ClassicAccumuloElementConverter)2