public class NumericQueryNodeProcessor extends QueryNodeProcessorImpl
FieldQueryNodes to
NumericRangeQueryNodes. It looks for
StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG set in the FieldConfig of
every FieldQueryNode found. If
StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG is found, it considers that
FieldQueryNode to be a numeric query and convert it to
NumericRangeQueryNode with upper and lower inclusive and lower and
upper equals to the value represented by the FieldQueryNode converted
to Number. It means that field:1 is converted to field:[1
TO 1]. FieldQueryNodes children of a
RangeQueryNode are ignored.| Constructor and Description |
|---|
NumericQueryNodeProcessor()
Constructs a
NumericQueryNodeProcessor object. |
getQueryConfigHandler, process, setQueryConfigHandlerpublic NumericQueryNodeProcessor()
NumericQueryNodeProcessor object.Copyright © 2010 - 2020 Adobe. All Rights Reserved