Package io.trino.execution
Class QueryIdGenerator
java.lang.Object
io.trino.execution.QueryIdGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate next queryId using the following format:YYYYMMDD_hhmmss_index_coordIdindexrolls at the start of every day or when it is close to reaching99,999.coordIdis a randomly generated when this instance is created.protected long
-
Constructor Details
-
QueryIdGenerator
public QueryIdGenerator()
-
-
Method Details
-
getCoordinatorId
-
createNextQueryId
Generate next queryId using the following format:YYYYMMDD_hhmmss_index_coordIdindexrolls at the start of every day or when it is close to reaching99,999.coordIdis a randomly generated when this instance is created.
-
nowInMillis
protected long nowInMillis()
-