public class ElasticsearchQueryMethod extends QueryMethod
Constructor and Description |
---|
ElasticsearchQueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory factory,
MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext) |
Modifier and Type | Method and Description |
---|---|
String |
getAnnotatedQuery() |
ElasticsearchEntityMetadata<?> |
getEntityInformation() |
protected MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> |
getMappingContext() |
boolean |
hasAnnotatedQuery() |
createParameters, getDomainClass, getName, getNamedQueryName, getParameters, getResultProcessor, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity, isSliceQuery, isStreamQuery, toString
public ElasticsearchQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory factory, MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext)
public boolean hasAnnotatedQuery()
public String getAnnotatedQuery()
public ElasticsearchEntityMetadata<?> getEntityInformation()
getEntityInformation
in class QueryMethod
ElasticsearchEntityMetadata
for the query methods return type
.protected MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> getMappingContext()
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.