
com.alipay.sofa.lookout.server.prom.ql.engine.Analysis Maven / Gradle / Ivy
The newest version!
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.alipay.sofa.lookout.server.prom.ql.engine;
import com.alipay.sofa.lookout.server.prom.ql.ast.Expr;
/**
* @author: [email protected]
* @create: 2019-04-29 18:08
**/
public class Analysis {
private Expr expr;
/**
* 是否可以使用原生查询功能
*/
private boolean useNative = false;
private long startTime;
private long endTime;
private long step;
public boolean isUseNative() {
return useNative;
}
public void setUseNative(boolean useNative) {
this.useNative = useNative;
}
public long getStartTime() {
return startTime;
}
public void setStartTime(long startTime) {
this.startTime = startTime;
}
public long getEndTime() {
return endTime;
}
public void setEndTime(long endTime) {
this.endTime = endTime;
}
public long getStep() {
return step;
}
public void setStep(long step) {
this.step = step;
}
public Expr getExpr() {
return expr;
}
public void setExpr(Expr expr) {
this.expr = expr;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy