public class MongoQuery.MongoQueryResult extends Object implements QueryResult
| Constructor and Description |
|---|
MongoQueryResult(String query,
List<InternalParam> params) |
| Modifier and Type | Method and Description |
|---|---|
List<DataColumn> |
getDataColumns()
Returns all the data table columns available.
|
boolean |
hasNext()
Checks if there are any result records left.
|
DataRow |
next()
Reads in the next record in the result set.
|
public MongoQueryResult(String query, List<InternalParam> params) throws DataServiceFault
DataServiceFaultpublic List<DataColumn> getDataColumns() throws DataServiceFault
QueryResultgetDataColumns in interface QueryResultDataServiceFault - Thrown if any error occurspublic boolean hasNext()
throws DataServiceFault
QueryResulthasNext in interface QueryResultDataServiceFault - Thrown if any error occurspublic DataRow next() throws DataServiceFault
QueryResultnext in interface QueryResultDataServiceFault - Thrown if any error occursCopyright © 2019 WSO2. All rights reserved.