- All Implemented Interfaces:
Serializable
,Comparable<MatchPattern>
,Constable
A pattern for matching triples.
The pattern is defined by the wildcard positions for the subject, predicate and object.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMatch a triple with a wildcard subject, predicate and object.Match a triple with a concrete object, and wildcard subject and predicate.Match a triple with a concrete predicate, and wildcard subject and object.Match a triple with a concrete predicate and object, and a wildcard subject.Match a triple with a concrete subject, and wildcard predicate and object.Match a triple with a concrete subject and object, and a wildcard predicate.Match a triple with a concrete subject and predicate, and a wildcard object.Match a triple with a concrete subject, predicate and object. -
Method Summary
Modifier and TypeMethodDescriptionstatic MatchPattern
Returns the enum constant of this class with the specified name.static MatchPattern[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SUB_PRE_OBJ
Match a triple with a concrete subject, predicate and object. -
SUB_PRE_ANY
Match a triple with a concrete subject and predicate, and a wildcard object. -
SUB_ANY_OBJ
Match a triple with a concrete subject and object, and a wildcard predicate. -
SUB_ANY_ANY
Match a triple with a concrete subject, and wildcard predicate and object. -
ANY_PRE_OBJ
Match a triple with a concrete predicate and object, and a wildcard subject. -
ANY_PRE_ANY
Match a triple with a concrete predicate, and wildcard subject and object. -
ANY_ANY_OBJ
Match a triple with a concrete object, and wildcard subject and predicate. -
ANY_ANY_ANY
Match a triple with a wildcard subject, predicate and object.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-