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 Void
doOperation(SplitStoreFromFile operation, Context context, Store store)
Execute the givenOperation
.List<String>
getSplits(SplitStoreFromFile operation, Context context, Store store)
void
splitStoreFromIterable(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:OperationHandler
Execute the givenOperation
.- Specified by:
doOperation
in interfaceOperationHandler<SplitStoreFromFile>
- Parameters:
operation
- theOperation
to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- theStore
the 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
-
-