Class Part
java.lang.Object
org.springframework.data.repository.query.parser.Part
A single part of a method name that has to be transformed into a query part. The actual transformation is defined by
a
Part.Type that is determined from inspecting the given part. The query part can then be looked up via
getProperty().- Author:
- Oliver Gierke, Martin Baumgartner, Jens Schauder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe various types of ignore case that are supported.static enumThe type of method name part. -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns how many method parameters are bound by this part.getType()inthashCode()Returns whether thePropertyPathreferenced should be matched ignoring case.toString()
-
Constructor Details
-
Part
-
Part
-
-
Method Details
-
getNumberOfArguments
public int getNumberOfArguments()Returns how many method parameters are bound by this part.- Returns:
-
getProperty
- Returns:
- the propertyPath
-
getType
- Returns:
- the type
-
shouldIgnoreCase
Returns whether thePropertyPathreferenced should be matched ignoring case.- Returns:
-
equals
-
hashCode
-
toString
-