![JAR search and dependency download from the Maven repository](/logo.png)
com.envision.eos.event.api.expression.DateExpr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enos-event-api Show documentation
Show all versions of enos-event-api Show documentation
1.0 初版
1.1 增加了event的flag和custom_attr字段。
1.2 规范了api的命名
The newest version!
package com.envision.eos.event.api.expression;
import java.io.IOException;
import com.envision.eos.event.api.bo.EventVisitor;
import com.envision.eos.event.api.expression.Column.DataType;
public class DateExpr extends Expression{
private static final long serialVersionUID = 1L;
private Column column;
public DateExpr(Column column) {
if(column.getDataType()!=DataType.TIME) {
throw new IllegalArgumentException(
"This column does not apply to date() functions because it is not a date time");
}
this.column=column;
}
public DateExpr() {
}
public Column getColumn() {
return column;
}
public void setColumn(Column column) {
this.column = column;
}
@Override
public void accept(EventVisitor visitor) throws IOException {
visitor.visit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy