public class ReactiveCosmosQueryMethod
extends org.springframework.data.repository.query.QueryMethod
| Constructor and Description |
|---|
ReactiveCosmosQueryMethod(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 |
|---|---|
org.springframework.data.repository.core.EntityMetadata<?> |
getEntityInformation() |
String |
getQueryAnnotation()
Gets the annotated query or returns null
|
Class<?> |
getReactiveWrapper()
Returns the reactive wrapper class type if it exists or null otherwise
|
boolean |
hasAnnotatedQuery()
Returns whether the method has an annotated query.
|
createParameters, getDomainClass, getName, getNamedQueryName, getParameters, getResultProcessor, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity, isSliceQuery, isStreamQuery, toStringpublic ReactiveCosmosQueryMethod(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 org.springframework.data.repository.core.EntityMetadata<?> getEntityInformation()
getEntityInformation in class org.springframework.data.repository.query.QueryMethodpublic Class<?> getReactiveWrapper()
public boolean hasAnnotatedQuery()
@Nullable public String getQueryAnnotation()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.