21 package com.mysql.ndbjtie.ndbapi;
23 import java.nio.ByteBuffer;
25 import com.mysql.jtie.Wrapper;
26 import com.mysql.jtie.ArrayWrapper;
30 public final native
String getDatabaseName() ;
31 public final native
String getDatabaseSchemaName() ;
32 public final native
NdbDictionary.Dictionary getDictionary() ;
34 public final native
String getNdbErrorDetail(
NdbErrorConst err, ByteBuffer buff,
int buffLen) ;
36 static public final native
void delete(
Ndb p0);
37 public final native
int setDatabaseName(
String aDatabaseName);
38 public final native
int setDatabaseSchemaName(
String aDatabaseSchemaName);
39 public final native
int init(
int maxNoOfTransactions );
42 public final native
int pollEvents(
int aMillisecondNumber,
long[] latestGCI );
44 public final native
boolean isConsistent(
long[] gci);
45 public final native
boolean isConsistentGCI(
long gci);
48 static public interface Key_part_ptrConstArray
extends ArrayWrapper< Key_part_ptrConst >
51 static public class Key_part_ptrArray
extends Wrapper implements Key_part_ptrConstArray
53 static public native Key_part_ptrArray create(
int length);
54 static public native
void delete(Key_part_ptrArray e);
55 public native Key_part_ptr at(
int i);
65 public final native
int len();
66 public final native
void ptr(ByteBuffer p0);
67 public final native
void len(
int p0);
68 static public final native Key_part_ptr create();
69 static public final native
void delete(Key_part_ptr p0);
73 static public final native
int computeHash(
int[] hashvalueptr,
NdbDictionary.TableConst p0, Key_part_ptrConstArray keyData, ByteBuffer xfrmbuf ,
int xfrmbuflen );