| 71 | } |
| 72 | |
| 73 | JNIEXPORT jbyteArray NativeGetColumn(JNIEnv* env, jobject jobj, jlong jresult) { |
| 74 | tera::ResultStream* result = reinterpret_cast<tera::ResultStream*>(jresult); |
| 75 | jbyteArray jcolumn; |
| 76 | if (result == NULL) { |
| 77 | std::string msg = "result not initialized."; |
| 78 | SendErrorJ(env, jobj, msg); |
| 79 | return NULL; |
| 80 | } |
| 81 | std::string column = result->Qualifier(); |
| 82 | StringToJByteArray(env, column, &jcolumn); |
| 83 | return jcolumn; |
| 84 | } |
| 85 | |
| 86 | JNIEXPORT jlong NativeGetTimeStamp(JNIEnv* env, jobject jobj, jlong jresult) { |
| 87 | tera::ResultStream* result = reinterpret_cast<tera::ResultStream*>(jresult); |
nothing calls this directly
no test coverage detected