Class WhileHandler

  • All Implemented Interfaces:
    OperationHandler<While<Object,​Object>>, OutputOperationHandler<While<Object,​Object>,​Object>
    Direct Known Subclasses:
    FederatedWhileHandler

    public class WhileHandler
    extends Object
    implements OutputOperationHandler<While<Object,​Object>,​Object>

    An operation handler for While operations.

    The default handler has a maxRepeats field that can be overridden by system administrators. The default value is set to 1000. To update this value, create an operation declarations JSON file containing the While operation and your configured WhileHandler. E.g:
     {
         "operations": [
             {
                 "operation": "uk.gov.gchq.gaffer.operation.impl.While",
                 "handler": {
                     "class": "uk.gov.gchq.gaffer.store.operation.handler.WhileHandler",
                     "maxRepeats": 10
                 }
             }
         ]
     }
     
    and then register a path to the json file in your store properties using the key gaffer.store.operation.declarations.