|
Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.2) E21908-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Attachment
An attachment is a document that is associated to an IndexableDocument. It is indexed as part of the indexable document. Blob or Clob columns are normally treated as attachements.
Field Summary | |
---|---|
static java.lang.String |
ATTACHMENT_CLASS
|
static java.lang.String |
COLUMN_NAME
|
static java.lang.String |
DATA_TYPE_NAME
|
static java.lang.String |
KEY_COUNT
|
static java.lang.String |
KEY_NAME_PREFIX
|
static java.lang.String |
KEY_VALUE_PREFIX
|
static java.lang.String |
SCHEMA_NAME
|
static java.lang.String |
TABLE_NAME
|
Method Summary | |
---|---|
java.util.Map |
getParameters()
Returns configuration parameters that will be used to retrieve the attachment. |
PrimaryKey |
getPrimaryKey()
Returns the primary key for the attachment. |
java.lang.String |
getType()
Returns Mime type of this attachment. |
void |
initialize(SearchContext ctx,
java.util.Map parameters,
PrimaryKey pk)
This method is called to initialize this the object before read method is called. |
void |
read(SearchContext ctx,
java.io.OutputStream out)
Reads the attachment. |
Field Detail |
---|
static final java.lang.String ATTACHMENT_CLASS
static final java.lang.String TABLE_NAME
static final java.lang.String COLUMN_NAME
static final java.lang.String SCHEMA_NAME
static final java.lang.String DATA_TYPE_NAME
static final java.lang.String KEY_COUNT
static final java.lang.String KEY_NAME_PREFIX
static final java.lang.String KEY_VALUE_PREFIX
Method Detail |
---|
java.lang.String getType()
java.util.Map getParameters()
PrimaryKey getPrimaryKey()
void initialize(SearchContext ctx, java.util.Map parameters, PrimaryKey pk)
ctx
- search context.parameters
- configuration parameters.pk
- primary key value.void read(SearchContext ctx, java.io.OutputStream out)
ctx
- runtim search context.out
- output stream to write the attachment.
|
Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.2) E21908-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |