A visitor to optimize filters for in memory evaluation

Description

This DuplicatingFilterVisitor class will convert once and for all the literals to the type needed for the comparisons at hand, given the target feature type of the features being compared.

Will be used in the filtering feature collections/readers, where most of the in-memory comparisons are made, in order to make the filtering as fast as possible.

The class will be setup so that it's possible to create custom subclasses of it that perform the casting the desired way, instead of leaving it to the converters roulette.

Environment

None

Status

Assignee

Unassigned

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure