|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceIndex
The main interface to the Fedora Resource Index. The Resource Index (RI) provides read/write access to an RDF representation of all objects in the Fedora repository. The information stored in the RI is derived solely from information stored within the digital objects.
| Field Summary | |
|---|---|
static int |
INDEX_LEVEL_OFF
At this level, the ResourceIndex will not index anything. |
static int |
INDEX_LEVEL_ON
At this level the ResourceIndex will index: object properties datastreams intra-object dependencies |
static int |
INDEX_LEVEL_PERMUTATIONS
Equivalent to INDEX_LEVEL_ON plus the indexing of the various permutations of a representation (i.e. |
| Method Summary | |
|---|---|
void |
addBDefObject(BDefReader reader)
Adds a behavior definition object. |
void |
addBMechObject(BMechReader reader)
Adds a behavior mechanism object. |
void |
addDataObject(DOReader reader)
Adds a data object. |
void |
deleteBDefObject(BDefReader oldReader)
Deletes a behavior definition object. |
void |
deleteBMechObject(BMechReader oldReader)
Deletes a behavior definition object. |
void |
deleteDataObject(DOReader oldReader)
Deletes a behavior definition object. |
void |
export(java.io.OutputStream out,
org.trippi.RDFFormat format)
Exports all triples in the RI. |
int |
getIndexLevel()
Gets the index level of the ResourceIndex. |
void |
modifyBDefObject(BDefReader oldReader,
BDefReader newReader)
Modifies a behavior definition object. |
void |
modifyBMechObject(BMechReader oldReader,
BMechReader newReader)
Modifies a behavior mechanism object. |
void |
modifyDataObject(DOReader oldReader,
DOReader newReader)
Modifies a data object. |
| Methods inherited from interface org.trippi.TriplestoreWriter |
|---|
add, add, add, delete, delete, delete, findBufferedUpdates, flushBuffer, getBufferSize, setFlushErrorHandler |
| Methods inherited from interface org.trippi.TriplestoreReader |
|---|
close, countTriples, countTriples, countTriples, countTuples, findTriples, findTriples, findTriples, findTuples, getAliasMap, listTripleLanguages, listTupleLanguages, setAliasMap |
| Field Detail |
|---|
static final int INDEX_LEVEL_OFF
static final int INDEX_LEVEL_ON
static final int INDEX_LEVEL_PERMUTATIONS
| Method Detail |
|---|
int getIndexLevel()
void addBDefObject(BDefReader reader)
throws ResourceIndexException
reader - the behavior definition to add.
ResourceIndexException - if the operation fails for any reason.
void addBMechObject(BMechReader reader)
throws ResourceIndexException
reader - the behavior definition to add.
ResourceIndexException - if the operation fails for any reason.
void addDataObject(DOReader reader)
throws ResourceIndexException
reader - the data object to add.
ResourceIndexException - if the operation fails for any reason.
void modifyBDefObject(BDefReader oldReader,
BDefReader newReader)
throws ResourceIndexException
oldReader - the original behavior definition.newReader - the modified behavior definition.
ResourceIndexException - if the operation fails for any reason.
void modifyBMechObject(BMechReader oldReader,
BMechReader newReader)
throws ResourceIndexException
oldReader - the original behavior mechanism.newReader - the modified behavior mechanism.
ResourceIndexException - if the operation fails for any reason.
void modifyDataObject(DOReader oldReader,
DOReader newReader)
throws ResourceIndexException
oldReader - the original data object.newReader - the modified data object.
ResourceIndexException - if the operation fails for any reason.
void deleteBDefObject(BDefReader oldReader)
throws ResourceIndexException
oldReader - the original behavior definition.
ResourceIndexException
void deleteBMechObject(BMechReader oldReader)
throws ResourceIndexException
oldReader - the original behavior mechanism.
ResourceIndexException
void deleteDataObject(DOReader oldReader)
throws ResourceIndexException
oldReader - the original data object.
ResourceIndexException
void export(java.io.OutputStream out,
org.trippi.RDFFormat format)
throws ResourceIndexException
out - the output stream to which the RDF should be written.
The caller is responsible for eventually closing this stream.format - the output format (RDF_XML, TURTLE, N_TRIPLESs, etc).
ResourceIndexException - if triples in the RI cannot be
serialized for any reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||