Class AbstractSampleElementsForSplitPointsHandler<T,S extends Store>
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.AbstractSampleElementsForSplitPointsHandler<T,S>
-
- All Implemented Interfaces:
OperationHandler<SampleElementsForSplitPoints<T>>,OutputOperationHandler<SampleElementsForSplitPoints<T>,List<T>>
- Direct Known Subclasses:
SampleElementsForSplitPointsHandler
public abstract class AbstractSampleElementsForSplitPointsHandler<T,S extends Store> extends Object implements OutputOperationHandler<SampleElementsForSplitPoints<T>,List<T>>
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_SAMPLED_ELEMENTS_DEFAULT
-
Constructor Summary
Constructors Constructor Description AbstractSampleElementsForSplitPointsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>doOperation(SampleElementsForSplitPoints<T> operation, Context context, Store store)Execute the givenOutputoperation.intgetMaxSampledElements()voidsetMaxSampledElements(int maxSampledElements)
-
-
-
Field Detail
-
MAX_SAMPLED_ELEMENTS_DEFAULT
public static final int MAX_SAMPLED_ELEMENTS_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
doOperation
public List<T> doOperation(SampleElementsForSplitPoints<T> operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<T>- Specified by:
doOperationin interfaceOutputOperationHandler<T,S extends Store>- Parameters:
operation- theOutputoperation to 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.
- Throws:
OperationException- thrown if the operation fails
-
getMaxSampledElements
public int getMaxSampledElements()
-
setMaxSampledElements
public void setMaxSampledElements(int maxSampledElements)
-
-