Class SplitStoreFromFileHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.SplitStoreFromFileHandler
-
- All Implemented Interfaces:
OperationHandler<SplitStoreFromFile>
- Direct Known Subclasses:
HdfsSplitStoreFromFileHandler
public class SplitStoreFromFileHandler extends Object implements OperationHandler<SplitStoreFromFile>
-
-
Constructor Summary
Constructors Constructor Description SplitStoreFromFileHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoiddoOperation(SplitStoreFromFile operation, Context context, Store store)Execute the givenOperation.List<String>getSplits(SplitStoreFromFile operation, Context context, Store store)voidsplitStoreFromIterable(Iterable<String> splits, Context context, Store store)
-
-
-
Method Detail
-
doOperation
public Void doOperation(SplitStoreFromFile operation, Context context, Store store) throws OperationException
Description copied from interface:OperationHandlerExecute the givenOperation.- Specified by:
doOperationin interfaceOperationHandler<SplitStoreFromFile>- Parameters:
operation- theOperationto be executedcontext- the operation chain context, containing the user who executed the operationstore- theStorethe operation should be run on- Returns:
- the output for the operation or null.
- Throws:
OperationException- thrown if the operation fails
-
getSplits
public List<String> getSplits(SplitStoreFromFile operation, Context context, Store store) throws OperationException
- Throws:
OperationException
-
splitStoreFromIterable
public void splitStoreFromIterable(Iterable<String> splits, Context context, Store store) throws OperationException
- Throws:
OperationException
-
-