| 58 | } |
| 59 | |
| 60 | JNIEXPORT jbyteArray NativeGetFamily(JNIEnv* env, jobject jobj, jlong jresult) { |
| 61 | tera::ResultStream* result = reinterpret_cast<tera::ResultStream*>(jresult); |
| 62 | jbyteArray jfamily; |
| 63 | if (result == NULL) { |
| 64 | std::string msg = "result not initialized."; |
| 65 | SendErrorJ(env, jobj, msg); |
| 66 | return NULL; |
| 67 | } |
| 68 | std::string family = result->Family(); |
| 69 | StringToJByteArray(env, family, &jfamily); |
| 70 | return jfamily; |
| 71 | } |
| 72 | |
| 73 | JNIEXPORT jbyteArray NativeGetColumn(JNIEnv* env, jobject jobj, jlong jresult) { |
| 74 | tera::ResultStream* result = reinterpret_cast<tera::ResultStream*>(jresult); |
nothing calls this directly
no test coverage detected