Package com.complexible.stardog.virtual.api

# Class DataSourceQueryResult

java.lang.Object
com.complexible.stardog.virtual.api.DataSourceQueryResult

public class DataSourceQueryResult extends Object
DTO for storing DataSourceQuery results

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataSourceQueryResult()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addColumn(int theOrder, String theName, String theType, int theSize)`
  `void`
  `addValue(int theRowOrder, int theColumnIndex, Object theValue)`
  `int`
  `getColumnCount()`
  `String`
  `getColumnName(int theOrder)`
  `int`
  `getColumnSize(int theOrder)`
  `String`
  `getColumnType(int theOrder)`
  `int`
  `getRowCount()`
  `Object`
  `getValue(int theRowOrder, int theColumnIndex)`
  Get a value from the result, in String format.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DataSourceQueryResult

    public DataSourceQueryResult()

- ## Method Details

  - ### addColumn

    public void addColumn(int theOrder, String theName, String theType, int theSize)

  - ### getColumnCount

    public int getColumnCount()

  - ### getRowCount

    public int getRowCount()

  - ### getColumnName

    public String getColumnName(int theOrder)

  - ### getColumnType

    public String getColumnType(int theOrder)

  - ### getColumnSize

    public int getColumnSize(int theOrder)

  - ### addValue

    public void addValue(int theRowOrder, int theColumnIndex, Object theValue)

  - ### getValue

    public Object getValue(int theRowOrder, int theColumnIndex)
    Get a value from the result, in String format.
    Parameters:
      `theRowOrder` - The zero-based row number
      `theColumnIndex` - The zero-based column number
    Returns:
      the value from the requested row and column