Function dsnp_graph_sdk_jni::Java_io_projectliberty_graphsdk_Native_getConnectionsForUserGraph
source · #[no_mangle]
pub unsafe extern "C" fn Java_io_projectliberty_graphsdk_Native_getConnectionsForUserGraph<'local>(
env: JNIEnv<'local>,
_class: JClass<'local>,
handle: jlong,
dsnp_user_id: jlong,
schema_id: jint,
include_pending: jboolean
) -> JByteArray<'local>
Expand description
Get connections for a user graph.
Arguments
handle
- the handle to the graph statedsnp_user_id
- the user id to get connections forschema_id
- the schema id to get connections forinclude_pending
- whether to include pending connections
Returns
jbyteArray
- the serialized connections
Errors
SdkJniError
- if getting connections fails