Home > Class Reference > %SYS namespace > %iKnow.Filters.SimpleMetadataFilter

%iKnow.Filters.SimpleMetadataFilter

class %iKnow.Filters.SimpleMetadataFilter extends %iKnow.Filters.Filter

Filter implementation selecting sources based on their metadata values, as set through %iKnow.Queries.MetadataAPI.

Filter parameters:

  1. domainId As %Integer
  2. fieldName As %String - the name of the metadata field to filter by.
  3. filterOperator As %String - the operator to use for filtering (should be a supported one for this metadata field).
  4. filterValue - the value to compare the actual source metadata values against.

Property Inventory

Method Inventory

Properties

property FieldId as %Integer;
Property methods: FieldIdDisplayToLogical(), FieldIdGet(), FieldIdIsValid(), FieldIdLogicalToDisplay(), FieldIdNormalize(), FieldIdSet()
property FilterOperator as %String;
Property methods: FilterOperator(), FilterOperatorDisplayToLogical(), FilterOperatorGet(), FilterOperatorIsValid(), FilterOperatorLogicalToDisplay(), FilterOperatorLogicalToOdbc(), FilterOperatorNormalize(), FilterOperatorSet()
property FilterValue as %String;
Property methods: FilterValue(), FilterValueDisplayToLogical(), FilterValueGet(), FilterValueIsValid(), FilterValueLogicalToDisplay(), FilterValueLogicalToOdbc(), FilterValueNormalize(), FilterValueSet()

Methods

method ToString() as %String [ Language = objectscript ]
Inherited description:

Subclasses should implement this method to build a string representation of the filter instance. It should start with the filter class name, followed by a pipe (|) character and then a string representation that can be interpreted by its RestoreFilterFromStringInternal() implementation.

Inherited Methods