Class ValuePatternUtil
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.property.ValuePatternUtil
-
public final class ValuePatternUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ValuePatternUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable java.util.Set<java.lang.String>getAllValues(Filter.PropertyRestriction restriction)static @Nullable java.lang.StringgetLongestPrefix(Filter filter, java.lang.String property)Get the longest prefix of restrictions on a property.static @Nullable java.util.Set<java.lang.String>getValues(Filter.PropertyRestriction restriction, ValuePattern pattern)static @Nullable java.util.Set<java.lang.String>read(PropertyValue value, ValuePattern pattern)
-
-
-
Method Detail
-
getLongestPrefix
@Nullable public static @Nullable java.lang.String getLongestPrefix(Filter filter, java.lang.String property)
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
@Nullable public static @Nullable java.util.Set<java.lang.String> getAllValues(Filter.PropertyRestriction restriction)
-
getValues
@Nullable public static @Nullable java.util.Set<java.lang.String> getValues(Filter.PropertyRestriction restriction, ValuePattern pattern)
-
read
@Nullable public static @Nullable java.util.Set<java.lang.String> read(PropertyValue value, ValuePattern pattern)
-
-