public interface StatementResult
Statement
.
A StatementResult encapsulates the raw result when executing a Statement
allowing a generic mechanism for callers to request certain operations
such as displaying the result PrintWriter
(print(PrintWriter, String)
).
Modifier and Type | Field and Description |
---|---|
static StatementResult |
NULL_RESULT
A StatementResult with a null result value.
|
Modifier and Type | Method and Description |
---|---|
Object |
getResult()
Return the actual result Object that this StatementResult wraps.
|
void |
print(PrintWriter writer,
String sTitle)
Print the result object to the specified
PrintWriter . |
static final StatementResult NULL_RESULT
Object getResult()
void print(PrintWriter writer, String sTitle)
PrintWriter
.writer
- the PrintWriter to print the results tosTitle
- the title to print before the results