Package dev.cel.runtime
Class CelUnknownSet
- java.lang.Object
-
- dev.cel.runtime.CelUnknownSet
-
public abstract class CelUnknownSet extends java.lang.Object
Unknown set representation.An unknown set is the collection of unknowns that were encountered while evaluating a CEL expression and not pruned via logical operators.
Note: dependant unknown values may not be included, so it's possible that re-evaluating the same expression with all the unknowns resolved will result in a different unknown set.
-
-
Constructor Summary
Constructors Constructor Description CelUnknownSet()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.google.common.collect.ImmutableSet<CelAttribute>
attributes()
static CelUnknownSet
create(com.google.common.collect.ImmutableSet<CelAttribute> attributes)
static CelUnknownSet
create(CelAttribute attribute)
CelUnknownSet
merge(CelUnknownSet rhs)
static CelUnknownSet
union(CelUnknownSet lhs, CelUnknownSet rhs)
-
-
-
Method Detail
-
attributes
public abstract com.google.common.collect.ImmutableSet<CelAttribute> attributes()
-
create
public static CelUnknownSet create(com.google.common.collect.ImmutableSet<CelAttribute> attributes)
-
create
public static CelUnknownSet create(CelAttribute attribute)
-
union
public static CelUnknownSet union(CelUnknownSet lhs, CelUnknownSet rhs)
-
merge
public CelUnknownSet merge(CelUnknownSet rhs)
-
-