| 33 | } |
| 34 | |
| 35 | JNIEXPORT jboolean NativeDeleteRow(JNIEnv* env, jobject jobj, jlong jmutation) { |
| 36 | tera::RowMutation* mutation = reinterpret_cast<tera::RowMutation*>(jmutation); |
| 37 | if (mutation == NULL) { |
| 38 | std::string msg = "mutation not initialized."; |
| 39 | SendErrorJ(env, jobj, msg); |
| 40 | return JNI_FALSE; |
| 41 | } |
| 42 | mutation->DeleteRow(); |
| 43 | return JNI_TRUE; |
| 44 | } |
| 45 | |
| 46 | JNIEXPORT jboolean |
| 47 | NativeDeleteFamily(JNIEnv* env, jobject jobj, jlong jmutation, jbyteArray jfamily) { |
nothing calls this directly
no test coverage detected