Interface VirtualFieldCriteriaExpanderInterface
public interface VirtualFieldCriteriaExpanderInterface
Converts a virtual field into ordinary query filters. Implementations reject
unsupported operators with QUserFacingException. Returned filters must not
contain further expander criteria; expansion is a single pass.
-
Method Summary
Modifier and TypeMethodDescriptionexpand(QTableMetaData table, QFilterCriteria criteria, CriteriaExpansionContext context) Expand one criterion, preserving its semantics as a nested filter.expandSearchTerm(QTableMetaData table, String term, SearchTermKind kind, CriteriaExpansionContext context) Return a matching filter, or null when this field does not match the term.
-
Method Details
-
expand
QQueryFilter expand(QTableMetaData table, QFilterCriteria criteria, CriteriaExpansionContext context) throws QException Expand one criterion, preserving its semantics as a nested filter.- Throws:
QException
-
expandSearchTerm
QQueryFilter expandSearchTerm(QTableMetaData table, String term, SearchTermKind kind, CriteriaExpansionContext context) throws QException Return a matching filter, or null when this field does not match the term. TAG terms have their leading hash removed; matching policy belongs here.- Throws:
QException
-