MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NdbOperationConst.java
1 /*
2  Copyright 2010 Sun Microsystems, Inc.
3  All rights reserved. Use is subject to license terms.
4 
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.
8 
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.
13 
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
17 */
18 /*
19  * NdbOperationConst.java
20  */
21 
22 package com.mysql.ndbjtie.ndbapi;
23 
24 import java.nio.ByteBuffer;
25 
26 import com.mysql.jtie.Wrapper;
27 
28 public interface NdbOperationConst
29 {
30  public interface /*_enum_*/ Type
31  {
32  int PrimaryKeyAccess = 0,
33  UniqueIndexAccess = 1,
34  TableScan = 2,
35  OrderedIndexScan = 3;
36  }
37  public interface /*_enum_*/ LockMode
38  {
39  int LM_Read = 0,
40  LM_Exclusive = 1,
41  LM_CommittedRead = 2,
42  LM_Dirty = 2,
43  LM_SimpleRead = 3;
44  }
45  public interface /*_enum_*/ AbortOption
46  {
47  int DefaultAbortOption = -1,
48  AbortOnError = 0,
49  AO_IgnoreError = 2;
50  }
51  /*_virtual_*/ NdbBlob/*_NdbBlob *_*/ getBlobHandle(String/*_const char *_*/ anAttrName) /*_const_*/; // MMM nameclash with non-const version
52  /*_virtual_*/ NdbBlob/*_NdbBlob *_*/ getBlobHandle(int/*_Uint32_*/ anAttrId) /*_const_*/; // MMM nameclash with non-const version
53  NdbErrorConst/*_const NdbError &_*/ getNdbError() /*_const_*/;
54  int getNdbErrorLine() /*_const_*/;
55  String/*_const char *_*/ getTableName() /*_const_*/;
56  NdbDictionary.TableConst/*_const NdbDictionary.Table *_*/ getTable() /*_const_*/;
57  int/*_const Type_*/ getType() /*_const_*/;
58  int/*_LockMode_*/ getLockMode() /*_const_*/;
59  int/*_AbortOption_*/ getAbortOption() /*_const_*/;
60  /*_virtual_*/ NdbTransaction/*_NdbTransaction *_*/ getNdbTransaction() /*_const_*/;
61  NdbLockHandle/*_const NdbLockHandle *_*/ getLockHandle() /*_const_*/;
62 }