Class CsvQueryResult

java.lang.Object
com.aquima.interactions.framework.connectivity.CsvQueryResult

public final class CsvQueryResult extends Object
Result object for an executed CsvQuery.
Since:
8.3
Author:
Jon van Leuven
  • Constructor Details

    • CsvQueryResult

      public CsvQueryResult(String[] columnNames)
  • 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

      public IPrimitiveValue getValue(String columnName)
      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

      public IPrimitiveValue getValue(int columnIndex)
      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

      public String[] getColumnNames()
      The method returns all the column names that are available in the result.
      Returns:
      The column names, may be null.
    • addRowData

      public void addRowData(IPrimitiveValue[] rowValues)