Interface ILinkedDataFragmentRequest
-
- All Known Subinterfaces:
ITriplePatternFragmentRequest<ConstantTermType,NamedVarType,AnonVarType>
- All Known Implementing Classes:
LinkedDataFragmentRequestBase,TriplePatternFragmentRequestImpl
public interface ILinkedDataFragmentRequestBasis for representing a request of some type of Linked Data Fragment (LDF).- Author:
- Olaf Hartig
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAMETERNAME_PAGEstatic longTRIPLESPERPAGE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDatasetURL()Returns the URL of the dataset to which the requested LDF belongs.StringgetFragmentURL()Returns the URL of the requested LDF.longgetPageNumber()Returns the number of the page requested for the LDF; if this is not a page-based request (that is, ifisPageRequest()returns true), then this method returns 1.booleanisPageRequest()Returns true if the request is for a specific page of the requested fragment.
-
-
-
Field Detail
-
TRIPLESPERPAGE
static final long TRIPLESPERPAGE
- See Also:
- Constant Field Values
-
PARAMETERNAME_PAGE
static final String PARAMETERNAME_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFragmentURL
String getFragmentURL()
Returns the URL of the requested LDF.- Returns:
-
getDatasetURL
String getDatasetURL()
Returns the URL of the dataset to which the requested LDF belongs.- Returns:
-
isPageRequest
boolean isPageRequest()
Returns true if the request is for a specific page of the requested fragment. In this case,getPageNumber()can be used to obtain the requested page number.- Returns:
-
getPageNumber
long getPageNumber()
Returns the number of the page requested for the LDF; if this is not a page-based request (that is, ifisPageRequest()returns true), then this method returns 1.- Returns:
-
-