Package org.nuxeo.ecm.core.io.impl
Class DocumentPipeImpl
java.lang.Object
org.nuxeo.ecm.core.io.impl.DocumentPipeImpl
- All Implemented Interfaces:
DocumentPipe
- Direct Known Subclasses:
TransactionBatchingDocumentPipeImpl
- Author:
- Bogdan Stefanescu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTransformer
(DocumentTransformer transformer) void
void
applyTransforms
(ExportedDocument[] docs) protected void
protected void
void
removeTransformer
(DocumentTransformer transformer) run()
void
setReader
(DocumentReader reader) void
setWriter
(DocumentWriter writer)
-
Constructor Details
-
DocumentPipeImpl
public DocumentPipeImpl(int pageSize) -
DocumentPipeImpl
public DocumentPipeImpl()
-
-
Method Details
-
addTransformer
- Specified by:
addTransformer
in interfaceDocumentPipe
-
getReader
- Specified by:
getReader
in interfaceDocumentPipe
-
getTransformers
- Specified by:
getTransformers
in interfaceDocumentPipe
-
getWriter
- Specified by:
getWriter
in interfaceDocumentPipe
-
removeTransformer
- Specified by:
removeTransformer
in interfaceDocumentPipe
-
setReader
- Specified by:
setReader
in interfaceDocumentPipe
-
setWriter
- Specified by:
setWriter
in interfaceDocumentPipe
-
run
- Specified by:
run
in interfaceDocumentPipe
- Throws:
IOException
-
handleBatchEnd
protected void handleBatchEnd() -
readAndWriteDocs
- Throws:
IOException
-
applyTransforms
- Throws:
IOException
-
applyTransforms
- Throws:
IOException
-