Class ValuePatternUtil
java.lang.Object
org.apache.jackrabbit.oak.plugins.index.property.ValuePatternUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllValues(Filter.PropertyRestriction restriction) static @Nullable StringgetLongestPrefix(Filter filter, String property) Get the longest prefix of restrictions on a property.getValues(Filter.PropertyRestriction restriction, ValuePattern pattern) read(PropertyValue value, ValuePattern pattern)
-
Constructor Details
-
ValuePatternUtil
public ValuePatternUtil()
-
-
Method Details
-
getLongestPrefix
Get the longest prefix of restrictions on a property.- Parameters:
filter- the filter with all restrictionsproperty- the property- Returns:
- the longest prefix, or null if none
-
getAllValues
-
getValues
@Nullable public static @Nullable Set<String> getValues(Filter.PropertyRestriction restriction, ValuePattern pattern) -
read
-