Package com.tangosol.coherence.dslquery
Interface StatementResult
-
- All Known Implementing Classes:
DefaultStatementResult
,FormattedMapStatementResult
public interface StatementResult
The result of executing a CohQLStatement
.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)
).- Since:
- Coherence 12.2.1
- Author:
- jk 2014.07.15
-
-
Field Summary
Fields Modifier and Type Field Description static StatementResult
NULL_RESULT
A StatementResult with a null result value.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getResult()
Return the actual result Object that this StatementResult wraps.void
print(PrintWriter writer, String sTitle)
Print the result object to the specifiedPrintWriter
.
-
-
-
Field Detail
-
NULL_RESULT
static final StatementResult NULL_RESULT
A StatementResult with a null result value.
-
-
Method Detail
-
getResult
Object getResult()
Return the actual result Object that this StatementResult wraps.- Returns:
- the actual result Object that this StatementResult wraps
-
print
void print(PrintWriter writer, String sTitle)
Print the result object to the specifiedPrintWriter
.- Parameters:
writer
- the PrintWriter to print the results tosTitle
- the title to print before the results
-
-