public class NumericFieldConfigListener extends Object implements FieldConfigListener
FieldConfig
requests in
QueryConfigHandler
and add StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG
based on the StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG_MAP
set in the
QueryConfigHandler
.Constructor and Description |
---|
NumericFieldConfigListener(QueryConfigHandler config)
Construcs a
NumericFieldConfigListener object using the given QueryConfigHandler . |
Modifier and Type | Method and Description |
---|---|
void |
buildFieldConfig(FieldConfig fieldConfig)
This method is called ever time a field configuration is requested.
|
public NumericFieldConfigListener(QueryConfigHandler config)
NumericFieldConfigListener
object using the given QueryConfigHandler
.config
- the QueryConfigHandler
it will listen toopublic void buildFieldConfig(FieldConfig fieldConfig)
FieldConfigListener
buildFieldConfig
in interface FieldConfigListener
fieldConfig
- the field configuration requested, should never be nullCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.