Package dev.cel.runtime
Class AccumulatedUnknowns
- java.lang.Object
-
- dev.cel.runtime.AccumulatedUnknowns
-
@Internal public final class AccumulatedUnknowns extends java.lang.ObjectAn internal representation used for fast accumulation of unknown expr IDs and attributes. For safety, this object should never be returned as an evaluated result and instead be adapted into an immutable CelUnknownSet.CEL Library Internals. Do Not Use.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccumulatedUnknownscreate(java.util.Collection<java.lang.Long> exprIds, java.util.Collection<CelAttribute> attributes)static @Nullable AccumulatedUnknownsmaybeMerge(@Nullable AccumulatedUnknowns accumulator, java.lang.Object newValue)Evaluates if the right hand side is an accumulated unknown, and if so, merges it into the accumulator.AccumulatedUnknownsmerge(AccumulatedUnknowns arg)
-
-
-
Method Detail
-
maybeMerge
public static @Nullable AccumulatedUnknowns maybeMerge(@Nullable AccumulatedUnknowns accumulator, java.lang.Object newValue)
Evaluates if the right hand side is an accumulated unknown, and if so, merges it into the accumulator.
-
merge
@CanIgnoreReturnValue public AccumulatedUnknowns merge(AccumulatedUnknowns arg)
-
create
public static AccumulatedUnknowns create(java.util.Collection<java.lang.Long> exprIds, java.util.Collection<CelAttribute> attributes)
-
-