public class MFilterAccessor extends MSearchAccessor
IReadAccessor.Standalone
Modifier and Type | Field and Description |
---|---|
static String |
FILTER_ID |
SEARCH_ID
internalExpectedGenericType, internalExpectedType, source
Constructor and Description |
---|
MFilterAccessor() |
MFilterAccessor(IReadAccessor source,
ICondition condition) |
Modifier and Type | Method and Description |
---|---|
MFilterAccessor |
clone()
Clones the Addon.
|
void |
compileValue(ICompilationContext ctxt,
Class<?> expectedType)
Implementation to handle case when expected result is a single value.
|
String |
getImplementationId()
Unique addon implementation ID.
|
Object |
specificHandleValue(IExecutionContext ctxt,
Object value)
Override this to apply specific transformation on value read from source accessor.
|
check, check, commonCompile, compileCollection, equals, getCondition, getEstimatedReadCost, hashCode, isCacheUsed, parseCollections, setCondition, toString
getGenericCollectionType, getInternalCacheIdentifier, getSource, getType, handleValue, internalGet, isConstantValue, isInternalCacheIdentifierNeeded, isShouldIterate, resetCachedData, setInternalCacheIdentifier, setSource, wasRegistered
castToExpected, compileRead, compileRead, compileRead, compileRead, get, getGenericTypes, isShouldBeWrappedToConstantValue, isShouldNotCache
optimize, toString
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public static final String FILTER_ID
public MFilterAccessor()
public MFilterAccessor(IReadAccessor source, ICondition condition)
public void compileValue(ICompilationContext ctxt, Class<?> expectedType) throws MRuleValidationException
AbstractReadAccessor
compileValue
in class MSearchAccessor
MRuleValidationException
public Object specificHandleValue(IExecutionContext ctxt, Object value) throws MAccessorException
AbstractReadSourceAccessor
specificHandleValue
in class MSearchAccessor
MAccessorException
public String getImplementationId()
IAddon
getImplementationId
in interface IAddon
getImplementationId
in class MSearchAccessor
public MFilterAccessor clone()
IAddon
clone
in interface IAccessor
clone
in interface IReadAccessor
clone
in interface IAddon
clone
in interface IMRulesObject
clone
in class MSearchAccessor