public interface Segment extends Visitable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
|
int |
hashCode()
Generate a hash code from this
Segment . |
String |
toString()
Return a SQL string representation of this
Segment . |
boolean equals(Object other)
Segment
is equal to another Segment
.
Equality is typically given if the toString()
representation matches.int hashCode()
Segment
.
Hashcode typically derives from the toString()
representation so two Segment
s yield the same
hashCode()
if their toString()
representation matches.String toString()
Segment
.
The representation is intended for debugging purposes and an approximation to the generated SQL. While it might
work in the context of a specific dialect, you should not that the toString()
representation works across
multiple databases.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.