Class BGPRequestImpl
java.lang.Object
se.liu.ida.hefquin.engine.federation.access.impl.req.BGPRequestImpl
- All Implemented Interfaces:
BGPRequest,DataRetrievalRequest,SPARQLRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the query variables for which this data retrieval request aims to fetch data (if any), where some of these variables may be 'certain variables' whereas others are 'possible variables'.Returns the graph pattern for which solutions should be requested, or null if this request is based on an actual SPARQL query (to be accessed via the methodSPARQLRequest.getQuery().inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.federation.access.SPARQLRequest
getQuery
-
Field Details
-
bgp
-
-
Constructor Details
-
BGPRequestImpl
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getQueryPattern
Description copied from interface:SPARQLRequestReturns the graph pattern for which solutions should be requested, or null if this request is based on an actual SPARQL query (to be accessed via the methodSPARQLRequest.getQuery().- Specified by:
getQueryPatternin interfaceBGPRequest- Specified by:
getQueryPatternin interfaceSPARQLRequest
-
getExpectedVariables
Description copied from interface:DataRetrievalRequestReturns the query variables for which this data retrieval request aims to fetch data (if any), where some of these variables may be 'certain variables' whereas others are 'possible variables'. For the distinction between these two types of variables, refer toExpectedVariables.getCertainVariables()and to {@link ExpectedVariables#getPossibleVariables())}. For instance, if this request is about fetching triples that match a given triple pattern, then the variables of that triple pattern would be returned here as certain variables. Note that the method may also return null (which would be the case for types of data retrieval requests for which this method is not applicable in any reasonable way).- Specified by:
getExpectedVariablesin interfaceDataRetrievalRequest
-
toString
- Specified by:
toStringin interfaceDataRetrievalRequest- Overrides:
toStringin classObject
-