Class Filter.PropertyRestriction
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.query.Filter.PropertyRestriction
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.jackrabbit.oak.api.PropertyValuefirstThe first value to read, or null to read from the beginning.booleanfirstIncludingWhether values that match the first should be returned.booleanisLikeWhether this is a like constraint.booleanisNotWhether this is a not constraintorg.apache.jackrabbit.oak.api.PropertyValuelastThe last value to read, or null to read until the end.booleanlastIncludingWhether values that match the last should be returned.List<org.apache.jackrabbit.oak.api.PropertyValue>listA list of possible values, for conditions of the type "x=1 or x=2 or x=3".org.apache.jackrabbit.oak.api.PropertyValuenotThe property value to NOT matchStringpropertyNameThe name of the property.intpropertyTypeThe property type, if restricted.
-
Constructor Summary
Constructors Constructor Description PropertyRestriction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()booleanisNotNullRestriction()booleanisNullRestriction()intsortOrder()How restrictive a condition is.StringtoString()
-
-
-
Field Detail
-
propertyName
public String propertyName
The name of the property.
-
first
public org.apache.jackrabbit.oak.api.PropertyValue first
The first value to read, or null to read from the beginning.
-
firstIncluding
public boolean firstIncluding
Whether values that match the first should be returned.
-
last
public org.apache.jackrabbit.oak.api.PropertyValue last
The last value to read, or null to read until the end.
-
lastIncluding
public boolean lastIncluding
Whether values that match the last should be returned.
-
isNot
public boolean isNot
Whether this is a not constraint
-
not
public org.apache.jackrabbit.oak.api.PropertyValue not
The property value to NOT match
-
isLike
public boolean isLike
Whether this is a like constraint. in this case only the 'first' value should be taken into consideration
-
list
public List<org.apache.jackrabbit.oak.api.PropertyValue> list
A list of possible values, for conditions of the type "x=1 or x=2 or x=3".
-
propertyType
public int propertyType
The property type, if restricted. If not restricted, this field is set to PropertyType.UNDEFINED.
-
-