Class EscapeCharacter
java.lang.Object
org.springframework.data.jpa.repository.query.EscapeCharacter
A value type encapsulating an escape character for LIKE queries and the actually usage of it in escaping
String
s.- Author:
- Jens Schauder, Oliver Drotbohm
-
Field Summary
-
Method Summary
-
Field Details
-
DEFAULT
-
-
Method Details
-
of
-
escape
Escapes all special like characters (_
,%
) using the configured escape character.- Parameters:
value
- may be null.- Returns:
-
getEscapeCharacter
public char getEscapeCharacter() -
equals
-
hashCode
public int hashCode() -
toString
-