com_taosdata_jdbc_TSDBJNIConnector.h 7.7 KB
Newer Older
H
hzcheng 已提交
1 2 3 4 5 6 7 8 9 10 11
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_taosdata_jdbc_TSDBJNIConnector */

#ifndef _Included_com_taosdata_jdbc_TSDBJNIConnector
#define _Included_com_taosdata_jdbc_TSDBJNIConnector
#ifdef __cplusplus
extern "C" {
#endif
#undef com_taosdata_jdbc_TSDBJNIConnector_INVALID_CONNECTION_POINTER_VALUE
#define com_taosdata_jdbc_TSDBJNIConnector_INVALID_CONNECTION_POINTER_VALUE 0LL
12 13 14 15 16
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    
 * Signature: (Ljava/lang/String;)V
 */
weixin_48148422's avatar
weixin_48148422 已提交
17 18
JNIEXPORT void JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setAllocModeImp
  (JNIEnv *, jclass, jint, jstring, jboolean);
19

20 21 22 23 24 25 26 27
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT void JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_dumpMemoryLeakImp
  (JNIEnv *, jclass);

H
hzcheng 已提交
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    initImp
 * Signature: (Ljava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_initImp
  (JNIEnv *, jclass, jstring);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    setOptions
 * Signature: (ILjava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setOptions
  (JNIEnv *, jclass, jint, jstring);

44 45
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
Z
change  
zyyang 已提交
46
 * Method:    setConfigImp
47
 * Signature: (Ljava/lang/String;)Lcom/taosdata/jdbc/TSDBException;
48
 */
49
JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setConfigImp
50 51
  (JNIEnv *, jclass, jstring);

H
hzcheng 已提交
52 53 54 55 56 57 58 59
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    getTsCharset
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_getTsCharset
  (JNIEnv *, jclass);

60 61
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
62 63
 * Method:    getResultTimePrecisionImp
 * Signature: (JJ)I
64
 */
65
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TDDBJNIConnector_getResultTimePrecisionImp
66 67
        (JNIEnv *, jobject, jlong, jlong);

H
hzcheng 已提交
68 69 70 71 72 73 74 75 76 77 78 79 80
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    connectImp
 * Signature: (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)J
 */
JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_connectImp
  (JNIEnv *, jobject, jstring, jint, jstring, jstring, jstring);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    executeQueryImp
 * Signature: ([BJ)I
 */
H
Haojun Liao 已提交
81
JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_executeQueryImp
H
hzcheng 已提交
82 83 84 85 86 87 88 89
  (JNIEnv *, jobject, jbyteArray, jlong);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    getErrCodeImp
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_getErrCodeImp
S
Shuaiqiang Chang 已提交
90
  (JNIEnv *, jobject, jlong, jlong);
H
hzcheng 已提交
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    getErrMsgImp
 * Signature: (J)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_getErrMsgImp
  (JNIEnv *, jobject, jlong);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    getResultSetImp
 * Signature: (J)J
 */
JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_getResultSetImp
H
Haojun Liao 已提交
106
  (JNIEnv *env, jobject jobj, jlong con, jlong tres);
H
hzcheng 已提交
107

H
Haojun Liao 已提交
108 109 110
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    isUpdateQueryImp
H
Haojun Liao 已提交
111
 * Signature: (JJ)I
H
Haojun Liao 已提交
112 113 114 115
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_isUpdateQueryImp
  (JNIEnv *env, jobject jobj, jlong con, jlong tres);

H
hzcheng 已提交
116 117 118 119 120 121 122 123 124 125 126 127 128 129
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    freeResultSetImp
 * Signature: (JJ)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_freeResultSetImp
  (JNIEnv *, jobject, jlong, jlong);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    getAffectedRowsImp
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_getAffectedRowsImp
H
Haojun Liao 已提交
130
  (JNIEnv *env, jobject jobj, jlong con, jlong res);
H
hzcheng 已提交
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    getSchemaMetaDataImp
 * Signature: (JJLjava/util/List;)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_getSchemaMetaDataImp
  (JNIEnv *, jobject, jlong, jlong, jobject);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    fetchRowImp
 * Signature: (JJLcom/taosdata/jdbc/TSDBResultSetRowData;)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_fetchRowImp
  (JNIEnv *, jobject, jlong, jlong, jobject);

148 149 150 151 152 153 154 155
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    fetchBlockImp
 * Signature: (JJLcom/taosdata/jdbc/TSDBResultSetBlockData;)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_fetchBlockImp
  (JNIEnv *, jobject, jlong, jlong, jobject);

H
hzcheng 已提交
156 157 158 159 160 161 162 163 164 165 166 167 168 169
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    closeConnectionImp
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_closeConnectionImp
  (JNIEnv *, jobject, jlong);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    subscribeImp
 * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JI)J
 */
JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_subscribeImp
weixin_48148422's avatar
weixin_48148422 已提交
170
  (JNIEnv *, jobject, jlong, jboolean, jstring, jstring, jint);
H
hzcheng 已提交
171 172 173 174 175 176

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    consumeImp
 * Signature: (J)Lcom/taosdata/jdbc/TSDBResultSetRowData;
 */
177
JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_consumeImp
S
Shuaiqiang Chang 已提交
178
  (JNIEnv *, jobject, jlong);
H
hzcheng 已提交
179 180 181 182 183 184 185

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    unsubscribeImp
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_unsubscribeImp
weixin_48148422's avatar
weixin_48148422 已提交
186
  (JNIEnv *, jobject, jlong, jboolean);
H
hzcheng 已提交
187 188 189 190 191 192 193 194 195

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    validateCreateTableSqlImp
 * Signature: (J[B)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_validateCreateTableSqlImp
  (JNIEnv *, jobject, jlong, jbyteArray);

H
Haojun Liao 已提交
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    prepareStmtImp
 * Signature: ([BJ)I
 */
JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_prepareStmtImp
  (JNIEnv *, jobject, jbyteArray, jlong);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    setBindTableNameImp
 * Signature: (JLjava/lang/String;J)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setBindTableNameImp
  (JNIEnv *, jobject, jlong, jstring, jlong);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    bindColDataImp
215
 * Signature: (J[B[B[BIIIIJ)J
H
Haojun Liao 已提交
216 217
 */
JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_bindColDataImp
218
(JNIEnv *, jobject, jlong, jbyteArray, jbyteArray, jbyteArray, jint, jint, jint, jint, jlong);
H
Haojun Liao 已提交
219 220 221 222 223 224 225 226 227 228

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    executeBatchImp
 * Signature: (JJ)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_executeBatchImp(JNIEnv *env, jobject jobj, jlong stmt, jlong con);

/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
229
 * Method:    closeStmt
H
Haojun Liao 已提交
230 231 232 233
 * Signature: (JJ)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_closeStmt(JNIEnv *env, jobject jobj, jlong stmt, jlong con);

234 235 236 237 238 239 240 241
/**
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    setTableNameTagsImp
 * Signature: (JLjava/lang/String;I[B[B[B[BJ)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setTableNameTagsImp
    (JNIEnv *, jobject, jlong, jstring, jint, jbyteArray, jbyteArray, jbyteArray, jbyteArray, jlong);

242 243 244 245 246 247 248 249
/*
 * Class:     com_taosdata_jdbc_TSDBJNIConnector
 * Method:    insertLinesImp
 * Signature: ([Ljava/lang/String;JII)I
 */
JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_insertLinesImp
  (JNIEnv *, jobject, jobjectArray, jlong, jint, jint);

H
hzcheng 已提交
250 251 252 253
#ifdef __cplusplus
}
#endif
#endif