|
|
@@ -184,7 +184,8 @@ class Client(object): |
|
|
|
Return the number of rows of data in the stream that satisfy |
|
|
|
the given timestamps. |
|
|
|
""" |
|
|
|
return int(self.stream_extract(path, start, end, count = True)[0]) |
|
|
|
counts = list(self.stream_extract(path, start, end, count = True)) |
|
|
|
return int(counts[0]) |
|
|
|
|
|
|
|
class StreamInserter(object): |
|
|
|
"""Object returned by stream_insert_context() that manages |
|
|
|