public interface QueryConverter<T>
Modifier and Type | Method and Description |
---|---|
T |
getNativeForm(QueryExpression qe, List<String> sources)
Generates native form query representation from given QueryExpression for specified index sources
|
void |
setIndexSourceConfig(IndexSourceConfig config)
Set the IndexSourceConfig information
|
void |
setSearchEngineMetadata(SearchEngineMetadata md)
Sets the search engine metadata for this instance.
|
void setIndexSourceConfig(IndexSourceConfig config)
config
- IndexSourceConfig to be set into the QueryConvertervoid setSearchEngineMetadata(SearchEngineMetadata md)
md
- SearchEngineMetadata for use in converting QueryExpression to native form.T getNativeForm(QueryExpression qe, List<String> sources) throws QueryConversionException
qe
- QueryExpression to be converted to native form.sources
- names of IndexSources the QueryExpression is to apply.QueryConversionException
- if the specified expression cannot be converted into meaningful native form.