Class CsvQueryResult
java.lang.Object
com.aquima.interactions.framework.connectivity.CsvQueryResult
Result object for an executed CsvQuery.
- Since:
- 8.3
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRowData
(IPrimitiveValue[] rowValues) String[]
The method returns all the column names that are available in the result.getValue
(int columnIndex) This method returns the value for the specified column.This method returns the value for the specified column.boolean
next()
This method will move the result iterator to the next row in the result, and return a boolean indicating if a next row is available.
-
Constructor Details
-
CsvQueryResult
-
-
Method Details
-
next
public boolean next()This method will move the result iterator to the next row in the result, and return a boolean indicating if a next row is available. The next method should always be invoked before results can be retrieved from this object.- Returns:
- Boolean indicating if (more) results are available.
-
getValue
This method returns the value for the specified column. The value returned will never be null, but the value might be unknown.- Parameters:
columnName
- The name of the column for which the value is requested.- Returns:
- IPrimitiveValue for the specified column.
-
getValue
This method returns the value for the specified column. The value returned will never be null, but the value might be unknown.- Parameters:
columnIndex
- The name of the column for which the value is requested.- Returns:
- IPrimitiveValue for the specified column.
-
getColumnNames
The method returns all the column names that are available in the result.- Returns:
- The column names, may be null.
-
addRowData
-