Class DataSourceQueryResult
- java.lang.Object
-
- com.complexible.stardog.virtual.api.DataSourceQueryResult
-
public class DataSourceQueryResult extends java.lang.ObjectDTO for storing DataSourceQuery results
-
-
Constructor Summary
Constructors Constructor Description DataSourceQueryResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddColumn(int theOrder, java.lang.String theName, java.lang.String theType, int theSize)voidaddValue(int theRowOrder, int theColumnIndex, java.lang.Object theValue)intgetColumnCount()java.lang.StringgetColumnName(int theOrder)intgetColumnSize(int theOrder)java.lang.StringgetColumnType(int theOrder)intgetRowCount()java.lang.ObjectgetValue(int theRowOrder, int theColumnIndex)Get a value from the result, in String format.
-
-
-
Method Detail
-
addColumn
public void addColumn(int theOrder, java.lang.String theName, java.lang.String theType, int theSize)
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getColumnName
public java.lang.String getColumnName(int theOrder)
-
getColumnType
public java.lang.String getColumnType(int theOrder)
-
getColumnSize
public int getColumnSize(int theOrder)
-
addValue
public void addValue(int theRowOrder, int theColumnIndex, java.lang.Object theValue)
-
getValue
public java.lang.Object getValue(int theRowOrder, int theColumnIndex)Get a value from the result, in String format.- Parameters:
theRowOrder- The zero-based row numbertheColumnIndex- The zero-based column number- Returns:
- the value from the requested row and column
-
-