Enum Class QueryRewriter.IdentityQueryRewriter
java.lang.Object
java.lang.Enum<QueryRewriter.IdentityQueryRewriter>
org.springframework.data.jpa.repository.QueryRewriter.IdentityQueryRewriter
- All Implemented Interfaces:
- Serializable,- Comparable<QueryRewriter.IdentityQueryRewriter>,- Constable,- QueryRewriter
- Enclosing interface:
- QueryRewriter
public static enum QueryRewriter.IdentityQueryRewriter
extends Enum<QueryRewriter.IdentityQueryRewriter>
implements QueryRewriter
A 
QueryRewriter that doesn't change the query.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.QueryRewriterQueryRewriter.IdentityQueryRewriter
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionRewrite the assembled query with the givenSort.Returns the enum constant of this class with the specified name.static QueryRewriter.IdentityQueryRewriter[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.springframework.data.jpa.repository.QueryRewriterrewrite
- 
Enum Constant Details- 
INSTANCE
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
rewriteDescription copied from interface:QueryRewriterRewrite the assembled query with the givenSort.WARNING: No checks are performed before the transformed query is passed to the EntityManager. - Specified by:
- rewritein interface- QueryRewriter
- Parameters:
- query- the assembled query.
- sort- current- Sortsettings provided by the method, or- Sort.unsorted()} if there are none.
- Returns:
- the query to be used with the EntityManager.
 
 
-