Package com.illumon.iris.controller
Class MergeQueryControllerConfigurationProcessor
java.lang.Object
com.illumon.iris.controller.MergeQueryControllerConfigurationProcessor
- All Implemented Interfaces:
FunctionalInterfaces.TriFunction<com.fishlib.io.logger.Logger,PqStorage,AtomicLong,Boolean>
public class MergeQueryControllerConfigurationProcessor extends Object implements FunctionalInterfaces.TriFunction<com.fishlib.io.logger.Logger,PqStorage,AtomicLong,Boolean>
Controller migration class to update merge configurations with the new data routing service parameters. This is intended
to take merge queries that run under the property-driven routing service and update them to be compatible with the
yaml-driven service. If the property-driven merge query used the LOCAL table data service mode (and does not have a
yaml type-specific-field), a type-specific field to use the default local table data service will be added.
TODO: Remove this once it's confirmed that no customers are running any pre-20181212 release.
-
Constructor Summary
Constructors Constructor Description MergeQueryControllerConfigurationProcessor()
-
Method Summary
Modifier and Type Method Description Boolean
apply(com.fishlib.io.logger.Logger log, PqStorage pqStorage, AtomicLong nextSerial)
Applies this function to the given arguments.
-
Constructor Details
-
MergeQueryControllerConfigurationProcessor
public MergeQueryControllerConfigurationProcessor()
-
-
Method Details
-
apply
Description copied from interface:FunctionalInterfaces.TriFunction
Applies this function to the given arguments.- Specified by:
apply
in interfaceFunctionalInterfaces.TriFunction<com.fishlib.io.logger.Logger,PqStorage,AtomicLong,Boolean>
- Parameters:
log
- the first function argumentpqStorage
- the second function argumentnextSerial
- the third argument- Returns:
- the function result
-