public class ComplexDocumentFilter extends Object implements DocumentFilter
DocumentFilter.Action| Constructor and Description |
|---|
ComplexDocumentFilter(NamedTable parentTable,
NamedTable childTable,
RuntimeMetadata metadata,
String filter,
DocumentFilter.Action action) |
| Modifier and Type | Method and Description |
|---|---|
DocumentFilter.Action |
action()
when matches what is action to take with child document.
|
boolean |
matches(Map<String,Object> parentProperties,
Map<String,Object> childProperties)
Does the the document with given properties matches filter?
|
public ComplexDocumentFilter(NamedTable parentTable, NamedTable childTable, RuntimeMetadata metadata, String filter, DocumentFilter.Action action) throws TranslatorException
TranslatorExceptionpublic boolean matches(Map<String,Object> parentProperties, Map<String,Object> childProperties) throws TranslatorException
DocumentFiltermatches in interface DocumentFilterTranslatorExceptionpublic DocumentFilter.Action action()
DocumentFilteraction in interface DocumentFilterCopyright © 2019. All rights reserved.