2
Copyright 2010 Sun Microsystems, Inc.
3
All rights reserved. Use is subject to license terms.
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; version 2 of the License.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
* NdbEventOperation.java
22
package com.mysql.ndbjtie.ndbapi;
24
import java.nio.ByteBuffer;
26
import com.mysql.jtie.Wrapper;
28
public class NdbEventOperation extends Wrapper implements NdbEventOperationConst
30
public final native int isOverrun() /*_const_*/;
31
public final native boolean isConsistent() /*_const_*/;
32
public final native int/*_NdbDictionary.Event.TableEvent_*/ getEventType() /*_const_*/;
33
public final native boolean tableNameChanged() /*_const_*/;
34
public final native boolean tableFrmChanged() /*_const_*/;
35
public final native boolean tableFragmentationChanged() /*_const_*/;
36
public final native boolean tableRangeListChanged() /*_const_*/;
37
public final native long/*_Uint64_*/ getGCI() /*_const_*/;
38
public final native int/*_Uint32_*/ getAnyValue() /*_const_*/;
39
public final native long/*_Uint64_*/ getLatestGCI() /*_const_*/;
40
public final native NdbErrorConst/*_const NdbError &_*/ getNdbError() /*_const_*/;
41
public interface /*_enum_*/ State
43
int EO_CREATED = 0 /*__*/,
44
EO_EXECUTING = 1 /*__*/,
45
EO_DROPPED = 2 /*__*/,
48
public final native int/*_State_*/ getState();
49
public final native void mergeEvents(boolean flag);
50
public final native int execute();
51
public final native NdbRecAttr/*_NdbRecAttr *_*/ getValue(String/*_const char *_*/ anAttrName, ByteBuffer/*_char *_*/ aValue /*_= 0_*/);
52
public final native NdbRecAttr/*_NdbRecAttr *_*/ getPreValue(String/*_const char *_*/ anAttrName, ByteBuffer/*_char *_*/ aValue /*_= 0_*/);
53
public final native NdbBlob/*_NdbBlob *_*/ getBlobHandle(String/*_const char *_*/ anAttrName);
54
public final native NdbBlob/*_NdbBlob *_*/ getPreBlobHandle(String/*_const char *_*/ anAttrName);