public interface IContentRepository
BigdataFileSystem
.Modifier and Type | Method and Description |
---|---|
int |
create(Document document)
Deprecated.
Create a new persistent document in this repository based on the metadata
and content in the supplied document object.
|
long |
delete(String id)
Deprecated.
Delete a single document.
|
long |
deleteAll(String fromId,
String toId)
Deprecated.
Delete all documents in the identified key range.
|
Iterator<? extends DocumentHeader> |
getDocumentHeaders(String fromId,
String toId)
Deprecated.
Return a listing of the documents and metadata about them in this
repository.
|
Document |
read(String id)
Deprecated.
Fetch a single document object based on a URI.
|
Iterator<String> |
search(String query)
Deprecated.
Full text search against the indexed documents.
|
int |
update(Document document)
Deprecated.
Update an existing persistent document in this repository based on the
metadata and content in the supplied document object.
|
Document read(String id)
id
- the identifier of the document to fetchint create(Document document)
document
- an object containing the content and metadata to persistint update(Document document)
DocumentHeader.getId()
method.document
- an object containing the content and metadata to updatelong delete(String id)
id
- the identifier of the document to deletelong deleteAll(String fromId, String toId)
Note: If you assign identifiers using a namespace then you can use this method to rapidly delete all documents within that namespace.
fromId
- The identifier of the first document to be deleted or
null
if there is no lower bound.toId
- The identifier of the first document that will NOT be deleted
or null
if there is no upper bound.Iterator<? extends DocumentHeader> getDocumentHeaders(String fromId, String toId)
Note: If you assign identifiers using a namespace then you can use this method to efficiently visit all documents within that namespace.
fromId
- The identifier of the first document to be visited or
null
if there is no lower bound.toId
- The identifier of the first document that will NOT be visited
or null
if there is no upper bound.DocumentHeader
s.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.