Package codes.grow.packages.tempo
Class SearchRequest.Builder
java.lang.Object
codes.grow.packages.tempo.SearchRequest.Builder
- Enclosing class:
SearchRequest
Builder of
SearchRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the request.Sets the window end (sent as epoch seconds, rounded up).limit(int limit) Sets the maximum number of traces.spss(int spss) Sets the maximum spans returned per spanset (matchedstill counts all).Sets the window start (sent as epoch seconds, rounded down).Sets the TraceQL query from a builder.Sets the TraceQL query text.
-
Method Details
-
traceql
Sets the TraceQL query text.- Parameters:
traceql- query- Returns:
- this builder
-
traceql
Sets the TraceQL query from a builder.- Parameters:
traceql- query builder- Returns:
- this builder
-
start
Sets the window start (sent as epoch seconds, rounded down).- Parameters:
start- start ornull- Returns:
- this builder
-
end
Sets the window end (sent as epoch seconds, rounded up).- Parameters:
end- end ornull- Returns:
- this builder
-
limit
Sets the maximum number of traces.- Parameters:
limit- positive number- Returns:
- this builder
-
spss
Sets the maximum spans returned per spanset (matchedstill counts all).- Parameters:
spss- positive number- Returns:
- this builder
-
build
Builds the request.- Returns:
- request
-