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 class
UpdateOp.Condition.Type
-
Field Summary
Fields Modifier and Type Field Description static UpdateOp.Condition
EXISTS
Check if a map entry exists in a map.static UpdateOp.Condition
MISSING
Check if a map entry is missing in a map.UpdateOp.Condition.Type
type
The condition type.Object
value
The value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateOp.Condition
newEqualsCondition(@Nullable Object value)
Creates a new equals condition with the given value.static UpdateOp.Condition
newNotEqualsCondition(@Nullable Object value)
Creates a new notEquals condition with the given value.String
toString()
-
-
-
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.
-
-