22 package com.mysql.ndbjtie.ndbapi;
24 import java.nio.ByteBuffer;
26 import com.mysql.jtie.Wrapper;
40 public final native
int getState();
42 public final native
int getValue(ByteBuffer data,
int bytes);
43 public final native
int setValue(ByteBuffer data,
int bytes);
47 public final native
int setNull();
48 public final native
int getLength(
long[] length);
49 public final native
int truncate(
long length );
50 public final native
int getPos(
long[] pos);
51 public final native
int setPos(
long pos);
52 public final native
int readData(ByteBuffer data,
int[] bytes);
53 public final native
int writeData(ByteBuffer data,
int bytes);
55 static public final native
int getBlobTableName(ByteBuffer btname,
Ndb anNdb,
String tableName,
String columnName);
56 static public final native
int getBlobEventName(ByteBuffer bename,
Ndb anNdb,
String eventName,
String columnName);
57 public final native
NdbBlob blobsFirstBlob();
58 public final native
NdbBlob blobsNextBlob();
59 public final native
int close(
boolean execPendingBlobOps );