Klasse EvaluateQueryRangeOperationSpec
java.lang.Object
io.github.primelib.prometheus4j.spec.EvaluateQueryRangeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class EvaluateQueryRangeOperationSpec
extends Object
EvaluateQueryRangeSpec
Specification for the EvaluateQueryRange operation.
Evaluates query over range of time.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedEvaluateQueryRangeOperationSpec(String query, String start, String end, String step, String timeout) Constructs a validated instance ofEvaluateQueryRangeOperationSpec.Constructs a validated instance ofEvaluateQueryRangeOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable Stringend()End timestamp.End timestamp.booleaninthashCode()@NotNull Stringquery()Prometheus expression query string.Prometheus expression query string.@Nullable Stringstart()Start timestamp.Start timestamp.@Nullable Stringstep()Query resolution step width indurationformat or float number of seconds.Query resolution step width indurationformat or float number of seconds.@Nullable Stringtimeout()Evaluation timeout.Evaluation timeout.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
EvaluateQueryRangeOperationSpec
Constructs a validated instance ofEvaluateQueryRangeOperationSpec.- Parameter:
spec- the specification to process
-
EvaluateQueryRangeOperationSpec
@Internal public EvaluateQueryRangeOperationSpec(String query, String start, String end, String step, String timeout) Constructs a validated instance ofEvaluateQueryRangeOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
query- Prometheus expression query string.start- Start timestamp.end- End timestamp.step- Query resolution step width indurationformat or float number of seconds.timeout- Evaluation timeout. Optional. Defaults to and is capped by the value of the-query.timeoutflag.
-
EvaluateQueryRangeOperationSpec
protected EvaluateQueryRangeOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
query
Prometheus expression query string. -
start
Start timestamp. -
end
End timestamp. -
step
Query resolution step width indurationformat or float number of seconds. -
timeout
Evaluation timeout. Optional. Defaults to and is capped by the value of the-query.timeoutflag. -
query
Prometheus expression query string.- Gibt zurück:
this.
-
start
Start timestamp.- Gibt zurück:
this.
-
end
End timestamp.- Gibt zurück:
this.
-
step
Query resolution step width indurationformat or float number of seconds.- Gibt zurück:
this.
-
timeout
Evaluation timeout. Optional. Defaults to and is capped by the value of the-query.timeoutflag.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-