Class Delimiter
java.lang.Object
migratedb.v1.core.api.internal.sqlscript.Delimiter
Represents a sql statement delimiter.
-
Field Details
-
SEMICOLON
-
GO
-
-
Constructor Details
-
Delimiter
Creates a new delimiter.- Parameters:
delimiter- The actual delimiter string.aloneOnLine- Whether the delimiter sits alone on a new line or not.
-
-
Method Details
-
getDelimiter
- Returns:
- The actual delimiter string.
-
shouldBeAloneOnLine
public boolean shouldBeAloneOnLine()- Returns:
- Whether the delimiter sits alone on a new line or not.
-
getEscape
- Returns:
- The escape string for the delimiter, if any.
-
toString
-
equals
-
hashCode
public int hashCode()
-