public interface ILinkedDataFragment extends Closeable
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.rdf.model.StmtIterator |
getControls()
Returns an iterator over an RDF description of the controls associated
with this fragment.
|
long |
getMaxPageSize()
Returns the maximum number of triples per page if
getTriples()
returns a page of data only (that is, if isPageOnly() returns
true). |
org.apache.jena.rdf.model.StmtIterator |
getMetadata()
Returns an iterator over the metadata of this fragment.
|
long |
getPageNumber()
Returns the number of the page of data returned by
getTriples()
if the data is paged (that is, if isPageOnly() returns true). |
org.apache.jena.rdf.model.StmtIterator |
getTriples()
Returns an iterator over the RDF data of this fragment (possibly only
partial if the data is paged, as indicated by
isPageOnly()). |
boolean |
isLastPage()
Returns true if
getTriples() returns a page of data only and
this is the last page of the fragment. |
boolean |
isPageOnly()
Returns true if
getTriples() returns a page of data only. |
org.apache.jena.rdf.model.StmtIterator getTriples()
isPageOnly()).boolean isPageOnly()
getTriples() returns a page of data only.
In this case, getPageNumber() can be used to obtain the
corresponding page number.long getPageNumber()
throws UnsupportedOperationException
getTriples()
if the data is paged (that is, if isPageOnly() returns true).
If the data is not paged, this method throws an exception.UnsupportedOperationException - If the data of this fragment is not paged.boolean isLastPage()
throws UnsupportedOperationException
getTriples() returns a page of data only and
this is the last page of the fragment.
If the data is not paged (i.e., if isPageOnly() returns false),
this method throws an exception.UnsupportedOperationException - If the data of this fragment is not paged.long getMaxPageSize()
throws UnsupportedOperationException
getTriples()
returns a page of data only (that is, if isPageOnly() returns
true).
If the data is not paged, this method throws an exception.UnsupportedOperationException - If the data of this fragment is not paged.org.apache.jena.rdf.model.StmtIterator getMetadata()
org.apache.jena.rdf.model.StmtIterator getControls()
Copyright © 2021. All rights reserved.