Skip to content

LokiQueryType🔗

Definition🔗

package com.grafana.foundation.loki.LokiQueryType;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;


@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum LokiQueryType {
    RANGE("range"),
    INSTANT("instant"),
    STREAM("stream"),
    _EMPTY("");

    private final String value;

    private LokiQueryType(String value) {
        this.value = value;
    }

    @JsonValue
    public String Value() {
        return value;
    }
}