Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5504c0ac
Commit
5504c0ac
authored
Nov 18, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added doxygen comments for fast path calls
parent
99143ffa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
14 deletions
+53
-14
ndb/include/ndbapi/NdbConnection.hpp
ndb/include/ndbapi/NdbConnection.hpp
+53
-14
No files found.
ndb/include/ndbapi/NdbConnection.hpp
View file @
5504c0ac
...
...
@@ -177,12 +177,24 @@ public:
*/
NdbOperation
*
getNdbOperation
(
const
char
*
aTableName
);
/**
* Get an NdbOperation for a table.
* Note that the operation has to be defined before it is executed.
*
* @note All operations within the same transaction need to
* be initialized with this method.
*
* @param aTable A table object (fetched by NdbDictionary::Dictionary::getTable)
* @return Pointer to an NdbOperation object if successful, otherwise NULL.
*/
NdbOperation
*
getNdbOperation
(
const
NdbDictionary
::
Table
*
aTable
);
/**
* Get an operation from NdbScanOperation idlelist and
* get the NdbConnection object which
* was fetched by startTransaction pointing to this operation.
*
* @param aTableName
a
table name.
* @param aTableName
The
table name.
* @return pointer to an NdbOperation object if successful, otherwise NULL
*/
NdbScanOperation
*
getNdbScanOperation
(
const
char
*
aTableName
);
...
...
@@ -192,25 +204,60 @@ public:
* get the NdbConnection object which
* was fetched by startTransaction pointing to this operation.
*
* @param aTable A table object (fetched by NdbDictionary::Dictionary::getTable)
* @return pointer to an NdbOperation object if successful, otherwise NULL
*/
NdbScanOperation
*
getNdbScanOperation
(
const
NdbDictionary
::
Table
*
aTable
);
/**
* Get an operation from NdbIndexScanOperation idlelist and
* get the NdbConnection object which
* was fetched by startTransaction pointing to this operation.
*
* @param anIndexName The index name.
* @param aTableName
a
table name.
* @param aTableName
The
table name.
* @return pointer to an NdbOperation object if successful, otherwise NULL
*/
NdbIndexScanOperation
*
getNdbIndexScanOperation
(
const
char
*
anIndexName
,
const
char
*
aTableName
);
/**
* Get an operation from NdbIndexScanOperation idlelist and
* get the NdbConnection object which
* was fetched by startTransaction pointing to this operation.
*
* @param anIndex An index object (fetched by NdbDictionary::Dictionary::getIndex).
* @param aTable A table object (fetched by NdbDictionary::Dictionary::getTable).
* @return pointer to an NdbOperation object if successful, otherwise NULL
*/
NdbIndexScanOperation
*
getNdbIndexScanOperation
(
const
NdbDictionary
::
Index
*
anIndex
,
const
NdbDictionary
::
Table
*
aTable
);
/**
* Get an operation from NdbIndexOperation idlelist and
* get the NdbConnection object that
* was fetched by startTransaction pointing to this operation.
*
* @param
indexName An
index name (as created by createIndex).
* @param
tableName A
table name.
* @param
anIndexName The
index name (as created by createIndex).
* @param
aTableName The
table name.
* @return Pointer to an NdbIndexOperation object if
* successful, otherwise NULL
*/
NdbIndexOperation
*
getNdbIndexOperation
(
const
char
*
indexName
,
const
char
*
tableName
);
NdbIndexOperation
*
getNdbIndexOperation
(
const
char
*
anIndexName
,
const
char
*
aTableName
);
/**
* Get an operation from NdbIndexOperation idlelist and
* get the NdbConnection object that
* was fetched by startTransaction pointing to this operation.
*
* @param anIndex An index object (fetched by NdbDictionary::Dictionary::getIndex).
* @param aTable A table object (fetched by NdbDictionary::Dictionary::getTable).
* @return Pointer to an NdbIndexOperation object if
* successful, otherwise NULL
*/
NdbIndexOperation
*
getNdbIndexOperation
(
const
NdbDictionary
::
Index
*
anIndex
,
const
NdbDictionary
::
Table
*
aTable
);
/**
* @name Execute Transaction
...
...
@@ -441,14 +488,6 @@ public:
*/
int
executePendingBlobOps
(
Uint8
flags
=
0xFF
);
// Fast path calls for MySQL ha_ndbcluster
NdbOperation
*
getNdbOperation
(
const
NdbDictionary
::
Table
*
table
);
NdbIndexOperation
*
getNdbIndexOperation
(
const
NdbDictionary
::
Index
*
,
const
NdbDictionary
::
Table
*
table
);
NdbScanOperation
*
getNdbScanOperation
(
const
NdbDictionary
::
Table
*
table
);
NdbIndexScanOperation
*
getNdbIndexScanOperation
(
const
NdbDictionary
::
Index
*
index
,
const
NdbDictionary
::
Table
*
table
);
private:
/**
* Release completed operations
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment