Search in sources :

Example 11 with RowSetNavigatorClient

use of org.hsqldb_voltpatches.navigator.RowSetNavigatorClient in project voltdb by VoltDB.

the class Result method newSingleColumnResult.

public static Result newSingleColumnResult(ResultMetaData meta) {
    Result result = newResult(ResultConstants.DATA);
    result.metaData = meta;
    result.navigator = new RowSetNavigatorClient();
    return result;
}
Also used : RowSetNavigatorClient(org.hsqldb_voltpatches.navigator.RowSetNavigatorClient)

Example 12 with RowSetNavigatorClient

use of org.hsqldb_voltpatches.navigator.RowSetNavigatorClient in project voltdb by VoltDB.

the class Result method newSessionAttributesResult.

/**
     * Result structure used for set/get session attributes
     */
public static Result newSessionAttributesResult() {
    Result result = newResult(ResultConstants.DATA);
    result.navigator = new RowSetNavigatorClient(1);
    result.metaData = sessionAttributesMetaData;
    result.navigator.add(new Object[SessionInterface.INFO_LIMIT]);
    return result;
}
Also used : RowSetNavigatorClient(org.hsqldb_voltpatches.navigator.RowSetNavigatorClient)

Aggregations

RowSetNavigatorClient (org.hsqldb_voltpatches.navigator.RowSetNavigatorClient)12 RowSetNavigator (org.hsqldb_voltpatches.navigator.RowSetNavigator)4 Result (org.hsqldb_voltpatches.result.Result)3 Type (org.hsqldb_voltpatches.types.Type)2 ColumnBase (org.hsqldb_voltpatches.ColumnBase)1 Statement (org.hsqldb_voltpatches.Statement)1 HashMappedList (org.hsqldb_voltpatches.lib.HashMappedList)1 RangeIterator (org.hsqldb_voltpatches.navigator.RangeIterator)1 PersistentStore (org.hsqldb_voltpatches.persist.PersistentStore)1