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