public class LuceneQueryParsingResult extends Object
Constructor and Description |
---|
LuceneQueryParsingResult(org.apache.lucene.search.Query query,
String targetEntityName,
Class<?> targetEntity,
List<String> projections) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getProjections()
Returns the projections of the parsed query, represented as dot paths in case of references to fields of embedded
entities, e.g.
|
org.apache.lucene.search.Query |
getQuery()
Returns the Lucene query created while walking the parse tree.
|
Class<?> |
getTargetEntity()
Returns the entity type of the parsed query as derived from the queried entity name via the configured
EntityNamesResolver . |
String |
getTargetEntityName()
Returns the original entity name as given in the query
|
String |
toString() |
public org.apache.lucene.search.Query getQuery()
public String getTargetEntityName()
public Class<?> getTargetEntity()
EntityNamesResolver
.public List<String> getProjections()
["foo", "bar.qaz"]
.Copyright © 2013. All rights reserved.