Timestream
Documentation for Timestream.
Timestream.init_query_client
โ Methodinit_query_client()
This function will query for correct endpoint and then initialize client. Please remember that this client has limited TTL. Usually 24h. So if the query command fail, try to aquire new client.
Timestream.query
โ Methodquery(client, q)
Execute given query on Timestream and return all result records This function will read all pages with data before returning the result.
Arguments
client
: client created withinit_query_client
functionq
: Query string which specifies what should be returned (SQL command)