Interface DdlBuffer
- All Known Implementing Classes:
BaseDdlBuffer
public interface DdlBuffer
Buffer to append generated DDL to.
-
Method Summary
Modifier and TypeMethodDescriptionAppend DDL content to the buffer.Append DDL content to the buffer with space padding.appendStatement(String content) Append a statement allowing for null or empty statements.appendWithSpace(String foreignKeyRestrict) Append a value that is potentially null or empty and proceed it with a space if so.end()End of a change - add some whitespace.Append the end of statement content.Return the buffer content.booleanisEmpty()Return true if the buffer is empty.newLine()Append new line character to the buffer.
-
Method Details
-
isEmpty
boolean isEmpty()Return true if the buffer is empty. -
appendStatement
Append a statement allowing for null or empty statements. -
append
Append DDL content to the buffer. -
append
Append DDL content to the buffer with space padding. -
appendWithSpace
Append a value that is potentially null or empty and proceed it with a space if so. -
newLine
Append new line character to the buffer. -
endOfStatement
Append the end of statement content. -
end
End of a change - add some whitespace. -
getBuffer
Return the buffer content.
-