Class QueryIdGenerator
- java.lang.Object
-
- org.apache.iotdb.db.mpp.execution.QueryIdGenerator
-
public class QueryIdGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description QueryIdGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryIdcreateNextQueryId()Generate next queryId using the following format:YYYYMMDD_hhmmss_index_dataNodeIdjava.lang.StringgetCoordinatorId()protected longnowInMillis()
-
-
-
Method Detail
-
getCoordinatorId
public java.lang.String getCoordinatorId()
-
createNextQueryId
public QueryId createNextQueryId()
Generate next queryId using the following format:YYYYMMDD_hhmmss_index_dataNodeIdindexrolls at the start of every day or when it is close to reaching99,999.dataNodeIdis a unique id generated by config node when this data node is created.
-
nowInMillis
protected long nowInMillis()
-
-