Class SPARQLGroupPatternImpl
java.lang.Object
se.liu.ida.hefquin.base.query.impl.SPARQLGroupPatternImpl
- All Implemented Interfaces:
Query,SPARQLGraphPattern,SPARQLGroupPattern
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSPARQLGroupPatternImpl(List<SPARQLGraphPattern> subPatterns) SPARQLGroupPatternImpl(SPARQLGraphPattern... subPatterns) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanintReturns the number of graph patterns that are combined in this group pattern.Returns all graph patterns that are combined in this group pattern.getSubPatterns(int i) Returns the i-th of the graph patterns that are combined in this group pattern, where i starts at index 0 (zero).inthashCode()toString()
-
Field Details
-
subPatterns
-
-
Constructor Details
-
SPARQLGroupPatternImpl
-
SPARQLGroupPatternImpl
-
-
Method Details
-
getNumberOfSubPatterns
public int getNumberOfSubPatterns()Description copied from interface:SPARQLGroupPatternReturns the number of graph patterns that are combined in this group pattern.- Specified by:
getNumberOfSubPatternsin interfaceSPARQLGroupPattern
-
getSubPatterns
Description copied from interface:SPARQLGroupPatternReturns all graph patterns that are combined in this group pattern.- Specified by:
getSubPatternsin interfaceSPARQLGroupPattern
-
getSubPatterns
Description copied from interface:SPARQLGroupPatternReturns the i-th of the graph patterns that are combined in this group pattern, where i starts at index 0 (zero). If this group pattern has fewer sub-patterns, then anIndexOutOfBoundsExceptionwill be thrown.- Specified by:
getSubPatternsin interfaceSPARQLGroupPattern- Throws:
IndexOutOfBoundsException
-
addSubPattern
-
toString
-
equals
-
hashCode
public int hashCode()
-