Package uk.gov.gchq.gaffer.accumulostore
Class SingleUseAccumuloStore
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.Store
-
- uk.gov.gchq.gaffer.accumulostore.AccumuloStore
-
- uk.gov.gchq.gaffer.accumulostore.SingleUseAccumuloStore
-
public class SingleUseAccumuloStore extends AccumuloStore
AnAccumuloStore
that deletes the underlying table each time it is initialised. Meant to be used for testing.
-
-
Field Summary
-
Fields inherited from class uk.gov.gchq.gaffer.accumulostore.AccumuloStore
FAILED_TO_CREATE_AN_ACCUMULO_FROM_ELEMENT_OF_TYPE_WHEN_TRYING_TO_INSERT_ELEMENTS, TRAITS
-
-
Constructor Summary
Constructors Constructor Description SingleUseAccumuloStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
preInitialise(String graphId, Schema schema, StoreProperties properties)
Performs general initialisation without creating the table.-
Methods inherited from class uk.gov.gchq.gaffer.accumulostore.AccumuloStore
addElements, deleteElements, getConnection, getCreatedTime, getKeyPackage, getProperties, getTableName, getTabletServers, initialise, updateConfiguration, validateSchemas
-
Methods inherited from class uk.gov.gchq.gaffer.store.Store
addOperationChainOptimisers, addOperationHandler, addOperationHandler, createContext, createStore, createStore, execute, execute, executeJob, executeJob, getCaches, getGraphId, getGraphLibrary, getJobTracker, getNextOperations, getOperationChainOptimisers, getOperationChainValidator, getOperationHandler, getOriginalSchema, getSchema, getSupportedOperations, handleOperation, isSupported, optimiseSchema, populateElement, runAsync, setGraphLibrary, setOriginalSchema, updateJsonSerialiser, updateJsonSerialiser
-
-
-
-
Method Detail
-
preInitialise
public void preInitialise(String graphId, Schema schema, StoreProperties properties) throws StoreException
Description copied from class:AccumuloStore
Performs general initialisation without creating the table.- Overrides:
preInitialise
in classAccumuloStore
- Parameters:
graphId
- The graph ID.schema
- The Gaffer Schema.properties
- The Accumulo store properties.- Throws:
StoreException
- If the store could not be initialised.
-
-