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

Method SetEnd

src/sdk/python/TeraSdk.py:77–85  ·  view source on GitHub ↗

不调用此函数时,end_key被置为“无穷大” Args: end_key(string): scan操作的终止位置,scan结果不包含end_key

(self, end_key)

Source from the content-addressed store, hash-verified

75 lib.tera_scan_descriptor_destroy(self.desc)
76
77 def SetEnd(self, end_key):
78 """
79 不调用此函数时,end_key被置为“无穷大”
80
81 Args:
82 end_key(string): scan操作的终止位置,scan结果不包含end_key
83 """
84 lib.tera_scan_descriptor_set_end(self.desc, end_key,
85 c_uint64(len(end_key)))
86
87 def SetMaxVersions(self, versions):
88 """

Callers 2

TEST_FFunction · 0.45
NativeNewScanDescFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36