Class ComplexDocumentFilter
- java.lang.Object
-
- org.teiid.translator.infinispan.hotrod.ComplexDocumentFilter
-
- All Implemented Interfaces:
DocumentFilter
public class ComplexDocumentFilter extends Object implements DocumentFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.infinispan.api.DocumentFilter
DocumentFilter.Action
-
-
Constructor Summary
Constructors Constructor Description ComplexDocumentFilter(NamedTable parentTable, NamedTable childTable, RuntimeMetadata metadata, String filter, DocumentFilter.Action action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentFilter.Action
action()
when matches what is action to take with child document.String
getChildName()
boolean
matches(Map<String,Object> parentProperties, Map<String,Object> childProperties)
Does the the document with given properties matches filter?
-
-
-
Constructor Detail
-
ComplexDocumentFilter
public ComplexDocumentFilter(NamedTable parentTable, NamedTable childTable, RuntimeMetadata metadata, String filter, DocumentFilter.Action action) throws TranslatorException
- Throws:
TranslatorException
-
-
Method Detail
-
matches
public boolean matches(Map<String,Object> parentProperties, Map<String,Object> childProperties) throws TranslatorException
Description copied from interface:DocumentFilter
Does the the document with given properties matches filter?- Specified by:
matches
in interfaceDocumentFilter
- Returns:
- Throws:
TranslatorException
-
action
public DocumentFilter.Action action()
Description copied from interface:DocumentFilter
when matches what is action to take with child document.- Specified by:
action
in interfaceDocumentFilter
-
getChildName
public String getChildName()
- Specified by:
getChildName
in interfaceDocumentFilter
-
-