Package ai.chalk.models
Class QueryMeta
java.lang.Object
ai.chalk.models.QueryMeta
QueryMeta represents metadata about a Chalk query.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe id of the deployment that served this query.The id of the environment that served this query.The short name of the environment that served this query.doubleExecution duration in seconds.Deterministic hash of the 'structure' of the query.A unique ID generated and persisted by Chalk for this query.At the start of query execution, Chalk computes 'datetime.now()'.Associated trace ID for this query.inthashCode()voidsetDeploymentId(String deploymentId) The id of the deployment that served this query.voidsetEnvironmentId(String environmentId) The id of the environment that served this query.voidsetEnvironmentName(String environmentName) The short name of the environment that served this query.voidsetExecutionDurationS(double executionDurationS) Execution duration in seconds.voidsetQueryHash(String queryHash) Deterministic hash of the 'structure' of the query.voidsetQueryId(String queryId) A unique ID generated and persisted by Chalk for this query.voidsetQueryTimestamp(ZonedDateTime queryTimestamp) At the start of query execution, Chalk computes 'datetime.now()'.voidsetTraceId(String traceId) Associated trace ID for this query.toString()
-
Constructor Details
-
QueryMeta
public QueryMeta() -
QueryMeta
-
-
Method Details
-
getExecutionDurationS
public double getExecutionDurationS()Execution duration in seconds. -
getDeploymentId
The id of the deployment that served this query. -
getEnvironmentId
The id of the environment that served this query. Not intended to be human-readable,but helpful for support. -
getEnvironmentName
The short name of the environment that served this query. For example: "dev" or "prod". -
getQueryId
A unique ID generated and persisted by Chalk for this query. All computed features, metrics, and logs are associated with this ID. Your system can store this ID for audit and debugging workflows. -
getQueryTimestamp
At the start of query execution, Chalk computes 'datetime.now()'. This value is used to timestamp computed features. -
getQueryHash
Deterministic hash of the 'structure' of the query. Queries that have the same input/output features will typically have the same hash; changes may be observed over time as we adjust implementation details. -
getTraceId
Associated trace ID for this query. Instrumental for debugging. -
setExecutionDurationS
public void setExecutionDurationS(double executionDurationS) Execution duration in seconds. -
setDeploymentId
The id of the deployment that served this query. -
setEnvironmentId
The id of the environment that served this query. Not intended to be human-readable,but helpful for support. -
setEnvironmentName
The short name of the environment that served this query. For example: "dev" or "prod". -
setQueryId
A unique ID generated and persisted by Chalk for this query. All computed features, metrics, and logs are associated with this ID. Your system can store this ID for audit and debugging workflows. -
setQueryTimestamp
At the start of query execution, Chalk computes 'datetime.now()'. This value is used to timestamp computed features. -
setQueryHash
Deterministic hash of the 'structure' of the query. Queries that have the same input/output features will typically have the same hash; changes may be observed over time as we adjust implementation details. -
setTraceId
Associated trace ID for this query. Instrumental for debugging. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-