Package uk.gov.gchq.gaffer.operation.impl
Core operation implementations.
-
Class Summary Class Description Count<T> ACount
operation counts how many items there are in the providedIterable
.Count.Builder<T> CountGroups ACountGroups
operation takes inElement
s and collects counts for the number of entity and edge groups used.CountGroups.Builder DiscardOutput ADiscardOutput
operation is used as a terminal operation to indicate that the results from the previous operation are not used again.DiscardOutput.Builder ForEach<I,O> AForEach
operation runs the supplied operation on an Iterable of inputs.ForEach.Builder<I,O> GenerateSplitPointsFromSample<T> GenerateSplitPointsFromSample.Builder<T> GetVariable GetVariable.Builder GetVariables GetVariables.Builder GetWalks AGetWalks
class is used to retrieve all of the walks in a graph starting from one of a set of providedEntityId
s, with a maximum length.GetWalks.Builder If<I,O> If.Builder<I,O> Limit<T> ALimit
operation takes in anIterable
of items and limits the iterable to a given number of items.Limit.Builder<T> Map<I,O> Map.Builder<I> Map.OutputBuilder<I,O> Reduce<T> AReduce
is a GafferOperation
which reduces anIterable
input of T to a single output value by applying a suppliedBinaryOperator
.Reduce.Builder<T> SampleElementsForSplitPoints<T> SampleElementsForSplitPoints.Builder<T> ScoreOperationChain AScoreOperationChain
operation determines a "score" for anOperationChain
, and is used to determine whether a particular user has the required permissions to execute a givenOperationChain
.ScoreOperationChain.Builder SetVariable SetVariable.Builder SplitStoreFromFile TheSplitStoreFromFile
operation is for splitting a store based on a file of split points.SplitStoreFromFile.Builder SplitStoreFromIterable<T> TheSplitStoreFromIterable
operation is for splitting a store based on an iterable of split points.SplitStoreFromIterable.Builder<T> Validate Validate.Builder ValidateOperationChain ValidateOperationChain.Builder While<I,O> AWhile
is anOperation
which executes a provided delegate Operation, either while some condition is true, (upto some global maximum), or until some configurable cut-off is reached.While.Builder<I,O>