public class SpannerQueryMethod
extends org.springframework.data.repository.query.QueryMethod
Constructor and Description |
---|
SpannerQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.ProjectionFactory factory)
Creates a new
QueryMethod from the given parameters. |
Modifier and Type | Method and Description |
---|---|
Method |
getMethod()
Get the method metadata.
|
boolean |
hasAnnotatedQuery()
Returns whether the method has an annotated query.
|
createParameters, getDomainClass, getEntityInformation, getName, getNamedQueryName, getParameters, getResultProcessor, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity, isSliceQuery, isStreamQuery, toString
public SpannerQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory)
QueryMethod
from the given parameters. Looks up the correct
query to use for following invocations of the method given.method
- must not be null.metadata
- must not be null.factory
- must not be null.public boolean hasAnnotatedQuery()
public Method getMethod()
Copyright © 2021. All rights reserved.