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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
04caec0b
Commit
04caec0b
authored
Dec 23, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed errors in the doxygen comments
parent
863276b3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
30 deletions
+43
-30
ndb/include/ndbapi/Ndb.hpp
ndb/include/ndbapi/Ndb.hpp
+27
-13
ndb/include/ndbapi/NdbBlob.hpp
ndb/include/ndbapi/NdbBlob.hpp
+4
-1
ndb/include/ndbapi/NdbDictionary.hpp
ndb/include/ndbapi/NdbDictionary.hpp
+8
-0
ndb/include/ndbapi/NdbReceiver.hpp
ndb/include/ndbapi/NdbReceiver.hpp
+1
-3
ndb/include/ndbapi/NdbScanOperation.hpp
ndb/include/ndbapi/NdbScanOperation.hpp
+0
-12
ndb/include/ndbapi/NdbTransaction.hpp
ndb/include/ndbapi/NdbTransaction.hpp
+3
-1
No files found.
ndb/include/ndbapi/Ndb.hpp
View file @
04caec0b
...
...
@@ -52,12 +52,15 @@
The execute can be of two different types,
<em>Commit</em> or <em>NoCommit</em>.
*/
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
(The execute can also be divided into three
steps: prepare, send, and poll to get asynchronous
transactions. More about this later.)
*/
#endif
/**
If the execute is of type NoCommit,
then the application program executes part of a transaction,
but without committing the transaction.
...
...
@@ -91,22 +94,27 @@
To execute several parallel synchronous transactions, one can either
use multiple Ndb objects in several threads or start multiple
applications programs.
*/
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
Another way to execute several parallel transactions is to use
asynchronous transactions.
*/
#endif
/**
@section secNdbOperations Operations
Each transaction (NdbTransaction object) consist of a list of
operations (Ndb*Operation objects).
*/
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
Operations are of two different kinds:
-# standard operations, and
-# interpreted program operations.
*/
#endif
/**
<h3>Single row operations</h3>
After the operation is created using NdbTransaction::getNdbOperation
(or NdbTransaction::getNdbIndexOperation),
...
...
@@ -208,8 +216,9 @@
Ndb::closeTransaction have been called.
The result of reading data from an NdbRecAttr object before
calling NdbTransaction::execute is undefined.
*/
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
<h3>Interpreted Program Operations</h3>
The following types of interpreted program operations exist:
-# NdbOperation::interpretedUpdateTuple :
...
...
@@ -270,8 +279,9 @@
There might be zero NdbOperation::getValue calls.
-# The fifth step is possible subroutine definitions using
NdbOperation::def_subroutine and NdbOperation::ret_sub.
*/
#endif
/**
@subsection secScan Scanning
The most common use of interpreted programs is for scanning
tables. Scanning is a search of all tuples in a table.
...
...
@@ -386,8 +396,9 @@
See the scan example program in @ref ndbapi_scan.cppn for example
usage of the new scan api.
*/
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
<h3>Interpreted Programs</h3>
Interpretation programs are executed in a
register-based virtual machine.
...
...
@@ -458,9 +469,11 @@
The parameter used by NdbOperation::def_subroutine
should match the automatic numbering to make it easier to
debug the interpreted program.
*/
#endif
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
@section secAsync Asynchronous Transactions
The asynchronous interface is used to increase the speed of
transaction executing by better utilizing the connection
...
...
@@ -560,8 +573,10 @@
More about how transactions are send the NDB Kernel is
available in section @ref secAdapt.
*/
#endif
/**
@section secError Error Handling
Errors can occur when
...
...
@@ -1012,8 +1027,7 @@ public:
Ndb
(
Ndb_cluster_connection
*
ndb_cluster_connection
,
const
char
*
aCatalogName
=
""
,
const
char
*
aSchemaName
=
"def"
);
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
// depricated
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
Ndb
(
const
char
*
aCatalogName
=
""
,
const
char
*
aSchemaName
=
"def"
);
#endif
~
Ndb
();
...
...
@@ -1091,8 +1105,7 @@ public:
*/
int
init
(
int
maxNoOfTransactions
=
4
);
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
// depricated
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
/**
* Wait for Ndb object to successfully set-up connections to
* the NDB kernel.
...
...
@@ -1230,8 +1243,9 @@ public:
*
* @note should be called after the transaction has completed, irrespective
* of success or failure
*
*
/
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
* @note It is not allowed to call Ndb::closeTransaction after sending the
* transaction asynchronously with either
* Ndb::sendPreparedTransactions or
...
...
@@ -1240,8 +1254,8 @@ public:
* outstanding transactions and wait until all of them
* has completed before calling Ndb::closeTransaction).
* If the transaction is not committed it will be aborted.
#endif
*/
#endif
void
closeTransaction
(
NdbTransaction
*
);
/** @} *********************************************************************/
...
...
ndb/include/ndbapi/NdbBlob.hpp
View file @
04caec0b
...
...
@@ -88,10 +88,13 @@ class NdbColumnImpl;
* - lock mode vs allowed operation is not checked
* - too many pending blob ops can blow up i/o buffers
* - table and its blob part tables are not created atomically
*/
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
* - there is no support for an asynchronous interface
#endif
*/
#endif
class
NdbBlob
{
public:
/**
...
...
ndb/include/ndbapi/NdbDictionary.hpp
View file @
04caec0b
...
...
@@ -693,22 +693,26 @@ public:
*/
unsigned
getNoOfColumns
()
const
;
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
/**
* Get the number of columns in the index
* Depricated, use getNoOfColumns instead.
*/
int
getNoOfIndexColumns
()
const
;
#endif
/**
* Get a specific column in the index
*/
const
Column
*
getColumn
(
unsigned
no
)
const
;
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
/**
* Get a specific column name in the index
* Depricated, use getColumn instead.
*/
const
char
*
getIndexColumn
(
int
no
)
const
;
#endif
/**
* Add a column to the index definition
...
...
@@ -724,6 +728,7 @@ public:
*/
void
addColumnName
(
const
char
*
name
);
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
/**
* Add a column name to the index definition
* Note that the order of indexes will be in
...
...
@@ -731,6 +736,7 @@ public:
* Depricated, use addColumnName instead.
*/
void
addIndexColumn
(
const
char
*
name
);
#endif
/**
* Add several column names to the index definition
...
...
@@ -739,6 +745,7 @@ public:
*/
void
addColumnNames
(
unsigned
noOfNames
,
const
char
**
names
);
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
/**
* Add several column names to the index definition
* Note that the order of indexes will be in
...
...
@@ -746,6 +753,7 @@ public:
* Depricated, use addColumnNames instead.
*/
void
addIndexColumns
(
int
noOfNames
,
const
char
**
names
);
#endif
/**
* Represents type of index
...
...
ndb/include/ndbapi/NdbReceiver.hpp
View file @
04caec0b
...
...
@@ -26,14 +26,12 @@ class NdbTransaction;
class
NdbReceiver
{
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
friend
class
Ndb
;
friend
class
NdbOperation
;
friend
class
NdbScanOperation
;
friend
class
NdbIndexOperation
;
friend
class
NdbIndexScanOperation
;
friend
class
NdbTransaction
;
#endif
public:
enum
ReceiverType
{
NDB_UNINITIALIZED
,
NDB_OPERATION
=
1
,
...
...
@@ -147,5 +145,5 @@ NdbReceiver::execSCANOPCONF(Uint32 tcPtrI, Uint32 len, Uint32 rows){
return
(
tmp
==
len
?
1
:
0
);
}
#endif
#endif
// DOXYGEN_SHOULD_SKIP_INTERNAL
#endif
ndb/include/ndbapi/NdbScanOperation.hpp
View file @
04caec0b
...
...
@@ -14,18 +14,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/*****************************************************************************
* Name: NdbScanOperation.hpp
* Include:
* Link:
* Author: Martin Sköld
* Date: 2002-04-01
* Version: 0.1
* Description: Table scan support
* Documentation:
* Adjust: 2002-04-01 Martin Sköld First version.
****************************************************************************/
#ifndef NdbScanOperation_H
#define NdbScanOperation_H
...
...
ndb/include/ndbapi/NdbTransaction.hpp
View file @
04caec0b
...
...
@@ -362,7 +362,9 @@ public:
/**
* Close transaction
*/
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
* @note It is not allowed to call NdbTransaction::close after sending the
* transaction asynchronously before the callback method has
* been called.
...
...
@@ -370,8 +372,8 @@ public:
* outstanding transactions and wait until all of them
* has completed before calling NdbTransaction::close).
* If the transaction is not committed it will be aborted.
#endif
*/
#endif
void
close
();
/**
...
...
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