Class UpdateOp.Condition
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.UpdateOp.Condition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateOp.Condition.Type
-
Field Summary
Fields Modifier and Type Field Description static UpdateOp.ConditionEXISTSCheck if a map entry exists in a map.static UpdateOp.ConditionMISSINGCheck if a map entry is missing in a map.UpdateOp.Condition.TypetypeThe condition type.ObjectvalueThe value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateOp.ConditionnewEqualsCondition(@Nullable Object value)Creates a new equals condition with the given value.static UpdateOp.ConditionnewNotEqualsCondition(@Nullable Object value)Creates a new notEquals condition with the given value.StringtoString()
-
-
-
Field Detail
-
EXISTS
public static final UpdateOp.Condition EXISTS
Check if a map entry exists in a map.
-
MISSING
public static final UpdateOp.Condition MISSING
Check if a map entry is missing in a map.
-
type
public final UpdateOp.Condition.Type type
The condition type.
-
value
public final Object value
The value.
-
-
Method Detail
-
newEqualsCondition
public static UpdateOp.Condition newEqualsCondition(@Nullable @Nullable Object value)
Creates a new equals condition with the given value.- Parameters:
value- the value to compare to.- Returns:
- the equals condition.
-
newNotEqualsCondition
public static UpdateOp.Condition newNotEqualsCondition(@Nullable @Nullable Object value)
Creates a new notEquals condition with the given value.- Parameters:
value- the value to compare to.- Returns:
- the notEquals condition.
-
-