Interface ITriplePatternFragmentRequest<ConstantTermType,NamedVarType,AnonVarType>
-
- Type Parameters:
ConstantTermType- type for representing constants in triple patterns (i.e., URIs and literals)NamedVarType- type for representing named variables in triple patternsAnonVarType- type for representing anonymous variables in triple patterns (i.e., variables denoted by a blank node)
- All Superinterfaces:
ILinkedDataFragmentRequest
- All Known Implementing Classes:
TriplePatternFragmentRequestImpl
public interface ITriplePatternFragmentRequest<ConstantTermType,NamedVarType,AnonVarType> extends ILinkedDataFragmentRequest
Represents a request of a Triple Pattern Fragment (TPF).- Author:
- Olaf Hartig
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAMETERNAME_OBJstatic StringPARAMETERNAME_PREDstatic StringPARAMETERNAME_SUBJ-
Fields inherited from interface org.linkeddatafragments.fragments.ILinkedDataFragmentRequest
PARAMETERNAME_PAGE, TRIPLESPERPAGE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ITriplePatternElement<ConstantTermType,NamedVarType,AnonVarType>getObject()Returns the object position of the requested triple pattern.ITriplePatternElement<ConstantTermType,NamedVarType,AnonVarType>getPredicate()Returns the predicate position of the requested triple pattern.ITriplePatternElement<ConstantTermType,NamedVarType,AnonVarType>getSubject()Returns the subject position of the requested triple pattern.-
Methods inherited from interface org.linkeddatafragments.fragments.ILinkedDataFragmentRequest
getDatasetURL, getFragmentURL, getPageNumber, isPageRequest
-
-
-
-
Field Detail
-
PARAMETERNAME_SUBJ
static final String PARAMETERNAME_SUBJ
- See Also:
- Constant Field Values
-
PARAMETERNAME_PRED
static final String PARAMETERNAME_PRED
- See Also:
- Constant Field Values
-
PARAMETERNAME_OBJ
static final String PARAMETERNAME_OBJ
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSubject
ITriplePatternElement<ConstantTermType,NamedVarType,AnonVarType> getSubject()
Returns the subject position of the requested triple pattern.- Returns:
-
getPredicate
ITriplePatternElement<ConstantTermType,NamedVarType,AnonVarType> getPredicate()
Returns the predicate position of the requested triple pattern.- Returns:
-
getObject
ITriplePatternElement<ConstantTermType,NamedVarType,AnonVarType> getObject()
Returns the object position of the requested triple pattern.- Returns:
-
-