Deveel.Data.Protocol.QueryResultPart.GetRow C# (CSharp) Method

GetRow() public method

public GetRow ( int index ) : QueryResultRow
index int
return QueryResultRow
        public QueryResultRow GetRow(int index)
        {
            return rows[index];
        }

Usage Example

コード例 #1
0
ファイル: LocalQueryResult.cs プロジェクト: meikeric/deveeldb
        public ISqlObject GetRawColumn(int column)
        {
            // ASSERTION -
            // Is the given column in bounds?
            if (column < 0 || column >= ColumnCount)
            {
                throw new IndexOutOfRangeException("Column index out of bounds: 1 > " + column + " > " + ColumnCount);
            }

            // Ensure the current indexed row is fetched from the server.
            EnsureIndexLoaded();

            var row = resultBlock.GetRow(realIndexOffset);

            return(row.Values[column]);
        }