Interface SPARQLUnionPattern
- All Superinterfaces:
Query
,SPARQLGraphPattern
- All Known Implementing Classes:
SPARQLUnionPatternImpl
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of graph patterns that are combined via this union operator.Returns all graph patterns that are combined via this union operator.getSubPatterns
(int i) Returns the i-th of the graph patterns that are combined via this union operator, where i starts at index 0 (zero).
-
Method Details
-
getNumberOfSubPatterns
int getNumberOfSubPatterns()Returns the number of graph patterns that are combined via this union operator. -
getSubPatterns
Iterable<SPARQLGraphPattern> getSubPatterns()Returns all graph patterns that are combined via this union operator. -
getSubPatterns
Returns the i-th of the graph patterns that are combined via this union operator, where i starts at index 0 (zero). If the union operator has fewer sub-patterns, then anIndexOutOfBoundsException
will be thrown.- Throws:
IndexOutOfBoundsException
-