|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.handler.dataimport.EntityProcessor
public abstract class EntityProcessor
An instance of entity processor serves an entity. It is reused throughout the import process.
Implementations of this abstract class must provide a public no-args constructor.
Refer to http://wiki.apache.org/solr/DataImportHandler for more details.
This API is experimental and may change in the future.
| Constructor Summary | |
|---|---|
EntityProcessor()
|
|
| Method Summary | |
|---|---|
void |
close()
Invoked when the Entity processor is destroyed towards the end of import. |
abstract void |
destroy()
Invoked for each entity at the very end of the import to do any needed cleanup tasks. |
abstract void |
init(Context context)
This method is called when it starts processing an entity. |
abstract Map<String,Object> |
nextDeletedRowKey()
This is used during delta-import. |
abstract Map<String,Object> |
nextModifiedParentRowKey()
This is used during delta-import. |
abstract Map<String,Object> |
nextModifiedRowKey()
This is used for delta-import. |
abstract Map<String,Object> |
nextRow()
This method helps streaming the data for each row . |
void |
postTransform(Map<String,Object> r)
Invoked after the transformers are invoked. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityProcessor()
| Method Detail |
|---|
public abstract void init(Context context)
context - The current contextpublic abstract Map<String,Object> nextRow()
public abstract Map<String,Object> nextModifiedRowKey()
public abstract Map<String,Object> nextDeletedRowKey()
public abstract Map<String,Object> nextModifiedParentRowKey()
public abstract void destroy()
public void postTransform(Map<String,Object> r)
r - The transformed rowpublic void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||