
com.atlan.model.enums.QueryStatus Maven / Gradle / Ivy
// Generated by delombok at Tue Nov 26 17:04:59 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.enums;
import com.fasterxml.jackson.annotation.JsonValue;
public enum QueryStatus implements AtlanEnum {
/**
* Query run has been requested, but not yet started or completed.
*/
STARTED("started"), /**
* Query run is in progress (running).
*/
IN_PROGRESS("in-progress"), /**
* Query has completed running, successfully.
*/
COMPLETED("completed"), /**
* Some other operation on the query has completed, successfully.
* For example: it has been aborted or was only testing a connection.
*/
OK("ok"), /**
* There was an error running the query.
*/
ERROR("error");
@JsonValue
private final String value;
QueryStatus(String value) {
this.value = value;
}
public static QueryStatus fromValue(String value) {
for (QueryStatus b : QueryStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
@Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getValue() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy