Class TriplesResponseImpl
java.lang.Object
se.liu.ida.hefquin.engine.federation.access.impl.response.DataRetrievalResponseBase
se.liu.ida.hefquin.engine.federation.access.impl.response.TriplesResponseImpl
- All Implemented Interfaces:
DataRetrievalResponse
,TriplesResponse
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTriplesResponseImpl
(List<Triple> triples, FederationMember fm, DataRetrievalRequest request, Date requestStartTime) Initializes the retrievalEndTime to the time when this object is created.TriplesResponseImpl
(List<Triple> triples, FederationMember fm, DataRetrievalRequest request, Date requestStartTime, Date retrievalEndTime) -
Method Summary
Modifier and TypeMethodDescriptionint
getSize()
Returns the number of triples that are returned by theTriplesResponse.getTriples()
.Methods inherited from class se.liu.ida.hefquin.engine.federation.access.impl.response.DataRetrievalResponseBase
getFederationMember, getRequest, getRequestStartTime, getRetrievalEndTime
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.liu.ida.hefquin.engine.federation.access.DataRetrievalResponse
getFederationMember, getRequest, getRequestStartTime, getRetrievalEndTime
-
Field Details
-
triples
-
-
Constructor Details
-
TriplesResponseImpl
public TriplesResponseImpl(List<Triple> triples, FederationMember fm, DataRetrievalRequest request, Date requestStartTime) Initializes the retrievalEndTime to the time when this object is created. -
TriplesResponseImpl
public TriplesResponseImpl(List<Triple> triples, FederationMember fm, DataRetrievalRequest request, Date requestStartTime, Date retrievalEndTime)
-
-
Method Details
-
getTriples
- Specified by:
getTriples
in interfaceTriplesResponse
-
getSize
public int getSize()Description copied from interface:TriplesResponse
Returns the number of triples that are returned by theTriplesResponse.getTriples()
.- Specified by:
getSize
in interfaceTriplesResponse
-