MCPcopy Create free account
hub / github.com/baidu/tera / NativeDeleteRow

Function NativeDeleteRow

src/sdk/java/native-src/jni_tera_mutation.cc:35–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35JNIEXPORT 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
46JNIEXPORT jboolean
47NativeDeleteFamily(JNIEnv* env, jobject jobj, jlong jmutation, jbyteArray jfamily) {

Callers

nothing calls this directly

Calls 2

SendErrorJFunction · 0.85
DeleteRowMethod · 0.45

Tested by

no test coverage detected