MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
NdbScanFilter.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
* NdbScanFilter.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
class
NdbScanFilter
extends
Wrapper
implements
NdbScanFilterConst
29
{
30
public
final
native
NdbErrorConst
/*_const NdbError &_*/
getNdbError()
/*_const_*/
;
31
public
final
native
NdbInterpretedCodeConst
/*_const NdbInterpretedCode *_*/
getInterpretedCode()
/*_const_*/
;
32
public
final
native
NdbOperation
/*_NdbOperation *_*/
getNdbOperation()
/*_const_*/
;
33
static
public
final
native
NdbScanFilter
create(
NdbInterpretedCode
/*_NdbInterpretedCode *_*/
code
);
34
static
public
final
native
NdbScanFilter
create(
NdbOperation
/*_NdbOperation *_*/
op);
35
static
public
final
native
void
delete
(
NdbScanFilter
p0);
36
public
interface
/*_enum_*/
Group
37
{
38
int
AND = 1,
39
OR = 2,
40
NAND = 3,
41
NOR = 4;
42
}
43
public
interface
/*_enum_*/
BinaryCondition
44
{
45
int
COND_LE = 0,
46
COND_LT = 1,
47
COND_GE = 2,
48
COND_GT = 3,
49
COND_EQ = 4,
50
COND_NE = 5,
51
COND_LIKE = 6,
52
COND_NOT_LIKE = 7;
53
}
54
public
final
native
int
begin(
int
/*_Group_*/
group
/*_= AND_*/
);
55
public
final
native
int
end();
56
public
final
native
int
istrue();
57
public
final
native
int
isfalse();
58
public
final
native
int
cmp(
int
/*_BinaryCondition_*/
cond,
int
ColId, ByteBuffer
/*_const void *_*/
val,
int
/*_Uint32_*/
len
/*_= 0_*/
);
59
public
final
native
int
eq(
int
ColId,
int
/*_Uint32_*/
value);
60
public
final
native
int
ne(
int
ColId,
int
/*_Uint32_*/
value);
61
public
final
native
int
lt(
int
ColId,
int
/*_Uint32_*/
value);
62
public
final
native
int
le(
int
ColId,
int
/*_Uint32_*/
value);
63
public
final
native
int
gt(
int
ColId,
int
/*_Uint32_*/
value);
64
public
final
native
int
ge(
int
ColId,
int
/*_Uint32_*/
value);
65
public
final
native
int
eq(
int
ColId,
long
/*_Uint64_*/
value);
66
public
final
native
int
ne(
int
ColId,
long
/*_Uint64_*/
value);
67
public
final
native
int
lt(
int
ColId,
long
/*_Uint64_*/
value);
68
public
final
native
int
le(
int
ColId,
long
/*_Uint64_*/
value);
69
public
final
native
int
gt(
int
ColId,
long
/*_Uint64_*/
value);
70
public
final
native
int
ge(
int
ColId,
long
/*_Uint64_*/
value);
71
public
final
native
int
isnull(
int
ColId);
72
public
final
native
int
isnotnull(
int
ColId);
73
public
interface
/*_enum_*/
Error
74
{
75
int
FilterTooLarge = 4294;
76
}
77
}
storage
ndb
src
ndbjtie
com
mysql
ndbjtie
ndbapi
NdbScanFilter.java
Generated on Sat Nov 9 2013 01:28:11 for MySQL 5.6.14 Source Code Document by
1.8.1.2