|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryConverter<T>
A interface that converts a QueryExpression to an appropriate native query representation specific to a SearchEngine implementation.
Method Summary | |
---|---|
T |
getNativeForm(QueryExpression qe, java.util.List<java.lang.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. |
Method Detail |
---|
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, java.util.List<java.lang.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.