fferpcore.Criterionglobal inherited sharing abstract class Criterion extends PluginTool.Plugin implements PublicationMatcher, SubscriptionMatcher, ChildMappingMatcher, TransformFilter Contains a condition that must be matched when filtering. This class implements the following interfaces: Methods
prepareglobal abstract void prepare(fferpcore.DataSource dataSource) Prepares the given fferpcore.DataSource for the criterion to be used in the comparison. For instance, one way in which this is used is to require a field with a value that is to be compared. Input Parameters
matchesglobal abstract Boolean matches(fferpcore.DataSource.Row dataSourceRow) Determines whether the given fferpcore.DataSource row matches the criterion. Input Parameters
Return ValueA Boolean value indicating whether the row is a match. matchesglobal abstract Boolean matches(fferpcore.DeliveredMessage message) Determines whether the given fferpcore.DeliveredMessage matches the criterion. Input Parameters
Return ValueA Boolean value indicating whether the message is a match. matchesglobal virtual Boolean matches(Map<String, Object> data) Determines whether map data matches the criterion. Input Parameters
Return ValueA Boolean value indicating whether the map data is a match. matchesglobal virtual Boolean matches(fferpcore.TransformFilterRequest data) Determines whether the transform filter request matches the criterion. Input Parameters
Return ValueA Boolean value indicating whether the data is a match. matchesglobal virtual Boolean matches(fferpcore.Navigable data) Determines whether the navigable data matches the criterion. Input Parameters
Return ValueA Boolean value indicating whether the data is a match. getRequiredSourceFieldsglobal virtual fferpcore.TransformFilterSourceFields getRequiredSourceFields() Return ValueThe source fields that are required by the criterion. Equalglobal static fferpcore.Criterion Equal(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path is equal to the specified value. Input Parameters
Return ValueA Criterion object. Equalglobal static fferpcore.Criterion Equal(fferpcore.Path path, Object value, Boolean coerce, Boolean coerceToFixedValue) Creates a fferpcore.Criterion object to be matched when the data at the specified path is equal to the specified value. Input Parameters
Return ValueA Criterion object. NotEqualglobal static fferpcore.Criterion NotEqual(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path is not equal to the specified value. Input Parameters
Return ValueA Criterion object. GreaterThanglobal static fferpcore.Criterion GreaterThan(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path is greater than the specified value. Input Parameters
Return ValueA Criterion object. LessThanglobal static fferpcore.Criterion LessThan(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path is less than the specified value. Input Parameters
Return ValueA Criterion object. GreaterThanEqualglobal static fferpcore.Criterion GreaterThanEqual(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path is greater than or equal to the specified value. Input Parameters
Return ValueA Criterion object. LessThanEqualglobal static fferpcore.Criterion LessThanEqual(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path is less than or equal to the specified value. Input Parameters
Return ValueA Criterion object. Containsglobal static fferpcore.Criterion Contains(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path contains the specified value. Input Parameters
Return ValueA Criterion object. NotContainsglobal static fferpcore.Criterion NotContains(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path does not contain the specified value. Input Parameters
Return ValueA Criterion object. StartsWithglobal static fferpcore.Criterion StartsWith(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path starts with the specified value. Input Parameters
Return ValueA Criterion object. EndsWithglobal static fferpcore.Criterion EndsWith(fferpcore.Path path, Object value) Creates a fferpcore.Criterion object to be matched when the data at the specified path ends with the specified value. Input Parameters
Return ValueA Criterion object. Invertglobal static fferpcore.Criterion Invert(fferpcore.Criterion criterion) Creates a fferpcore.Criterion object to be matched when the specified fferpcore.Criterion does not match. Input Parameters
Return ValueA Criterion object. Allglobal static fferpcore.Criterion All(List<fferpcore.Criterion> criteria) Creates a fferpcore.Criterion object to be matched when the criteria specified in the given fferpcore.Criterion list matches. Input Parameters
Return ValueA Criterion object. Someglobal static fferpcore.Criterion Some(List<fferpcore.Criterion> criteria) Creates a fferpcore.Criterion object to be matched when any of the fferpcore.Criterion specified in the list matches. Input Parameters
Return ValueA Criterion object. fferpcore.Criterion.Simpleglobal inherited sharing abstract class Simple extends Criterion An abstract fferpcore.Criterion to provide a simple template to compare two values. This class extends fferpcore.Criterion Methods
Simpleglobal Simple(fferpcore.Path path, Object value) Constructs a Simple Criterion. Input Parameters
matchesglobal abstract Boolean matches(Object sourceValue, Object fixedValue) Determines whether the given fixed value matches the source value. Input Parameters
getLabelglobal abstract String getLabel() Return ValueA label for the Criterion operation. For example, 'greater than'. fferpcore.Criterion.Compositeglobal inherited sharing abstract class Composite extends Criterion An abstract fferpcore.Criterion to provide a template to match based on many alternate Criteria. This class extends fferpcore.Criterion Methods
Compositeglobal Composite(List<fferpcore.Criterion> criteria) Constructs a Composite Criterion. Input Parameters
getConnectorglobal abstract String getConnector() Return ValueThe connector to describe the link between the Criteria. For example, 'AND'. fferpcore.Criterion.Singleglobal inherited sharing abstract class Single extends Criterion An abstract fferpcore.Criterion to provide a template to match based on a single alternate Criterion. This class extends fferpcore.Criterion Methods
Singleglobal Single(fferpcore.Criterion criterion) Constructs a Single Criterion. Input Parameters
getKeywordglobal abstract String getKeyword() Return ValueThe keyword to utilise the Criterion. For example, 'NOT'. |