Class DataSourceQueryResult
- java.lang.Object
-
- com.complexible.stardog.virtual.api.DataSourceQueryResult
-
public class DataSourceQueryResult extends java.lang.Object
DTO for storing DataSourceQuery results
-
-
Constructor Summary
Constructors Constructor Description DataSourceQueryResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumn(int theOrder, java.lang.String theName, java.lang.String theType, int theSize)
void
addValue(int theRowOrder, int theColumnIndex, java.lang.Object theValue)
int
getColumnCount()
java.lang.String
getColumnName(int theOrder)
int
getColumnSize(int theOrder)
java.lang.String
getColumnType(int theOrder)
int
getRowCount()
java.lang.Object
getValue(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
-
-