MCPcopy Create free account
hub / github.com/baidu/tera / jbyteArray NativeGetFamily

Function jbyteArray NativeGetFamily

src/sdk/java/native-src/jni_tera_result_stream.cc:60–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60JNIEXPORT 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
73JNIEXPORT jbyteArray NativeGetColumn(JNIEnv* env, jobject jobj, jlong jresult) {
74 tera::ResultStream* result = reinterpret_cast<tera::ResultStream*>(jresult);

Callers

nothing calls this directly

Calls 3

SendErrorJFunction · 0.85
StringToJByteArrayFunction · 0.85
FamilyMethod · 0.45

Tested by

no test coverage detected