MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NdbDictionary.java
1 /*
2  Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; version 2 of the License.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 /*
18  * NdbDictionary.java
19  */
20 
21 package com.mysql.ndbjtie.ndbapi;
22 
23 import java.nio.ByteBuffer;
24 
25 import com.mysql.jtie.Wrapper;
26 import com.mysql.jtie.ArrayWrapper;
27 
28 public class NdbDictionary extends Wrapper
29 {
30  static public native NdbDictionary create(); // MMM non-final, support for derivation
31  static public /*_virtual_*/ native void delete(NdbDictionary p0); // MMM non-final, support for derivation
32  public interface ObjectConst
33  {
34  public interface /*_enum_*/ Status
35  {
36  int New = 0 /*__*/,
37  Changed = 1 /*__*/,
38  Retrieved = 2 /*__*/,
39  Invalid = 3 /*__*/,
40  Altered = 4 /*__*/;
41  }
42  /*_virtual_*/ int/*_Status_*/ getObjectStatus() /*_const_*/ /*_= 0_*/;
43  /*_virtual_*/ int getObjectVersion() /*_const_*/ /*_= 0_*/;
44  /*_virtual_*/ int getObjectId() /*_const_*/ /*_= 0_*/;
45  }
46  static public abstract class Object extends Wrapper implements ObjectConst
47  {
48  public /*_virtual_*/ abstract int/*_Status_*/ getObjectStatus() /*_const_*/ /*_= 0_*/;
49  public /*_virtual_*/ abstract int getObjectVersion() /*_const_*/ /*_= 0_*/;
50  public /*_virtual_*/ abstract int getObjectId() /*_const_*/ /*_= 0_*/;
51  // MMM abstract class: static public native Object create(); // MMM non-final, support for derivation
52  static public /*_virtual_*/ native void delete(Object p0); // MMM non-final, support for derivation
53  public interface /*_enum_*/ Type
54  {
55  int TypeUndefined = 0,
56  SystemTable = 1,
57  UserTable = 2,
58  UniqueHashIndex = 3,
59  OrderedIndex = 6,
60  HashIndexTrigger = 7,
61  IndexTrigger = 8,
62  SubscriptionTrigger = 9,
63  ReadOnlyConstraint = 10,
64  TableEvent = 11,
65  Tablespace = 20,
66  LogfileGroup = 21,
67  Datafile = 22,
68  Undofile = 23;
69  }
70  public interface /*_enum_*/ State
71  {
72  int StateUndefined = 0,
73  StateOffline = 1,
74  StateBuilding = 2,
75  StateDropping = 3,
76  StateOnline = 4,
77  StateBackup = 5,
78  StateBroken = 9;
79  }
80  public interface /*_enum_*/ Store
81  {
82  int StoreUndefined = 0,
83  StoreNotLogged = 1,
84  StorePermanent = 2;
85  }
86  public interface /*_enum_*/ FragmentType
87  {
88  int FragUndefined = 0,
89  FragSingle = 1,
90  FragAllSmall = 2,
91  FragAllMedium = 3,
92  FragAllLarge = 4,
93  DistrKeyHash = 5,
94  DistrKeyLin = 6,
95  UserDefined = 7;
96  }
97  }
98  public interface ObjectIdConst extends ObjectConst
99  {
100  /*_virtual_*/ int/*_Status_*/ getObjectStatus() /*_const_*/;
101  /*_virtual_*/ int getObjectVersion() /*_const_*/;
102  /*_virtual_*/ int getObjectId() /*_const_*/;
103  }
104  static public class ObjectId extends Wrapper implements ObjectIdConst
105  {
106  public /*_virtual_*/ native int/*_Status_*/ getObjectStatus() /*_const_*/;
107  public /*_virtual_*/ native int getObjectVersion() /*_const_*/;
108  public /*_virtual_*/ native int getObjectId() /*_const_*/;
109  static public native ObjectId create(); // MMM non-final, support for derivation
110  static public /*_virtual_*/ native void delete(ObjectId p0); // MMM non-final, support for derivation
111  }
112  public interface ColumnConst // MMM does not extend ObjectConst
113  {
114  public interface /*_enum_*/ Type
115  {
116  int Undefined = 0 /*_NDB_TYPE_UNDEFINED_*/,
117  Tinyint = 1 /*_NDB_TYPE_TINYINT_*/,
118  Tinyunsigned = 2 /*_NDB_TYPE_TINYUNSIGNED_*/,
119  Smallint = 3 /*_NDB_TYPE_SMALLINT_*/,
120  Smallunsigned = 4 /*_NDB_TYPE_SMALLUNSIGNED_*/,
121  Mediumint = 5 /*_NDB_TYPE_MEDIUMINT_*/,
122  Mediumunsigned = 6 /*_NDB_TYPE_MEDIUMUNSIGNED_*/,
123  Int = 7 /*_NDB_TYPE_INT_*/,
124  Unsigned = 8 /*_NDB_TYPE_UNSIGNED_*/,
125  Bigint = 9 /*_NDB_TYPE_BIGINT_*/,
126  Bigunsigned = 10 /*_NDB_TYPE_BIGUNSIGNED_*/,
127  Float = 11 /*_NDB_TYPE_FLOAT_*/,
128  Double = 12 /*_NDB_TYPE_DOUBLE_*/,
129  Olddecimal = 13 /*_NDB_TYPE_OLDDECIMAL_*/,
130  Olddecimalunsigned = 28 /*_NDB_TYPE_OLDDECIMALUNSIGNED_*/,
131  Decimal = 29 /*_NDB_TYPE_DECIMAL_*/,
132  Decimalunsigned = 30 /*_NDB_TYPE_DECIMALUNSIGNED_*/,
133  Char = 14 /*_NDB_TYPE_CHAR_*/,
134  Varchar = 15 /*_NDB_TYPE_VARCHAR_*/,
135  Binary = 16 /*_NDB_TYPE_BINARY_*/,
136  Varbinary = 17 /*_NDB_TYPE_VARBINARY_*/,
137  Datetime = 18 /*_NDB_TYPE_DATETIME_*/,
138  Date = 19 /*_NDB_TYPE_DATE_*/,
139  Blob = 20 /*_NDB_TYPE_BLOB_*/,
140  Text = 21 /*_NDB_TYPE_TEXT_*/,
141  Bit = 22 /*_NDB_TYPE_BIT_*/,
142  Longvarchar = 23 /*_NDB_TYPE_LONGVARCHAR_*/,
143  Longvarbinary = 24 /*_NDB_TYPE_LONGVARBINARY_*/,
144  Time = 25 /*_NDB_TYPE_TIME_*/,
145  Year = 26 /*_NDB_TYPE_YEAR_*/,
146  Timestamp = 27 /*_NDB_TYPE_TIMESTAMP_*/;
147  }
148  public interface /*_enum_*/ ArrayType
149  {
150  int ArrayTypeFixed = 0 /*_NDB_ARRAYTYPE_FIXED_*/,
151  ArrayTypeShortVar = 1 /*_NDB_ARRAYTYPE_SHORT_VAR_*/,
152  ArrayTypeMediumVar = 2 /*_NDB_ARRAYTYPE_MEDIUM_VAR_*/;
153  }
154  public interface /*_enum_*/ StorageType
155  {
156  int StorageTypeMemory = 0 /*_NDB_STORAGETYPE_MEMORY_*/,
157  StorageTypeDisk = 1 /*_NDB_STORAGETYPE_DISK_*/;
158  }
159  String/*_const char *_*/ getName() /*_const_*/;
160  boolean getNullable() /*_const_*/;
161  boolean getPrimaryKey() /*_const_*/;
162  int getColumnNo() /*_const_*/;
163  boolean equal(ColumnConst/*_const Column &_*/ column) /*_const_*/;
164  int/*_Type_*/ getType() /*_const_*/;
165  int getPrecision() /*_const_*/;
166  int getScale() /*_const_*/;
167  int getLength() /*_const_*/;
168  // MMM unsupported, opaque MySQL server type, mapped by mysql utilities: CHARSET_INFO * getCharset() /*_const_*/;
169  int getCharsetNumber() /*_const_*/;
170  int getInlineSize() /*_const_*/;
171  int getPartSize() /*_const_*/;
172  int getStripeSize() /*_const_*/;
173  int getSize() /*_const_*/;
174  boolean getPartitionKey() /*_const_*/;
175  int/*_ArrayType_*/ getArrayType() /*_const_*/;
176  int/*_StorageType_*/ getStorageType() /*_const_*/;
177  boolean getDynamic() /*_const_*/;
178  boolean getIndexSourced() /*_const_*/;
179  }
180  static public class Column extends Wrapper implements ColumnConst
181  {
182  public final native String/*_const char *_*/ getName() /*_const_*/;
183  public final native boolean getNullable() /*_const_*/;
184  public final native boolean getPrimaryKey() /*_const_*/;
185  public final native int getColumnNo() /*_const_*/;
186  public final native boolean equal(ColumnConst/*_const Column &_*/ column) /*_const_*/;
187  public final native int/*_Type_*/ getType() /*_const_*/;
188  public final native int getPrecision() /*_const_*/;
189  public final native int getScale() /*_const_*/;
190  public final native int getLength() /*_const_*/;
191  // MMM unsupported, opaque MySQL server type, mapped by mysql utilities: public final native CHARSET_INFO * getCharset() /*_const_*/;
192  public final native int getCharsetNumber() /*_const_*/;
193  public final native int getInlineSize() /*_const_*/;
194  public final native int getPartSize() /*_const_*/;
195  public final native int getStripeSize() /*_const_*/;
196  public final native int getSize() /*_const_*/;
197  public final native boolean getPartitionKey() /*_const_*/;
198  public final native int/*_ArrayType_*/ getArrayType() /*_const_*/;
199  public final native int/*_StorageType_*/ getStorageType() /*_const_*/;
200  public final native boolean getDynamic() /*_const_*/;
201  public final native boolean getIndexSourced() /*_const_*/;
202  static public final native Column create(String/*_const char *_*/ name /*_= ""_*/);
203  static public final native Column create(ColumnConst/*_const Column &_*/ column);
204  static public final native void delete(Column p0);
205  public final native int setName(String/*_const char *_*/ name);
206  public final native void setNullable(boolean p0);
207  public final native void setPrimaryKey(boolean p0);
208  public final native void setType(int/*_Type_*/ type);
209  public final native void setPrecision(int p0);
210  public final native void setScale(int p0);
211  public final native void setLength(int length);
212  // MMM unsupported, opaque MySQL server type, mapped by mysql utilities: public final native void setCharset(CHARSET_INFO * cs);
213  public final native void setInlineSize(int size);
214  public final native void setPartSize(int size);
215  public final native void setStripeSize(int size);
216  public final native void setPartitionKey(boolean enable);
217  public final native void setArrayType(int/*_ArrayType_*/ type);
218  public final native void setStorageType(int/*_StorageType_*/ type);
219  public final native void setDynamic(boolean p0);
220  }
221  public interface TableConst extends ObjectConst
222  {
223  public interface /*_enum_*/ SingleUserMode
224  {
225  int SingleUserModeLocked = 0 /*_NDB_SUM_LOCKED_*/,
226  SingleUserModeReadOnly = 1 /*_NDB_SUM_READONLY_*/,
227  SingleUserModeReadWrite = 2 /*_NDB_SUM_READ_WRITE_*/;
228  }
229  String/*_const char *_*/ getName() /*_const_*/;
230  int getTableId() /*_const_*/;
231  ColumnConst/*_const Column *_*/ getColumn(String/*_const char *_*/ name) /*_const_*/; // MMM nameclash with non-const version
232  ColumnConst/*_const Column *_*/ getColumn(int attributeId) /*_const_*/; // MMM nameclash with non-const version
233  boolean getLogging() /*_const_*/;
234  int/*_FragmentType_*/ getFragmentType() /*_const_*/;
235  int getKValue() /*_const_*/;
236  int getMinLoadFactor() /*_const_*/;
237  int getMaxLoadFactor() /*_const_*/;
238  int getNoOfColumns() /*_const_*/;
239  int getNoOfPrimaryKeys() /*_const_*/;
240  String/*_const char *_*/ getPrimaryKey(int no) /*_const_*/;
241  boolean equal(TableConst/*_const Table &_*/ p0) /*_const_*/;
242  ByteBuffer/*_const void *_*/ getFrmData() /*_const_*/;
243  int/*_Uint32_*/ getFrmLength() /*_const_*/;
244  ByteBuffer/*_const void *_*/ getFragmentData() /*_const_*/;
245  int/*_Uint32_*/ getFragmentDataLen() /*_const_*/;
246  ByteBuffer/*_const void *_*/ getRangeListData() /*_const_*/;
247  int/*_Uint32_*/ getRangeListDataLen() /*_const_*/;
248  NdbRecordConst/*_const NdbRecord *_*/ getDefaultRecord() /*_const_*/;
249  boolean getLinearFlag() /*_const_*/;
250  int/*_Uint32_*/ getFragmentCount() /*_const_*/;
251  String/*_const char *_*/ getTablespaceName() /*_const_*/;
252  boolean getTablespace(int[]/*_Uint32 *_*/ id /*_= 0_*/, int[]/*_Uint32 *_*/ version /*_= 0_*/) /*_const_*/;
253  // MMM declared but not implemented in NDBAPI: int/*_Object.Type_*/ getObjectType() /*_const_*/;
254  /*_virtual_*/ int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
255  void setStatusInvalid() /*_const_*/;
256  /*_virtual_*/ int getObjectVersion() /*_const_*/;
257  int/*_Uint32_*/ getDefaultNoPartitionsFlag() /*_const_*/;
258  /*_virtual_*/ int getObjectId() /*_const_*/;
259  long/*_Uint64_*/ getMaxRows() /*_const_*/;
260  long/*_Uint64_*/ getMinRows() /*_const_*/;
261  int/*_SingleUserMode_*/ getSingleUserMode() /*_const_*/;
262  boolean getRowGCIIndicator() /*_const_*/;
263  boolean getRowChecksumIndicator() /*_const_*/;
264  int/*_Uint32_*/ getPartitionId(int/*_Uint32_*/ hashvalue) /*_const_*/;
265  }
266  static public class Table extends Object implements TableConst
267  {
268  public final native String/*_const char *_*/ getName() /*_const_*/;
269  public final native int getTableId() /*_const_*/;
270  public final native ColumnConst/*_const Column *_*/ getColumn(String/*_const char *_*/ name) /*_const_*/; // MMM nameclash with non-const version
271  public final native ColumnConst/*_const Column *_*/ getColumn(int attributeId) /*_const_*/; // MMM nameclash with non-const version
272  public final native boolean getLogging() /*_const_*/;
273  public final native int/*_FragmentType_*/ getFragmentType() /*_const_*/;
274  public final native int getKValue() /*_const_*/;
275  public final native int getMinLoadFactor() /*_const_*/;
276  public final native int getMaxLoadFactor() /*_const_*/;
277  public final native int getNoOfColumns() /*_const_*/;
278  public final native int getNoOfPrimaryKeys() /*_const_*/;
279  public final native String/*_const char *_*/ getPrimaryKey(int no) /*_const_*/;
280  public final native boolean equal(TableConst/*_const Table &_*/ p0) /*_const_*/;
281  public final native ByteBuffer/*_const void *_*/ getFrmData() /*_const_*/;
282  public final native int/*_Uint32_*/ getFrmLength() /*_const_*/;
283  public final native ByteBuffer/*_const void *_*/ getFragmentData() /*_const_*/;
284  public final native int/*_Uint32_*/ getFragmentDataLen() /*_const_*/;
285  public final native ByteBuffer/*_const void *_*/ getRangeListData() /*_const_*/;
286  public final native int/*_Uint32_*/ getRangeListDataLen() /*_const_*/;
287  public final native NdbRecordConst/*_const NdbRecord *_*/ getDefaultRecord() /*_const_*/;
288  public final native boolean getLinearFlag() /*_const_*/;
289  public final native int/*_Uint32_*/ getFragmentCount() /*_const_*/;
290  public final native String/*_const char *_*/ getTablespaceName() /*_const_*/;
291  public final native boolean getTablespace(int[]/*_Uint32 *_*/ id /*_= 0_*/, int[]/*_Uint32 *_*/ version /*_= 0_*/) /*_const_*/;
292  // MMM declared but not implemented in NDBAPI: public final native int/*_Object.Type_*/ getObjectType() /*_const_*/;
293  public /*_virtual_*/ native int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
294  public final native void setStatusInvalid() /*_const_*/;
295  public /*_virtual_*/ native int getObjectVersion() /*_const_*/;
296  public final native int/*_Uint32_*/ getDefaultNoPartitionsFlag() /*_const_*/;
297  public /*_virtual_*/ native int getObjectId() /*_const_*/;
298  public final native long/*_Uint64_*/ getMaxRows() /*_const_*/;
299  public final native long/*_Uint64_*/ getMinRows() /*_const_*/;
300  public final native int/*_SingleUserMode_*/ getSingleUserMode() /*_const_*/;
301  public final native boolean getRowGCIIndicator() /*_const_*/;
302  public final native boolean getRowChecksumIndicator() /*_const_*/;
303  public final native int/*_Uint32_*/ getPartitionId(int/*_Uint32_*/ hashvalue) /*_const_*/;
304  static public native Table create(String/*_const char *_*/ name /*_= ""_*/); // MMM non-final, support for derivation
305  static public native Table create(TableConst/*_const Table &_*/ table); // MMM non-final, support for derivation
306  static public /*_virtual_*/ native void delete(Table p0); // MMM non-final, support for derivation
307  // public final native Table & operator= (const Table & table); // MMM no need to map assignment operator to Java
308  public final native Column/*_Column *_*/ getColumnM(int attributeId); // MMM renamed due to nameclash with const version
309  public final native Column/*_Column *_*/ getColumnM(String/*_const char *_*/ name); // MMM renamed due to nameclash with const version
310  public final native int setName(String/*_const char *_*/ name);
311  public final native int addColumn(ColumnConst/*_const Column &_*/ p0);
312  public final native void setLogging(boolean p0);
313  public final native void setLinearFlag(int/*_Uint32_*/ flag);
314  public final native void setFragmentCount(int/*_Uint32_*/ p0);
315  public final native void setFragmentType(int/*_FragmentType_*/ p0);
316  public final native void setKValue(int kValue);
317  public final native void setMinLoadFactor(int p0);
318  public final native void setMaxLoadFactor(int p0);
319  public final native int setTablespaceName(String/*_const char *_*/ name);
320  public final native int setTablespace(TablespaceConst/*_const Tablespace &_*/ p0);
321  public final native void setDefaultNoPartitionsFlag(int/*_Uint32_*/ indicator);
322  public final native int setFrm(ByteBuffer/*_const void *_*/ data, int/*_Uint32_*/ len);
323  public final native int setFragmentData(ByteBuffer/*_const void *_*/ data, int/*_Uint32_*/ len);
324  public final native int setRangeListData(ByteBuffer/*_const void *_*/ data, int/*_Uint32_*/ len);
325  // MMM declared but not implemented in NDBAPI: public final native void setObjectType(int/*_Object.Type_*/ type);
326  public final native void setMaxRows(long/*_Uint64_*/ maxRows);
327  public final native void setMinRows(long/*_Uint64_*/ minRows);
328  public final native void setSingleUserMode(int/*_SingleUserMode_*/ p0);
329  public final native void setRowGCIIndicator(boolean value);
330  public final native void setRowChecksumIndicator(boolean value);
331  public final native int aggregate(NdbError/*_NdbError &_*/ error);
332  public final native int validate(NdbError/*_NdbError &_*/ error);
333  }
334  public interface IndexConst extends ObjectConst
335  {
336  public interface /*_enum_*/ Type
337  {
338  int Undefined = 0,
339  UniqueHashIndex = 3,
340  OrderedIndex = 6;
341  }
342  String/*_const char *_*/ getName() /*_const_*/;
343  String/*_const char *_*/ getTable() /*_const_*/;
344  int/*_unsigned_*/ getNoOfColumns() /*_const_*/;
345  ColumnConst/*_const Column *_*/ getColumn(int/*_unsigned_*/ no) /*_const_*/;
346  int/*_Type_*/ getType() /*_const_*/; // MMM type nameclash, meant Index.Type
347  boolean getLogging() /*_const_*/;
348  /*_virtual_*/ int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
349  /*_virtual_*/ int getObjectVersion() /*_const_*/;
350  /*_virtual_*/ int getObjectId() /*_const_*/;
351  NdbRecordConst/*_const NdbRecord *_*/ getDefaultRecord() /*_const_*/;
352  }
353  static public class Index extends Object implements IndexConst
354  {
355  public final native String/*_const char *_*/ getName() /*_const_*/;
356  public final native String/*_const char *_*/ getTable() /*_const_*/;
357  public final native int/*_unsigned_*/ getNoOfColumns() /*_const_*/;
358  public final native ColumnConst/*_const Column *_*/ getColumn(int/*_unsigned_*/ no) /*_const_*/;
359  public final native int/*_Type_*/ getType() /*_const_*/; // MMM type nameclash, meant Index.Type
360  public final native boolean getLogging() /*_const_*/;
361  public /*_virtual_*/ native int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
362  public /*_virtual_*/ native int getObjectVersion() /*_const_*/;
363  public /*_virtual_*/ native int getObjectId() /*_const_*/;
364  public final native NdbRecordConst/*_const NdbRecord *_*/ getDefaultRecord() /*_const_*/;
365  static public native Index create(String/*_const char *_*/ name /*_= ""_*/); // MMM non-final, support for derivation
366  static public /*_virtual_*/ native void delete(Index p0); // MMM non-final, support for derivation
367  public final native int setName(String/*_const char *_*/ name);
368  public final native int setTable(String/*_const char *_*/ name);
369  public final native int addColumn(ColumnConst/*_const Column &_*/ c);
370  public final native int addColumnName(String/*_const char *_*/ name);
371  // MMM! support <in:String[]>: public final native int addColumnNames(int/*_unsigned_*/ noOfNames, String[]/*_const char * *_*/ names);
372  public final native void setType(int/*_Type_*/ type); // MMM type nameclash, meant Index.Type
373  public final native void setLogging(boolean enable);
374  }
375  static public class OptimizeTableHandle extends Wrapper
376  {
377  static public final native OptimizeTableHandle create();
378  static public final native void delete(OptimizeTableHandle p0);
379  public final native int next();
380  public final native int close();
381  }
382  static public class OptimizeIndexHandle extends Wrapper
383  {
384  static public final native OptimizeIndexHandle create();
385  static public final native void delete(OptimizeIndexHandle p0);
386  public final native int next();
387  public final native int close();
388  }
389  public interface EventConst extends ObjectConst
390  {
391  public interface /*_enum_*/ TableEvent
392  {
393  int TE_INSERT = 1<<0,
394  TE_DELETE = 1<<1,
395  TE_UPDATE = 1<<2,
396  TE_DROP = 1<<4,
397  TE_ALTER = 1<<5,
398  TE_CREATE = 1<<6,
399  TE_GCP_COMPLETE = 1<<7,
400  TE_CLUSTER_FAILURE = 1<<8,
401  TE_STOP = 1<<9,
402  TE_NODE_FAILURE = 1<<10,
403  TE_SUBSCRIBE = 1<<11,
404  TE_UNSUBSCRIBE = 1<<12,
405  TE_ALL = 0xFFFF;
406  }
407  public interface /*_enum_*/ EventDurability
408  {
409  int ED_UNDEFINED = 0,
410  ED_PERMANENT = 3;
411  }
412  public interface /*_enum_*/ EventReport
413  {
414  int ER_UPDATED = 0,
415  ER_ALL = 1,
416  ER_SUBSCRIBE = 2;
417  }
418  String/*_const char *_*/ getName() /*_const_*/;
419  NdbDictionary.TableConst/*_const NdbDictionary.Table *_*/ getTable() /*_const_*/;
420  String/*_const char *_*/ getTableName() /*_const_*/;
421  boolean getTableEvent(int/*_const TableEvent_*/ te) /*_const_*/;
422  int/*_EventDurability_*/ getDurability() /*_const_*/;
423  int/*_EventReport_*/ getReport() /*_const_*/;
424  int getNoOfEventColumns() /*_const_*/;
425  ColumnConst/*_const Column *_*/ getEventColumn(int/*_unsigned_*/ no) /*_const_*/;
426  /*_virtual_*/ int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
427  /*_virtual_*/ int getObjectVersion() /*_const_*/;
428  /*_virtual_*/ int getObjectId() /*_const_*/;
429  }
430  static public class Event extends Object implements EventConst
431  {
432  public final native String/*_const char *_*/ getName() /*_const_*/;
433  public final native NdbDictionary.TableConst/*_const NdbDictionary.Table *_*/ getTable() /*_const_*/;
434  public final native String/*_const char *_*/ getTableName() /*_const_*/;
435  public final native boolean getTableEvent(int/*_const TableEvent_*/ te) /*_const_*/;
436  public final native int/*_EventDurability_*/ getDurability() /*_const_*/;
437  public final native int/*_EventReport_*/ getReport() /*_const_*/;
438  public final native int getNoOfEventColumns() /*_const_*/;
439  public final native ColumnConst/*_const Column *_*/ getEventColumn(int/*_unsigned_*/ no) /*_const_*/;
440  public /*_virtual_*/ native int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
441  public /*_virtual_*/ native int getObjectVersion() /*_const_*/;
442  public /*_virtual_*/ native int getObjectId() /*_const_*/;
443  static public native Event create(String/*_const char *_*/ name); // MMM non-final, support for derivation
444  static public native Event create(String/*_const char *_*/ name, NdbDictionary.TableConst/*_const NdbDictionary.Table &_*/ table); // MMM non-final, support for derivation
445  static public /*_virtual_*/ native void delete(Event p0); // MMM non-final, support for derivation
446  public final native int setName(String/*_const char *_*/ name);
447  public final native void setTable(NdbDictionary.TableConst/*_const NdbDictionary.Table &_*/ table);
448  public final native int setTable(String/*_const char *_*/ tableName);
449  public final native void addTableEvent(int/*_const TableEvent_*/ te);
450  public final native void setDurability(int/*_EventDurability_*/ p0);
451  public final native void setReport(int/*_EventReport_*/ p0);
452  public final native void addEventColumn(int/*_unsigned_*/ attrId);
453  public final native void addEventColumn(String/*_const char *_*/ columnName);
454  // MMM! support <in:String[]>: public final native void addEventColumns(int n, String[]/*_const char * *_*/ columnNames);
455  public final native void mergeEvents(boolean flag);
456  }
457  public interface /*_enum_*/ NdbRecordFlags
458  {
459  int RecMysqldShrinkVarchar = 0x1,
460  RecMysqldBitfield = 0x2;
461  }
462  static public interface RecordSpecificationConstArray extends ArrayWrapper< RecordSpecificationConst >
463  {
464  }
465  static public class RecordSpecificationArray extends Wrapper implements RecordSpecificationConstArray
466  {
467  static public native RecordSpecificationArray create(int length);
468  static public native void delete(RecordSpecificationArray e);
469  public native RecordSpecification at(int i);
470  }
471  public interface /*_struct_*/ RecordSpecificationConst
472  {
473  ColumnConst/*_const Column *_*/ column();
474  int/*_Uint32_*/ offset();
475  int/*_Uint32_*/ nullbit_byte_offset();
476  int/*_Uint32_*/ nullbit_bit_in_byte();
477  }
478  static public class /*_struct_*/ RecordSpecification extends Wrapper implements RecordSpecificationConst
479  {
480  public final native ColumnConst/*_const Column *_*/ column();
481  public final native int/*_Uint32_*/ offset();
482  public final native int/*_Uint32_*/ nullbit_byte_offset();
483  public final native int/*_Uint32_*/ nullbit_bit_in_byte();
484  public final native void column(ColumnConst/*_const Column *_*/ p0);
485  public final native void offset(int/*_Uint32_*/ p0);
486  public final native void nullbit_byte_offset(int/*_Uint32_*/ p0);
487  public final native void nullbit_bit_in_byte(int/*_Uint32_*/ p0);
488  static public final native RecordSpecification create();
489  static public final native void delete(RecordSpecification p0);
490  }
491  public interface /*_enum_*/ RecordType
492  {
493  int TableAccess = 0 /*__*/,
494  IndexAccess = 1 /*__*/;
495  }
496  static public final native int/*_RecordType_*/ getRecordType(NdbRecordConst/*_const NdbRecord *_*/ record);
497  static public final native String/*_const char *_*/ getRecordTableName(NdbRecordConst/*_const NdbRecord *_*/ record);
498  static public final native String/*_const char *_*/ getRecordIndexName(NdbRecordConst/*_const NdbRecord *_*/ record);
499  static public final native boolean getFirstAttrId(NdbRecordConst/*_const NdbRecord *_*/ record, int[]/*_Uint32 &_*/ firstAttrId);
500  static public final native boolean getNextAttrId(NdbRecordConst/*_const NdbRecord *_*/ record, int[]/*_Uint32 &_*/ attrId);
501  static public final native boolean getOffset(NdbRecordConst/*_const NdbRecord *_*/ record, int/*_Uint32_*/ attrId, int[]/*_Uint32 &_*/ offset);
502  static public final native boolean getNullBitOffset(NdbRecordConst/*_const NdbRecord *_*/ record, int/*_Uint32_*/ attrId, int[]/*_Uint32 &_*/ nullbit_byte_offset, int[]/*_Uint32 &_*/ nullbit_bit_in_byte);
503  static public final native String/*_const char *_*/ getValuePtr(NdbRecordConst/*_const NdbRecord *_*/ record, String/*_const char *_*/ row, int/*_Uint32_*/ attrId);
504  // MMM! support <out:BB> or check if needed: static public final native char * getValuePtr(NdbRecordConst/*_const NdbRecord *_*/ record, char * row, int/*_Uint32_*/ attrId);
505  static public final native boolean isNull(NdbRecordConst/*_const NdbRecord *_*/ record, String/*_const char *_*/ row, int/*_Uint32_*/ attrId);
506  static public final native int setNull(NdbRecordConst/*_const NdbRecord *_*/ record, ByteBuffer/*_char *_*/ row, int/*_Uint32_*/ attrId, boolean value);
507  static public final native int/*_Uint32_*/ getRecordRowLength(NdbRecordConst/*_const NdbRecord *_*/ record);
508  // MMM convenience function, marked with NDBAPI_SKIP: static public final native const unsigned char * getEmptyBitmask();
509  public interface /*_struct_*/ AutoGrowSpecificationConst
510  {
511  int/*_Uint32_*/ min_free();
512  long/*_Uint64_*/ max_size();
513  long/*_Uint64_*/ file_size();
514  String/*_const char *_*/ filename_pattern();
515  }
516  static public class /*_struct_*/ AutoGrowSpecification extends Wrapper implements AutoGrowSpecificationConst
517  {
518  public final native int/*_Uint32_*/ min_free();
519  public final native long/*_Uint64_*/ max_size();
520  public final native long/*_Uint64_*/ file_size();
521  public final native String/*_const char *_*/ filename_pattern();
522  public final native void min_free(int/*_Uint32_*/ p0);
523  public final native void max_size(long/*_Uint64_*/ p0);
524  public final native void file_size(long/*_Uint64_*/ p0);
525  public final native void filename_pattern(String/*_const char *_*/ p0);
526  static public final native AutoGrowSpecification create();
527  static public final native void delete(AutoGrowSpecification p0);
528  }
529  public interface LogfileGroupConst extends ObjectConst
530  {
531  String/*_const char *_*/ getName() /*_const_*/;
532  int/*_Uint32_*/ getUndoBufferSize() /*_const_*/;
533  AutoGrowSpecificationConst/*_const AutoGrowSpecification &_*/ getAutoGrowSpecification() /*_const_*/;
534  long/*_Uint64_*/ getUndoFreeWords() /*_const_*/;
535  /*_virtual_*/ int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
536  /*_virtual_*/ int getObjectVersion() /*_const_*/;
537  /*_virtual_*/ int getObjectId() /*_const_*/;
538  }
539  static public class LogfileGroup extends Object implements LogfileGroupConst
540  {
541  public final native String/*_const char *_*/ getName() /*_const_*/;
542  public final native int/*_Uint32_*/ getUndoBufferSize() /*_const_*/;
543  public final native AutoGrowSpecificationConst/*_const AutoGrowSpecification &_*/ getAutoGrowSpecification() /*_const_*/;
544  public final native long/*_Uint64_*/ getUndoFreeWords() /*_const_*/;
545  public /*_virtual_*/ native int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
546  public /*_virtual_*/ native int getObjectVersion() /*_const_*/;
547  public /*_virtual_*/ native int getObjectId() /*_const_*/;
548  static public native LogfileGroup create(); // MMM non-final, support for derivation
549  static public native LogfileGroup create(LogfileGroupConst/*_const LogfileGroup &_*/ p0); // MMM non-final, support for derivation
550  static public /*_virtual_*/ native void delete(LogfileGroup p0); // MMM non-final, support for derivation
551  public final native void setName(String/*_const char *_*/ name);
552  public final native void setUndoBufferSize(int/*_Uint32_*/ sz);
553  public final native void setAutoGrowSpecification(AutoGrowSpecificationConst/*_const AutoGrowSpecification &_*/ p0);
554  }
555  public interface TablespaceConst extends ObjectConst
556  {
557  String/*_const char *_*/ getName() /*_const_*/;
558  int/*_Uint32_*/ getExtentSize() /*_const_*/;
559  AutoGrowSpecificationConst/*_const AutoGrowSpecification &_*/ getAutoGrowSpecification() /*_const_*/;
560  String/*_const char *_*/ getDefaultLogfileGroup() /*_const_*/;
561  int/*_Uint32_*/ getDefaultLogfileGroupId() /*_const_*/;
562  /*_virtual_*/ int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
563  /*_virtual_*/ int getObjectVersion() /*_const_*/;
564  /*_virtual_*/ int getObjectId() /*_const_*/;
565  }
566  static public class Tablespace extends Object implements TablespaceConst
567  {
568  public final native String/*_const char *_*/ getName() /*_const_*/;
569  public final native int/*_Uint32_*/ getExtentSize() /*_const_*/;
570  public final native AutoGrowSpecificationConst/*_const AutoGrowSpecification &_*/ getAutoGrowSpecification() /*_const_*/;
571  public final native String/*_const char *_*/ getDefaultLogfileGroup() /*_const_*/;
572  public final native int/*_Uint32_*/ getDefaultLogfileGroupId() /*_const_*/;
573  public /*_virtual_*/ native int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
574  public /*_virtual_*/ native int getObjectVersion() /*_const_*/;
575  public /*_virtual_*/ native int getObjectId() /*_const_*/;
576  static public native Tablespace create(); // MMM non-final, support for derivation
577  static public native Tablespace create(TablespaceConst/*_const Tablespace &_*/ p0); // MMM non-final, support for derivation
578  static public /*_virtual_*/ native void delete(Tablespace p0); // MMM non-final, support for derivation
579  public final native void setName(String/*_const char *_*/ name);
580  public final native void setExtentSize(int/*_Uint32_*/ sz);
581  public final native void setAutoGrowSpecification(AutoGrowSpecificationConst/*_const AutoGrowSpecification &_*/ p0);
582  public final native void setDefaultLogfileGroup(String/*_const char *_*/ name);
583  public final native void setDefaultLogfileGroup(LogfileGroupConst/*_const LogfileGroup &_*/ p0);
584  }
585  public interface DatafileConst extends ObjectConst
586  {
587  String/*_const char *_*/ getPath() /*_const_*/;
588  long/*_Uint64_*/ getSize() /*_const_*/;
589  long/*_Uint64_*/ getFree() /*_const_*/;
590  String/*_const char *_*/ getTablespace() /*_const_*/;
591  void getTablespaceId(ObjectId/*_ObjectId *_*/ dst) /*_const_*/;
592  // MMM declared but not implemented in NDBAPI: int/*_Uint32_*/ getNode() /*_const_*/;
593  // MMM declared but not implemented in NDBAPI: int/*_Uint32_*/ getFileNo() /*_const_*/;
594  /*_virtual_*/ int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
595  /*_virtual_*/ int getObjectVersion() /*_const_*/;
596  /*_virtual_*/ int getObjectId() /*_const_*/;
597  }
598  static public class Datafile extends Object implements DatafileConst
599  {
600  public final native String/*_const char *_*/ getPath() /*_const_*/;
601  public final native long/*_Uint64_*/ getSize() /*_const_*/;
602  public final native long/*_Uint64_*/ getFree() /*_const_*/;
603  public final native String/*_const char *_*/ getTablespace() /*_const_*/;
604  public final native void getTablespaceId(ObjectId/*_ObjectId *_*/ dst) /*_const_*/;
605  // MMM declared but not implemented in NDBAPI: public final native int/*_Uint32_*/ getNode() /*_const_*/;
606  // MMM declared but not implemented in NDBAPI: public final native int/*_Uint32_*/ getFileNo() /*_const_*/;
607  public /*_virtual_*/ native int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
608  public /*_virtual_*/ native int getObjectVersion() /*_const_*/;
609  public /*_virtual_*/ native int getObjectId() /*_const_*/;
610  static public native Datafile create(); // MMM non-final, support for derivation
611  static public native Datafile create(DatafileConst/*_const Datafile &_*/ p0); // MMM non-final, support for derivation
612  static public /*_virtual_*/ native void delete(Datafile p0); // MMM non-final, support for derivation
613  public final native void setPath(String/*_const char *_*/ name);
614  public final native void setSize(long/*_Uint64_*/ p0);
615  public final native int setTablespace(String/*_const char *_*/ name);
616  public final native int setTablespace(TablespaceConst/*_const Tablespace &_*/ p0);
617  // MMM declared but not implemented in NDBAPI: public final native void setNode(int/*_Uint32_*/ nodeId);
618  }
619  public interface UndofileConst extends ObjectConst
620  {
621  String/*_const char *_*/ getPath() /*_const_*/;
622  long/*_Uint64_*/ getSize() /*_const_*/;
623  String/*_const char *_*/ getLogfileGroup() /*_const_*/;
624  void getLogfileGroupId(ObjectId/*_ObjectId *_*/ dst) /*_const_*/;
625  // MMM declared but not implemented in NDBAPI: int/*_Uint32_*/ getNode() /*_const_*/;
626  // MMM declared but not implemented in NDBAPI: int/*_Uint32_*/ getFileNo() /*_const_*/;
627  /*_virtual_*/ int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
628  /*_virtual_*/ int getObjectVersion() /*_const_*/;
629  /*_virtual_*/ int getObjectId() /*_const_*/;
630  }
631  static public class Undofile extends Object implements UndofileConst
632  {
633  public final native String/*_const char *_*/ getPath() /*_const_*/;
634  public final native long/*_Uint64_*/ getSize() /*_const_*/;
635  public final native String/*_const char *_*/ getLogfileGroup() /*_const_*/;
636  public final native void getLogfileGroupId(ObjectId/*_ObjectId *_*/ dst) /*_const_*/;
637  // MMM declared but not implemented in NDBAPI: public final native int/*_Uint32_*/ getNode() /*_const_*/;
638  // MMM declared but not implemented in NDBAPI: public final native int/*_Uint32_*/ getFileNo() /*_const_*/;
639  public /*_virtual_*/ native int/*_Object.Status_*/ getObjectStatus() /*_const_*/;
640  public /*_virtual_*/ native int getObjectVersion() /*_const_*/;
641  public /*_virtual_*/ native int getObjectId() /*_const_*/;
642  static public native Undofile create(); // MMM non-final, support for derivation
643  static public native Undofile create(UndofileConst/*_const Undofile &_*/ p0); // MMM non-final, support for derivation
644  static public /*_virtual_*/ native void delete(Undofile p0); // MMM non-final, support for derivation
645  public final native void setPath(String/*_const char *_*/ path);
646  public final native void setSize(long/*_Uint64_*/ p0);
647  public final native void setLogfileGroup(String/*_const char *_*/ name);
648  public final native void setLogfileGroup(LogfileGroupConst/*_const LogfileGroup &_*/ p0);
649  // MMM declared but not implemented in NDBAPI: public final native void setNode(int/*_Uint32_*/ nodeId);
650  }
651  public interface DictionaryConst
652  {
653  public interface /*_struct_*/ ListConst
654  {
655  static public interface ElementConstArray extends ArrayWrapper< ElementConst >
656  {
657  }
658  static public class ElementArray extends Wrapper implements ElementConstArray
659  {
660  static public native ElementArray create(int length);
661  static public native void delete(ElementArray e);
662  public native Element at(int i);
663  }
664  public interface /*_struct_*/ ElementConst
665  {
666  int/*_unsigned_*/ id();
667  int/*_Object.Type_*/ type();
668  int/*_Object.State_*/ state();
669  int/*_Object.Store_*/ store();
670  int/*_Uint32_*/ temp();
671  String/*_char *_*/ database(); // MMM confirmed as null-terminated C string
672  String/*_char *_*/ schema(); // MMM confirmed as null-terminated C string
673  String/*_char *_*/ name(); // MMM confirmed as null-terminated C string
674  }
675  static public class /*_struct_*/ Element extends Wrapper implements ElementConst
676  {
677  public final native int/*_unsigned_*/ id();
678  public final native int/*_Object.Type_*/ type();
679  public final native int/*_Object.State_*/ state();
680  public final native int/*_Object.Store_*/ store();
681  public final native int/*_Uint32_*/ temp();
682  public final native String/*_char *_*/ database(); // MMM confirmed as null-terminated C string
683  public final native String/*_char *_*/ schema(); // MMM confirmed as null-terminated C string
684  public final native String/*_char *_*/ name(); // MMM confirmed as null-terminated C string
685  public final native void id(int/*_unsigned_*/ p0);
686  public final native void type(int/*_Object.Type_*/ p0);
687  public final native void state(int/*_Object.State_*/ p0);
688  public final native void store(int/*_Object.Store_*/ p0);
689  public final native void temp(int/*_Uint32_*/ p0);
690  // MMM unsupported mapping <in:String->char*> (and questionable NDBAPI usage): public final native void database(String/*_char *_*/ p0);
691  // MMM unsupported mapping <in:String->char*> (and questionable NDBAPI usage): public final native void schema(String/*_char *_*/ p0);
692  // MMM unsupported mapping <in:String->char*> (and questionable NDBAPI usage): public final native void name(String/*_char *_*/ p0);
693  static public final native Element create();
694  static public final native void delete(Element p0);
695  }
696  int/*_unsigned_*/ count();
697  ElementArray/*_Element *_*/ elements();
698  }
699  static public class /*_struct_*/ List extends Wrapper implements ListConst
700  {
701  public final native int/*_unsigned_*/ count();
702  public final native ElementArray/*_Element *_*/ elements();
703  public final native void count(int/*_unsigned_*/ p0);
704  public final native void elements(ElementArray/*_Element *_*/ p0);
705  static public final native List create();
706  static public final native void delete(List p0);
707  }
708  int listObjects(List/*_List &_*/ list, int/*_Object.Type_*/ type /*_= Object.TypeUndefined_*/) /*_const_*/;
709  NdbErrorConst/*_const NdbError &_*/ getNdbError() /*_const_*/;
710  TableConst/*_const Table *_*/ getTable(String/*_const char *_*/ name) /*_const_*/;
711  IndexConst/*_const Index *_*/ getIndex(String/*_const char *_*/ indexName, String/*_const char *_*/ tableName) /*_const_*/;
712  int listIndexes(List/*_List &_*/ list, String/*_const char *_*/ tableName) /*_const_*/;
713  int listEvents(List/*_List &_*/ list) /*_const_*/;
714  }
715  static public class Dictionary extends Wrapper implements DictionaryConst
716  {
717  public final native int listObjects(List/*_List &_*/ list, int/*_Object.Type_*/ type /*_= Object.TypeUndefined_*/) /*_const_*/;
718  public final native NdbErrorConst/*_const NdbError &_*/ getNdbError() /*_const_*/;
719  public final native TableConst/*_const Table *_*/ getTable(String/*_const char *_*/ name) /*_const_*/;
720  public final native IndexConst/*_const Index *_*/ getIndex(String/*_const char *_*/ indexName, String/*_const char *_*/ tableName) /*_const_*/;
721  public final native int listIndexes(List/*_List &_*/ list, String/*_const char *_*/ tableName) /*_const_*/;
722  public final native int listEvents(List/*_List &_*/ list) /*_const_*/;
723  public final native int createEvent(EventConst/*_const Event &_*/ event);
724  public final native int dropEvent(String/*_const char *_*/ eventName, int force /*_= 0_*/);
725  public final native EventConst/*_const Event *_*/ getEvent(String/*_const char *_*/ eventName);
726  public final native int createTable(TableConst/*_const Table &_*/ table);
727  public final native int optimizeTable(TableConst/*_const Table &_*/ t, OptimizeTableHandle/*_OptimizeTableHandle &_*/ h);
728  public final native int optimizeIndex(IndexConst/*_const Index &_*/ ind, OptimizeIndexHandle/*_OptimizeIndexHandle &_*/ h);
729  public final native int dropTable(Table/*_Table &_*/ table);
730  public final native int dropTable(String/*_const char *_*/ name);
731  public final native boolean supportedAlterTable(TableConst/*_const Table &_*/ f, TableConst/*_const Table &_*/ t);
732  public final native void removeCachedTable(String/*_const char *_*/ table);
733  public final native void removeCachedIndex(String/*_const char *_*/ index, String/*_const char *_*/ table);
734  public final native int createIndex(IndexConst/*_const Index &_*/ index, boolean offline /*_= false_*/);
735  public final native int createIndex(IndexConst/*_const Index &_*/ index, TableConst/*_const Table &_*/ table, boolean offline /*_= false_*/);
736  public final native int dropIndex(String/*_const char *_*/ indexName, String/*_const char *_*/ tableName);
737  public final native int createLogfileGroup(LogfileGroupConst/*_const LogfileGroup &_*/ p0, ObjectId/*_ObjectId *_*/ p1 /*_= 0_*/);
738  public final native int dropLogfileGroup(LogfileGroupConst/*_const LogfileGroup &_*/ p0);
739  // MMM object-copy returns not supported: public final native LogfileGroup getLogfileGroup(String/*_const char *_*/ name);
740  public final native int createTablespace(TablespaceConst/*_const Tablespace &_*/ p0, ObjectId/*_ObjectId *_*/ p1 /*_= 0_*/);
741  public final native int dropTablespace(TablespaceConst/*_const Tablespace &_*/ p0);
742  // MMM object-copy returns not supported: public final native Tablespace getTablespace(String/*_const char *_*/ name);
743  // MMM object-copy returns not supported: public final native Tablespace getTablespace(int/*_Uint32_*/ tablespaceId);
744  public final native int createDatafile(DatafileConst/*_const Datafile &_*/ p0, boolean overwrite_existing /*_= false_*/, ObjectId/*_ObjectId *_*/ p1 /*_= 0_*/);
745  public final native int dropDatafile(DatafileConst/*_const Datafile &_*/ p0);
746  // MMM object-copy returns not supported: public final native Datafile getDatafile(int/*_Uint32_*/ node, String/*_const char *_*/ path);
747  public final native int createUndofile(UndofileConst/*_const Undofile &_*/ p0, boolean overwrite_existing /*_= false_*/, ObjectId/*_ObjectId *_*/ p1 /*_= 0_*/);
748  public final native int dropUndofile(UndofileConst/*_const Undofile &_*/ p0);
749  // MMM object-copy returns not supported: public final native Undofile getUndofile(int/*_Uint32_*/ node, String/*_const char *_*/ path);
750  public final native NdbRecord/*_NdbRecord *_*/ createRecord(TableConst/*_const Table *_*/ table, RecordSpecificationConstArray/*_const RecordSpecification *_*/ recSpec, int/*_Uint32_*/ length, int/*_Uint32_*/ elemSize, int/*_Uint32_*/ flags /*_= 0_*/);
751  public final native NdbRecord/*_NdbRecord *_*/ createRecord(IndexConst/*_const Index *_*/ index, TableConst/*_const Table *_*/ table, RecordSpecificationConstArray/*_const RecordSpecification *_*/ recSpec, int/*_Uint32_*/ length, int/*_Uint32_*/ elemSize, int/*_Uint32_*/ flags /*_= 0_*/);
752  public final native NdbRecord/*_NdbRecord *_*/ createRecord(IndexConst/*_const Index *_*/ index, RecordSpecificationConstArray/*_const RecordSpecification *_*/ recSpec, int/*_Uint32_*/ length, int/*_Uint32_*/ elemSize, int/*_Uint32_*/ flags /*_= 0_*/);
753  public final native void releaseRecord(NdbRecord/*_NdbRecord *_*/ rec);
754  }
755 }