|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinaryContentFileProvider
An interface for DataSourceRuntimes
to
provide access to a record's binary content via the file system. The interface
consists of a single method to retrieve a File containing the binary content
associated with a record. CAS will perform text extraction on the binary content
and place the extracted text in the Endeca.Document.Text property of the record.
During incremental acquisitions, binary content is only processed for new
or updated records. Binary content is not processed if text extraction
is not enabled for the acquisition.
The implementation of this interface must be thread-safe. CAS will
retrieve binary content for multiple records concurrently and potentially
while DataSourceRuntime.runFullAcquisition()
is still
executing.
BinaryContentProvider
,
BinaryContentInputStreamProvider
Method Summary | |
---|---|
File |
getBinaryContentFile(Record record)
Retrieves the file containing the binary content of the given record. |
Method Detail |
---|
File getBinaryContentFile(Record record) throws ExecutionException
The implementation of this interface must be thread-safe. CAS will
retrieve binary content for multiple records concurrently and potentially
while DataSourceRuntime.runFullAcquisition()
is still
executing.
record
- The record to get the binary content for
ExecutionException
- If there is an error retrieving the binary
content file associated with the given record. The record will be
discarded if an ExecutionException is thrown.
FatalExecutionException
- If the BinaryContentFileProvider detects
an error that should cause the acquisition to abort.PipelineComponentRuntime.stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |