OptionalthrowError: booleanProtected ReadonlydistinctProtected ReadonlyevaluatorProtected ReadonlysuperProtected ReadonlytermThe spec says to throw an error when a set function is called on an empty set (unless explicitly mentioned otherwise like COUNT). However, aggregate error handling says to not bind the result in case of an error. So to simplify logic in the caller, we return undefined by default.
Base implementation of putBindings, that evaluates to a term and then calls putTerm. The WildcardCountAggregator will completely discard this implementation.
ProtectedputProtectedremoveBase implementation of result, that calls termResult and caches the result.
The result term, or undefined if no new result is available, or null if an error occurred.
ProtectedtermProtectedterm
Instances of this interface perform a specific aggregation of bindings. You can put bindings and when all bindings have been put, request the result.