Class ValuePattern
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.property.ValuePattern
-
public class ValuePattern extends java.lang.Object
A value pattern.
-
-
Field Summary
Fields Modifier and Type Field Description static ValuePattern
MATCH_ALL
-
Constructor Summary
Constructors Constructor Description ValuePattern()
ValuePattern(java.lang.String pattern, java.lang.Iterable<java.lang.String> includePrefixes, java.lang.Iterable<java.lang.String> excludePrefixes)
ValuePattern(NodeBuilder node)
ValuePattern(NodeState node)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Iterable<java.lang.String>
getStrings(NodeBuilder node, java.lang.String propertyName)
static java.lang.Iterable<java.lang.String>
getStrings(NodeState node, java.lang.String propertyName)
boolean
matches(java.lang.String v)
boolean
matchesAll()
boolean
matchesAll(java.util.Set<java.lang.String> values)
boolean
matchesPrefix(java.lang.String prefix)
-
-
-
Field Detail
-
MATCH_ALL
public static final ValuePattern MATCH_ALL
-
-
Constructor Detail
-
ValuePattern
public ValuePattern(NodeBuilder node)
-
ValuePattern
public ValuePattern(NodeState node)
-
ValuePattern
public ValuePattern()
-
ValuePattern
public ValuePattern(java.lang.String pattern, java.lang.Iterable<java.lang.String> includePrefixes, java.lang.Iterable<java.lang.String> excludePrefixes)
-
-
Method Detail
-
matches
public boolean matches(java.lang.String v)
-
matchesAll
public boolean matchesAll()
-
getStrings
public static java.lang.Iterable<java.lang.String> getStrings(NodeBuilder node, java.lang.String propertyName)
-
getStrings
public static java.lang.Iterable<java.lang.String> getStrings(NodeState node, java.lang.String propertyName)
-
matchesAll
public boolean matchesAll(java.util.Set<java.lang.String> values)
-
matchesPrefix
public boolean matchesPrefix(java.lang.String prefix)
-
-