kyotocabinet-java 0.1.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/Gemfile +15 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +62 -0
- data/VERSION +1 -0
- data/ext/kyotocabinet-java/.gitignore +2 -0
- data/ext/kyotocabinet-java/COPYING +674 -0
- data/ext/kyotocabinet-java/Cursor.java +268 -0
- data/ext/kyotocabinet-java/DB.java +650 -0
- data/ext/kyotocabinet-java/Error.java +257 -0
- data/ext/kyotocabinet-java/FileProcessor.java +42 -0
- data/ext/kyotocabinet-java/Loader.java +60 -0
- data/ext/kyotocabinet-java/Makefile.in +246 -0
- data/ext/kyotocabinet-java/MapReduce.java +127 -0
- data/ext/kyotocabinet-java/README +26 -0
- data/ext/kyotocabinet-java/Test.java +1494 -0
- data/ext/kyotocabinet-java/Utility.java +131 -0
- data/ext/kyotocabinet-java/VCmakefile +150 -0
- data/ext/kyotocabinet-java/ValueIterator.java +49 -0
- data/ext/kyotocabinet-java/Visitor.java +56 -0
- data/ext/kyotocabinet-java/configure.in +310 -0
- data/ext/kyotocabinet-java/doc/allclasses-frame.html +26 -0
- data/ext/kyotocabinet-java/doc/allclasses-noframe.html +26 -0
- data/ext/kyotocabinet-java/doc/constant-values.html +344 -0
- data/ext/kyotocabinet-java/doc/index-all.html +848 -0
- data/ext/kyotocabinet-java/doc/index.html +30 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/Cursor.html +711 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/DB.html +1674 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/Error.html +604 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/FileProcessor.html +210 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/MapReduce.html +461 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/Test.html +220 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/Utility.html +413 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/ValueIterator.html +221 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/Visitor.html +283 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/package-frame.html +33 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/package-summary.html +199 -0
- data/ext/kyotocabinet-java/doc/kyotocabinet/package-tree.html +141 -0
- data/ext/kyotocabinet-java/doc/overview-summary.html +285 -0
- data/ext/kyotocabinet-java/doc/overview-tree.html +145 -0
- data/ext/kyotocabinet-java/doc/package-list +1 -0
- data/ext/kyotocabinet-java/doc/resources/background.gif +0 -0
- data/ext/kyotocabinet-java/doc/resources/tab.gif +0 -0
- data/ext/kyotocabinet-java/doc/resources/titlebar.gif +0 -0
- data/ext/kyotocabinet-java/doc/resources/titlebar_end.gif +0 -0
- data/ext/kyotocabinet-java/doc/serialized-form.html +141 -0
- data/ext/kyotocabinet-java/doc/stylesheet.css +474 -0
- data/ext/kyotocabinet-java/example/KCDBEX1.java +44 -0
- data/ext/kyotocabinet-java/example/KCDBEX2.java +44 -0
- data/ext/kyotocabinet-java/example/Makefile +59 -0
- data/ext/kyotocabinet-java/kyotocabinet.cc +2187 -0
- data/ext/kyotocabinet-java/kyotocabinet_Cursor.h +157 -0
- data/ext/kyotocabinet-java/kyotocabinet_DB.h +353 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error.h +49 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XBROKEN.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XDUPREC.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XINVALID.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XLOGIC.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XMISC.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XNOIMPL.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XNOPERM.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XNOREC.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XNOREPOS.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XSUCCESS.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_Error_XSYSTEM.h +41 -0
- data/ext/kyotocabinet-java/kyotocabinet_MapReduce.h +33 -0
- data/ext/kyotocabinet-java/kyotocabinet_Utility.h +101 -0
- data/ext/kyotocabinet-java/kyotocabinet_ValueIterator.h +21 -0
- data/ext/kyotocabinet-java/overview.html +177 -0
- data/kyotocabinet-java.gemspec +129 -0
- data/lib/kyotocabinet-java.rb +141 -0
- data/lib/kyotocabinet-java/version.rb +5 -0
- metadata +222 -0
@@ -0,0 +1,157 @@
|
|
1
|
+
/* DO NOT EDIT THIS FILE - it is machine generated */
|
2
|
+
#include <jni.h>
|
3
|
+
/* Header for class kyotocabinet_Cursor */
|
4
|
+
|
5
|
+
#ifndef _Included_kyotocabinet_Cursor
|
6
|
+
#define _Included_kyotocabinet_Cursor
|
7
|
+
#ifdef __cplusplus
|
8
|
+
extern "C" {
|
9
|
+
#endif
|
10
|
+
/*
|
11
|
+
* Class: kyotocabinet_Cursor
|
12
|
+
* Method: disable
|
13
|
+
* Signature: ()V
|
14
|
+
*/
|
15
|
+
JNIEXPORT void JNICALL Java_kyotocabinet_Cursor_disable
|
16
|
+
(JNIEnv *, jobject);
|
17
|
+
|
18
|
+
/*
|
19
|
+
* Class: kyotocabinet_Cursor
|
20
|
+
* Method: accept
|
21
|
+
* Signature: (Lkyotocabinet/Visitor;ZZ)Z
|
22
|
+
*/
|
23
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_accept
|
24
|
+
(JNIEnv *, jobject, jobject, jboolean, jboolean);
|
25
|
+
|
26
|
+
/*
|
27
|
+
* Class: kyotocabinet_Cursor
|
28
|
+
* Method: set_value
|
29
|
+
* Signature: ([BZ)Z
|
30
|
+
*/
|
31
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_set_1value
|
32
|
+
(JNIEnv *, jobject, jbyteArray, jboolean);
|
33
|
+
|
34
|
+
/*
|
35
|
+
* Class: kyotocabinet_Cursor
|
36
|
+
* Method: remove
|
37
|
+
* Signature: ()Z
|
38
|
+
*/
|
39
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_remove
|
40
|
+
(JNIEnv *, jobject);
|
41
|
+
|
42
|
+
/*
|
43
|
+
* Class: kyotocabinet_Cursor
|
44
|
+
* Method: get_key
|
45
|
+
* Signature: (Z)[B
|
46
|
+
*/
|
47
|
+
JNIEXPORT jbyteArray JNICALL Java_kyotocabinet_Cursor_get_1key
|
48
|
+
(JNIEnv *, jobject, jboolean);
|
49
|
+
|
50
|
+
/*
|
51
|
+
* Class: kyotocabinet_Cursor
|
52
|
+
* Method: get_value
|
53
|
+
* Signature: (Z)[B
|
54
|
+
*/
|
55
|
+
JNIEXPORT jbyteArray JNICALL Java_kyotocabinet_Cursor_get_1value
|
56
|
+
(JNIEnv *, jobject, jboolean);
|
57
|
+
|
58
|
+
/*
|
59
|
+
* Class: kyotocabinet_Cursor
|
60
|
+
* Method: get
|
61
|
+
* Signature: (Z)[[B
|
62
|
+
*/
|
63
|
+
JNIEXPORT jobjectArray JNICALL Java_kyotocabinet_Cursor_get
|
64
|
+
(JNIEnv *, jobject, jboolean);
|
65
|
+
|
66
|
+
/*
|
67
|
+
* Class: kyotocabinet_Cursor
|
68
|
+
* Method: seize
|
69
|
+
* Signature: ()[[B
|
70
|
+
*/
|
71
|
+
JNIEXPORT jobjectArray JNICALL Java_kyotocabinet_Cursor_seize
|
72
|
+
(JNIEnv *, jobject);
|
73
|
+
|
74
|
+
/*
|
75
|
+
* Class: kyotocabinet_Cursor
|
76
|
+
* Method: jump
|
77
|
+
* Signature: ()Z
|
78
|
+
*/
|
79
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_jump__
|
80
|
+
(JNIEnv *, jobject);
|
81
|
+
|
82
|
+
/*
|
83
|
+
* Class: kyotocabinet_Cursor
|
84
|
+
* Method: jump
|
85
|
+
* Signature: ([B)Z
|
86
|
+
*/
|
87
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_jump___3B
|
88
|
+
(JNIEnv *, jobject, jbyteArray);
|
89
|
+
|
90
|
+
/*
|
91
|
+
* Class: kyotocabinet_Cursor
|
92
|
+
* Method: jump_back
|
93
|
+
* Signature: ()Z
|
94
|
+
*/
|
95
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_jump_1back__
|
96
|
+
(JNIEnv *, jobject);
|
97
|
+
|
98
|
+
/*
|
99
|
+
* Class: kyotocabinet_Cursor
|
100
|
+
* Method: jump_back
|
101
|
+
* Signature: ([B)Z
|
102
|
+
*/
|
103
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_jump_1back___3B
|
104
|
+
(JNIEnv *, jobject, jbyteArray);
|
105
|
+
|
106
|
+
/*
|
107
|
+
* Class: kyotocabinet_Cursor
|
108
|
+
* Method: step
|
109
|
+
* Signature: ()Z
|
110
|
+
*/
|
111
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_step
|
112
|
+
(JNIEnv *, jobject);
|
113
|
+
|
114
|
+
/*
|
115
|
+
* Class: kyotocabinet_Cursor
|
116
|
+
* Method: step_back
|
117
|
+
* Signature: ()Z
|
118
|
+
*/
|
119
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_Cursor_step_1back
|
120
|
+
(JNIEnv *, jobject);
|
121
|
+
|
122
|
+
/*
|
123
|
+
* Class: kyotocabinet_Cursor
|
124
|
+
* Method: db
|
125
|
+
* Signature: ()Lkyotocabinet/DB;
|
126
|
+
*/
|
127
|
+
JNIEXPORT jobject JNICALL Java_kyotocabinet_Cursor_db
|
128
|
+
(JNIEnv *, jobject);
|
129
|
+
|
130
|
+
/*
|
131
|
+
* Class: kyotocabinet_Cursor
|
132
|
+
* Method: error
|
133
|
+
* Signature: ()Lkyotocabinet/Error;
|
134
|
+
*/
|
135
|
+
JNIEXPORT jthrowable JNICALL Java_kyotocabinet_Cursor_error
|
136
|
+
(JNIEnv *, jobject);
|
137
|
+
|
138
|
+
/*
|
139
|
+
* Class: kyotocabinet_Cursor
|
140
|
+
* Method: initialize
|
141
|
+
* Signature: (Lkyotocabinet/DB;)V
|
142
|
+
*/
|
143
|
+
JNIEXPORT void JNICALL Java_kyotocabinet_Cursor_initialize
|
144
|
+
(JNIEnv *, jobject, jobject);
|
145
|
+
|
146
|
+
/*
|
147
|
+
* Class: kyotocabinet_Cursor
|
148
|
+
* Method: destruct
|
149
|
+
* Signature: ()V
|
150
|
+
*/
|
151
|
+
JNIEXPORT void JNICALL Java_kyotocabinet_Cursor_destruct
|
152
|
+
(JNIEnv *, jobject);
|
153
|
+
|
154
|
+
#ifdef __cplusplus
|
155
|
+
}
|
156
|
+
#endif
|
157
|
+
#endif
|
@@ -0,0 +1,353 @@
|
|
1
|
+
/* DO NOT EDIT THIS FILE - it is machine generated */
|
2
|
+
#include <jni.h>
|
3
|
+
/* Header for class kyotocabinet_DB */
|
4
|
+
|
5
|
+
#ifndef _Included_kyotocabinet_DB
|
6
|
+
#define _Included_kyotocabinet_DB
|
7
|
+
#ifdef __cplusplus
|
8
|
+
extern "C" {
|
9
|
+
#endif
|
10
|
+
#undef kyotocabinet_DB_GEXCEPTIONAL
|
11
|
+
#define kyotocabinet_DB_GEXCEPTIONAL 1L
|
12
|
+
#undef kyotocabinet_DB_OREADER
|
13
|
+
#define kyotocabinet_DB_OREADER 1L
|
14
|
+
#undef kyotocabinet_DB_OWRITER
|
15
|
+
#define kyotocabinet_DB_OWRITER 2L
|
16
|
+
#undef kyotocabinet_DB_OCREATE
|
17
|
+
#define kyotocabinet_DB_OCREATE 4L
|
18
|
+
#undef kyotocabinet_DB_OTRUNCATE
|
19
|
+
#define kyotocabinet_DB_OTRUNCATE 8L
|
20
|
+
#undef kyotocabinet_DB_OAUTOTRAN
|
21
|
+
#define kyotocabinet_DB_OAUTOTRAN 16L
|
22
|
+
#undef kyotocabinet_DB_OAUTOSYNC
|
23
|
+
#define kyotocabinet_DB_OAUTOSYNC 32L
|
24
|
+
#undef kyotocabinet_DB_ONOLOCK
|
25
|
+
#define kyotocabinet_DB_ONOLOCK 64L
|
26
|
+
#undef kyotocabinet_DB_OTRYLOCK
|
27
|
+
#define kyotocabinet_DB_OTRYLOCK 128L
|
28
|
+
#undef kyotocabinet_DB_ONOREPAIR
|
29
|
+
#define kyotocabinet_DB_ONOREPAIR 256L
|
30
|
+
#undef kyotocabinet_DB_MSET
|
31
|
+
#define kyotocabinet_DB_MSET 0L
|
32
|
+
#undef kyotocabinet_DB_MADD
|
33
|
+
#define kyotocabinet_DB_MADD 1L
|
34
|
+
#undef kyotocabinet_DB_MREPLACE
|
35
|
+
#define kyotocabinet_DB_MREPLACE 2L
|
36
|
+
#undef kyotocabinet_DB_MAPPEND
|
37
|
+
#define kyotocabinet_DB_MAPPEND 3L
|
38
|
+
/*
|
39
|
+
* Class: kyotocabinet_DB
|
40
|
+
* Method: error
|
41
|
+
* Signature: ()Lkyotocabinet/Error;
|
42
|
+
*/
|
43
|
+
JNIEXPORT jthrowable JNICALL Java_kyotocabinet_DB_error
|
44
|
+
(JNIEnv *, jobject);
|
45
|
+
|
46
|
+
/*
|
47
|
+
* Class: kyotocabinet_DB
|
48
|
+
* Method: open
|
49
|
+
* Signature: (Ljava/lang/String;I)Z
|
50
|
+
*/
|
51
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_open
|
52
|
+
(JNIEnv *, jobject, jstring, jint);
|
53
|
+
|
54
|
+
/*
|
55
|
+
* Class: kyotocabinet_DB
|
56
|
+
* Method: close
|
57
|
+
* Signature: ()Z
|
58
|
+
*/
|
59
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_close
|
60
|
+
(JNIEnv *, jobject);
|
61
|
+
|
62
|
+
/*
|
63
|
+
* Class: kyotocabinet_DB
|
64
|
+
* Method: accept
|
65
|
+
* Signature: ([BLkyotocabinet/Visitor;Z)Z
|
66
|
+
*/
|
67
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_accept
|
68
|
+
(JNIEnv *, jobject, jbyteArray, jobject, jboolean);
|
69
|
+
|
70
|
+
/*
|
71
|
+
* Class: kyotocabinet_DB
|
72
|
+
* Method: accept_bulk
|
73
|
+
* Signature: ([[BLkyotocabinet/Visitor;Z)Z
|
74
|
+
*/
|
75
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_accept_1bulk
|
76
|
+
(JNIEnv *, jobject, jobjectArray, jobject, jboolean);
|
77
|
+
|
78
|
+
/*
|
79
|
+
* Class: kyotocabinet_DB
|
80
|
+
* Method: iterate
|
81
|
+
* Signature: (Lkyotocabinet/Visitor;Z)Z
|
82
|
+
*/
|
83
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_iterate
|
84
|
+
(JNIEnv *, jobject, jobject, jboolean);
|
85
|
+
|
86
|
+
/*
|
87
|
+
* Class: kyotocabinet_DB
|
88
|
+
* Method: set
|
89
|
+
* Signature: ([B[B)Z
|
90
|
+
*/
|
91
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_set
|
92
|
+
(JNIEnv *, jobject, jbyteArray, jbyteArray);
|
93
|
+
|
94
|
+
/*
|
95
|
+
* Class: kyotocabinet_DB
|
96
|
+
* Method: add
|
97
|
+
* Signature: ([B[B)Z
|
98
|
+
*/
|
99
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_add
|
100
|
+
(JNIEnv *, jobject, jbyteArray, jbyteArray);
|
101
|
+
|
102
|
+
/*
|
103
|
+
* Class: kyotocabinet_DB
|
104
|
+
* Method: replace
|
105
|
+
* Signature: ([B[B)Z
|
106
|
+
*/
|
107
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_replace
|
108
|
+
(JNIEnv *, jobject, jbyteArray, jbyteArray);
|
109
|
+
|
110
|
+
/*
|
111
|
+
* Class: kyotocabinet_DB
|
112
|
+
* Method: append
|
113
|
+
* Signature: ([B[B)Z
|
114
|
+
*/
|
115
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_append
|
116
|
+
(JNIEnv *, jobject, jbyteArray, jbyteArray);
|
117
|
+
|
118
|
+
/*
|
119
|
+
* Class: kyotocabinet_DB
|
120
|
+
* Method: increment
|
121
|
+
* Signature: ([BJJ)J
|
122
|
+
*/
|
123
|
+
JNIEXPORT jlong JNICALL Java_kyotocabinet_DB_increment
|
124
|
+
(JNIEnv *, jobject, jbyteArray, jlong, jlong);
|
125
|
+
|
126
|
+
/*
|
127
|
+
* Class: kyotocabinet_DB
|
128
|
+
* Method: increment_double
|
129
|
+
* Signature: ([BDD)D
|
130
|
+
*/
|
131
|
+
JNIEXPORT jdouble JNICALL Java_kyotocabinet_DB_increment_1double
|
132
|
+
(JNIEnv *, jobject, jbyteArray, jdouble, jdouble);
|
133
|
+
|
134
|
+
/*
|
135
|
+
* Class: kyotocabinet_DB
|
136
|
+
* Method: cas
|
137
|
+
* Signature: ([B[B[B)Z
|
138
|
+
*/
|
139
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_cas
|
140
|
+
(JNIEnv *, jobject, jbyteArray, jbyteArray, jbyteArray);
|
141
|
+
|
142
|
+
/*
|
143
|
+
* Class: kyotocabinet_DB
|
144
|
+
* Method: remove
|
145
|
+
* Signature: ([B)Z
|
146
|
+
*/
|
147
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_remove
|
148
|
+
(JNIEnv *, jobject, jbyteArray);
|
149
|
+
|
150
|
+
/*
|
151
|
+
* Class: kyotocabinet_DB
|
152
|
+
* Method: get
|
153
|
+
* Signature: ([B)[B
|
154
|
+
*/
|
155
|
+
JNIEXPORT jbyteArray JNICALL Java_kyotocabinet_DB_get
|
156
|
+
(JNIEnv *, jobject, jbyteArray);
|
157
|
+
|
158
|
+
/*
|
159
|
+
* Class: kyotocabinet_DB
|
160
|
+
* Method: check
|
161
|
+
* Signature: ([B)I
|
162
|
+
*/
|
163
|
+
JNIEXPORT jint JNICALL Java_kyotocabinet_DB_check
|
164
|
+
(JNIEnv *, jobject, jbyteArray);
|
165
|
+
|
166
|
+
/*
|
167
|
+
* Class: kyotocabinet_DB
|
168
|
+
* Method: seize
|
169
|
+
* Signature: ([B)[B
|
170
|
+
*/
|
171
|
+
JNIEXPORT jbyteArray JNICALL Java_kyotocabinet_DB_seize
|
172
|
+
(JNIEnv *, jobject, jbyteArray);
|
173
|
+
|
174
|
+
/*
|
175
|
+
* Class: kyotocabinet_DB
|
176
|
+
* Method: set_bulk
|
177
|
+
* Signature: ([[BZ)J
|
178
|
+
*/
|
179
|
+
JNIEXPORT jlong JNICALL Java_kyotocabinet_DB_set_1bulk
|
180
|
+
(JNIEnv *, jobject, jobjectArray, jboolean);
|
181
|
+
|
182
|
+
/*
|
183
|
+
* Class: kyotocabinet_DB
|
184
|
+
* Method: remove_bulk
|
185
|
+
* Signature: ([[BZ)J
|
186
|
+
*/
|
187
|
+
JNIEXPORT jlong JNICALL Java_kyotocabinet_DB_remove_1bulk
|
188
|
+
(JNIEnv *, jobject, jobjectArray, jboolean);
|
189
|
+
|
190
|
+
/*
|
191
|
+
* Class: kyotocabinet_DB
|
192
|
+
* Method: get_bulk
|
193
|
+
* Signature: ([[BZ)[[B
|
194
|
+
*/
|
195
|
+
JNIEXPORT jobjectArray JNICALL Java_kyotocabinet_DB_get_1bulk
|
196
|
+
(JNIEnv *, jobject, jobjectArray, jboolean);
|
197
|
+
|
198
|
+
/*
|
199
|
+
* Class: kyotocabinet_DB
|
200
|
+
* Method: clear
|
201
|
+
* Signature: ()Z
|
202
|
+
*/
|
203
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_clear
|
204
|
+
(JNIEnv *, jobject);
|
205
|
+
|
206
|
+
/*
|
207
|
+
* Class: kyotocabinet_DB
|
208
|
+
* Method: synchronize
|
209
|
+
* Signature: (ZLkyotocabinet/FileProcessor;)Z
|
210
|
+
*/
|
211
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_synchronize
|
212
|
+
(JNIEnv *, jobject, jboolean, jobject);
|
213
|
+
|
214
|
+
/*
|
215
|
+
* Class: kyotocabinet_DB
|
216
|
+
* Method: occupy
|
217
|
+
* Signature: (ZLkyotocabinet/FileProcessor;)Z
|
218
|
+
*/
|
219
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_occupy
|
220
|
+
(JNIEnv *, jobject, jboolean, jobject);
|
221
|
+
|
222
|
+
/*
|
223
|
+
* Class: kyotocabinet_DB
|
224
|
+
* Method: copy
|
225
|
+
* Signature: (Ljava/lang/String;)Z
|
226
|
+
*/
|
227
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_copy
|
228
|
+
(JNIEnv *, jobject, jstring);
|
229
|
+
|
230
|
+
/*
|
231
|
+
* Class: kyotocabinet_DB
|
232
|
+
* Method: begin_transaction
|
233
|
+
* Signature: (Z)Z
|
234
|
+
*/
|
235
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_begin_1transaction
|
236
|
+
(JNIEnv *, jobject, jboolean);
|
237
|
+
|
238
|
+
/*
|
239
|
+
* Class: kyotocabinet_DB
|
240
|
+
* Method: end_transaction
|
241
|
+
* Signature: (Z)Z
|
242
|
+
*/
|
243
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_end_1transaction
|
244
|
+
(JNIEnv *, jobject, jboolean);
|
245
|
+
|
246
|
+
/*
|
247
|
+
* Class: kyotocabinet_DB
|
248
|
+
* Method: dump_snapshot
|
249
|
+
* Signature: (Ljava/lang/String;)Z
|
250
|
+
*/
|
251
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_dump_1snapshot
|
252
|
+
(JNIEnv *, jobject, jstring);
|
253
|
+
|
254
|
+
/*
|
255
|
+
* Class: kyotocabinet_DB
|
256
|
+
* Method: load_snapshot
|
257
|
+
* Signature: (Ljava/lang/String;)Z
|
258
|
+
*/
|
259
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_load_1snapshot
|
260
|
+
(JNIEnv *, jobject, jstring);
|
261
|
+
|
262
|
+
/*
|
263
|
+
* Class: kyotocabinet_DB
|
264
|
+
* Method: count
|
265
|
+
* Signature: ()J
|
266
|
+
*/
|
267
|
+
JNIEXPORT jlong JNICALL Java_kyotocabinet_DB_count
|
268
|
+
(JNIEnv *, jobject);
|
269
|
+
|
270
|
+
/*
|
271
|
+
* Class: kyotocabinet_DB
|
272
|
+
* Method: size
|
273
|
+
* Signature: ()J
|
274
|
+
*/
|
275
|
+
JNIEXPORT jlong JNICALL Java_kyotocabinet_DB_size
|
276
|
+
(JNIEnv *, jobject);
|
277
|
+
|
278
|
+
/*
|
279
|
+
* Class: kyotocabinet_DB
|
280
|
+
* Method: path
|
281
|
+
* Signature: ()Ljava/lang/String;
|
282
|
+
*/
|
283
|
+
JNIEXPORT jstring JNICALL Java_kyotocabinet_DB_path
|
284
|
+
(JNIEnv *, jobject);
|
285
|
+
|
286
|
+
/*
|
287
|
+
* Class: kyotocabinet_DB
|
288
|
+
* Method: status
|
289
|
+
* Signature: ()Ljava/util/Map;
|
290
|
+
*/
|
291
|
+
JNIEXPORT jobject JNICALL Java_kyotocabinet_DB_status
|
292
|
+
(JNIEnv *, jobject);
|
293
|
+
|
294
|
+
/*
|
295
|
+
* Class: kyotocabinet_DB
|
296
|
+
* Method: match_prefix
|
297
|
+
* Signature: (Ljava/lang/String;J)Ljava/util/List;
|
298
|
+
*/
|
299
|
+
JNIEXPORT jobject JNICALL Java_kyotocabinet_DB_match_1prefix
|
300
|
+
(JNIEnv *, jobject, jstring, jlong);
|
301
|
+
|
302
|
+
/*
|
303
|
+
* Class: kyotocabinet_DB
|
304
|
+
* Method: match_regex
|
305
|
+
* Signature: (Ljava/lang/String;J)Ljava/util/List;
|
306
|
+
*/
|
307
|
+
JNIEXPORT jobject JNICALL Java_kyotocabinet_DB_match_1regex
|
308
|
+
(JNIEnv *, jobject, jstring, jlong);
|
309
|
+
|
310
|
+
/*
|
311
|
+
* Class: kyotocabinet_DB
|
312
|
+
* Method: match_similar
|
313
|
+
* Signature: (Ljava/lang/String;JZJ)Ljava/util/List;
|
314
|
+
*/
|
315
|
+
JNIEXPORT jobject JNICALL Java_kyotocabinet_DB_match_1similar
|
316
|
+
(JNIEnv *, jobject, jstring, jlong, jboolean, jlong);
|
317
|
+
|
318
|
+
/*
|
319
|
+
* Class: kyotocabinet_DB
|
320
|
+
* Method: merge
|
321
|
+
* Signature: ([Lkyotocabinet/DB;I)Z
|
322
|
+
*/
|
323
|
+
JNIEXPORT jboolean JNICALL Java_kyotocabinet_DB_merge
|
324
|
+
(JNIEnv *, jobject, jobjectArray, jint);
|
325
|
+
|
326
|
+
/*
|
327
|
+
* Class: kyotocabinet_DB
|
328
|
+
* Method: cursor
|
329
|
+
* Signature: ()Lkyotocabinet/Cursor;
|
330
|
+
*/
|
331
|
+
JNIEXPORT jobject JNICALL Java_kyotocabinet_DB_cursor
|
332
|
+
(JNIEnv *, jobject);
|
333
|
+
|
334
|
+
/*
|
335
|
+
* Class: kyotocabinet_DB
|
336
|
+
* Method: initialize
|
337
|
+
* Signature: (I)V
|
338
|
+
*/
|
339
|
+
JNIEXPORT void JNICALL Java_kyotocabinet_DB_initialize
|
340
|
+
(JNIEnv *, jobject, jint);
|
341
|
+
|
342
|
+
/*
|
343
|
+
* Class: kyotocabinet_DB
|
344
|
+
* Method: destruct
|
345
|
+
* Signature: ()V
|
346
|
+
*/
|
347
|
+
JNIEXPORT void JNICALL Java_kyotocabinet_DB_destruct
|
348
|
+
(JNIEnv *, jobject);
|
349
|
+
|
350
|
+
#ifdef __cplusplus
|
351
|
+
}
|
352
|
+
#endif
|
353
|
+
#endif
|