Definition at line 25 of file LocalQueryResult.cs.
Definition at line 48 of file LocalQueryResult.cs.
DeveelDbConnectionStringBuilder Settings
DeveelDbConnection connection
Deveel.Data.Protocol.LocalQueryResult.~LocalQueryResult |
( |
| ) |
|
|
inlineprivate |
void Deveel.Data.Protocol.LocalQueryResult.Close |
( |
| ) |
|
|
inline |
Definition at line 349 of file LocalQueryResult.cs.
int ResultId
Returns the identificator that is used as a key to refer to the result set on the server that is the ...
Dictionary< string, int > columnHash
DeveelDbConnection connection
void DisposeResult(int resultId)
void Deveel.Data.Protocol.LocalQueryResult.Dispose |
( |
| ) |
|
|
inline |
void Deveel.Data.Protocol.LocalQueryResult.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprivate |
Definition at line 372 of file LocalQueryResult.cs.
QueryResultPart resultBlock
QueryResultColumn[] columns
DeveelDbConnection connection
void Deveel.Data.Protocol.LocalQueryResult.Download |
( |
int |
rowIndex, |
|
|
int |
rowCount |
|
) |
| |
|
inline |
Definition at line 283 of file LocalQueryResult.cs.
288 if (rowIndex + rowCount < 0)
293 rowCount = rowCount + rowIndex;
317 }
catch (Exception ex) {
int ResultId
Returns the identificator that is used as a key to refer to the result set on the server that is the ...
int ColumnCount
The column count of columns in the result set.
QueryResultPart resultBlock
int RowCount
The total number of rows in the result set.
DeveelDbConnection connection
QueryResultPart GetResultPart(int resultId, int rowIndex, int rowCount, int colCount, int totalRowCount)
Requests a block of parts.
void Deveel.Data.Protocol.LocalQueryResult.DownloadAndClose |
( |
| ) |
|
|
inline |
Definition at line 277 of file LocalQueryResult.cs.
int ResultId
Returns the identificator that is used as a key to refer to the result set on the server that is the ...
void Download(int rowIndex, int rowCount)
DeveelDbConnection connection
void DisposeResult(int resultId)
void Deveel.Data.Protocol.LocalQueryResult.EnsureIndexLoaded |
( |
| ) |
|
|
inlineprivate |
Ensures that the row index pointed to by 'real_index' is actually loaded into the 'result_block'.
If not, we send a request to the database to get it.
Definition at line 136 of file LocalQueryResult.cs.
148 }
else if (rowOffset < 0) {
void Download(int rowIndex, int rowCount)
int Deveel.Data.Protocol.LocalQueryResult.FindColumnIndex |
( |
string |
name | ) |
|
|
inline |
Searches for the index of the column with the given name.
- Parameters
-
- Returns
- Returns a zero-based index representing the position of the column with the given name among those in the result.
- Exceptions
-
DatabaseException | If no column with the given name was found within the result. |
Definition at line 169 of file LocalQueryResult.cs.
174 columnHash =
new Dictionary<string, int>(comparer);
178 if (!
columnHash.TryGetValue(name, out index)) {
182 for (
int i = 0; i < colCount; ++i) {
184 if (colName.StartsWith(
"\"")) {
185 colName = colName.Substring(1, colName.Length - 2);
188 if (colName.StartsWith(
"@")) {
189 colName = colName.Substring(2);
195 for (
int i = 0; i < colCount; ++i) {
197 if (colName.Equals(name)) {
204 string pointName =
"." + name;
205 for (
int i = 0; i < colCount; ++i) {
207 if (colName.EndsWith(pointName)) {
A long string in the system.
Dictionary< string, int > columnHash
string Name
Returns the name of the field.
int ColumnCount
The column count of columns in the result set.
QueryResultColumn[] columns
DeveelDbConnectionStringBuilder Settings
DeveelDbConnection connection
bool IgnoreIdentifiersCase
bool Deveel.Data.Protocol.LocalQueryResult.First |
( |
| ) |
|
|
inline |
ISqlObject Deveel.Data.Protocol.LocalQueryResult.GetRawColumn |
( |
int |
column | ) |
|
|
inline |
Definition at line 230 of file LocalQueryResult.cs.
234 throw new IndexOutOfRangeException(
"Column index out of bounds: 1 > " + column +
" > " +
ColumnCount);
240 return row.
Values[column];
QueryResultRow GetRow(int index)
void EnsureIndexLoaded()
Ensures that the row index pointed to by 'real_index' is actually loaded into the 'result_block'...
int ColumnCount
The column count of columns in the result set.
QueryResultPart resultBlock
object Deveel.Data.Protocol.LocalQueryResult.GetRuntimeValue |
( |
int |
ordinal | ) |
|
|
inline |
Definition at line 219 of file LocalQueryResult.cs.
222 if (value == null || value.IsNull)
227 return Convert.ChangeType(value, destType, CultureInfo.InvariantCulture);
ISqlObject GetRawColumn(int column)
QueryResultColumn GetColumn(int offset)
bool Deveel.Data.Protocol.LocalQueryResult.Next |
( |
| ) |
|
|
inline |
void Deveel.Data.Protocol.LocalQueryResult.RealIndexUpdate |
( |
| ) |
|
|
inlineprivate |
void Deveel.Data.Protocol.LocalQueryResult.SetFetchSize |
( |
int |
rows | ) |
|
|
inline |
void Deveel.Data.Protocol.LocalQueryResult.SetMaxRowCount |
( |
int |
rowCount | ) |
|
|
inline |
void Deveel.Data.Protocol.LocalQueryResult.Setup |
( |
int |
id, |
|
|
QueryResultColumn[] |
columnList, |
|
|
int |
totalRowCount |
|
) |
| |
|
inline |
Definition at line 257 of file LocalQueryResult.cs.
int ResultId
Returns the identificator that is used as a key to refer to the result set on the server that is the ...
QueryResultPart resultBlock
QueryResultColumn[] columns
DeveelDbConnectionStringBuilder Settings
DeveelDbConnection connection
int Deveel.Data.Protocol.LocalQueryResult.blockRowCount |
|
private |
int Deveel.Data.Protocol.LocalQueryResult.blockTopRow |
|
private |
Dictionary<string, int> Deveel.Data.Protocol.LocalQueryResult.columnHash |
|
private |
int Deveel.Data.Protocol.LocalQueryResult.fetchSize |
|
private |
int Deveel.Data.Protocol.LocalQueryResult.maxRowCount = Int32.MaxValue |
|
private |
int Deveel.Data.Protocol.LocalQueryResult.realIndex = Int32.MaxValue |
|
private |
int Deveel.Data.Protocol.LocalQueryResult.realIndexOffset = -1 |
|
private |
int Deveel.Data.Protocol.LocalQueryResult.resultRowCount |
|
private |
int Deveel.Data.Protocol.LocalQueryResult.AffectedRows |
|
get |
bool Deveel.Data.Protocol.LocalQueryResult.Closed |
|
getprivate set |
int Deveel.Data.Protocol.LocalQueryResult.ColumnCount |
|
get |
int Deveel.Data.Protocol.LocalQueryResult.DefaultFetchSize |
|
getprivate set |
bool Deveel.Data.Protocol.LocalQueryResult.HasLargeObject |
|
get |
bool Deveel.Data.Protocol.LocalQueryResult.IsUpdate |
|
get |
Returns true if this result set contains 1 column and 1 row and the name of the column is result
.
This indicates the result set is a DDL command ( UPDATE
, INSERT
, CREATE
, ALTER
, etc ).
NOTE: This is a minor hack because there is no real indication that this is a DML statement. Theoretically a SQL command could be constructed that meets a ll these requirements and is processed incorrectly.
Definition at line 120 of file LocalQueryResult.cs.
int Deveel.Data.Protocol.LocalQueryResult.MaxFetchSize |
|
getprivate set |
int Deveel.Data.Protocol.LocalQueryResult.QueryTime |
|
getset |
int Deveel.Data.Protocol.LocalQueryResult.ResultId |
|
getprivate set |
Returns the identificator that is used as a key to refer to the result set on the server that is the result of the command.
An identificator of -1 means there is no server side result set associated with this object.
Definition at line 79 of file LocalQueryResult.cs.
int Deveel.Data.Protocol.LocalQueryResult.RowCount |
|
get |
bool Deveel.Data.Protocol.LocalQueryResult.VerboseColumnNames |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Client/LocalQueryResult.cs