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

Method RowKey

src/sdk/python/TeraSdk.py:384–393  ·  view source on GitHub ↗

Returns: (string): 此RowMutation对象的rowkey,例如可用在回调中

(self)

Source from the content-addressed store, hash-verified

382 lib.tera_row_mutation_delete_row(self.mutation)
383
384 def RowKey(self):
385 """
386 Returns:
387 (string): 此RowMutation对象的rowkey,例如可用在回调中
388 """
389 value = POINTER(c_ubyte)()
390 vallen = c_uint64()
391 lib.tera_row_mutation_rowkey(self.mutation,
392 byref(value), byref(vallen))
393 return copy_string_to_user(value, long(vallen.value))
394
395 def SetCallback(self, callback):
396 """ 设置回调

Callers 1

mutation_callbackFunction · 0.95

Calls 1

copy_string_to_userFunction · 0.85

Tested by

no test coverage detected