public class LoggingDocumentSink extends java.lang.Object implements DocumentSink
DocumentSink that logs filtered documents.| Constructor and Description |
|---|
LoggingDocumentSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String documentId,
FilterReason reason)
Adds a filtered document and the reason it was filtered.
|
public void add(java.lang.String documentId,
FilterReason reason)
DocumentSinkadd in interface DocumentSinkdocumentId - identifies the filtered documentreason - the reason the document was filtered