first
Some checks failed
Reduce Adoc / reduce (push) Failing after 57s
Java Unit Test with Maven / test (push) Failing after 1m42s

This commit is contained in:
2025-12-29 13:59:13 +08:00
commit 2dfed7464e
555 changed files with 35895 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
package com.alibaba.qlexpress4.runtime.data;
import com.alibaba.qlexpress4.runtime.LeftValue;
/**
* Author: DQinYuan
*/
public class AssignableDataValue implements LeftValue {
private String symbolName;
private Object value;
private final Class<?> defineType;
public AssignableDataValue(String symbolName, Object value) {
this.symbolName = symbolName;
this.value = value;
this.defineType = null;
}
public AssignableDataValue(String symbolName, Object value, Class<?> defineType) {
this.symbolName = symbolName;
this.value = value;
this.defineType = defineType;
}
@Override
public void setInner(Object newValue) {
this.value = newValue;
}
@Override
public Object get() {
return value;
}
@Override
public Class<?> getDefinedType() {
return defineType;
}
@Override
public String getSymbolName() {
return symbolName;
}
}