Class NumericLiteral
java.lang.Object
org.springframework.data.relational.core.sql.Literal<Number>
org.springframework.data.relational.core.sql.NumericLiteral
- All Implemented Interfaces:
Expression
,Segment
,Visitable
Represents a
Number
literal.- Since:
- 1.1
- Author:
- Mark Paluch
-
Method Details
-
getContent
- Overrides:
getContent
in classLiteral<Number>
- Returns:
- the content of the literal.
-
visit
Description copied from interface:Visitable
-
hashCode
public int hashCode()Description copied from interface:Segment
Generate a hash code from thisSegment
.Hashcode typically derives from the
Segment.toString()
representation so twoSegment
s yield the sameSegment.hashCode()
if theirSegment.toString()
representation matches. -
equals
Description copied from interface:Segment
Check whether thisSegment
is equal to anotherSegment
.Equality is typically given if the
Segment.toString()
representation matches.
-