All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.qlexpress4.runtime.QvmRuntime Maven / Gradle / Ivy

package com.alibaba.qlexpress4.runtime;

import java.util.Map;

/**
 * root runtime with external variable and function
 * Author: DQinYuan
 */
public class QvmRuntime implements QRuntime {

    private final Map attachments;

    private final ReflectLoader reflectLoader;

    private final long startTime;

    public QvmRuntime(Map attachments, ReflectLoader reflectLoader, long startTime) {
        this.attachments = attachments;
        this.reflectLoader = reflectLoader;
        this.startTime = startTime;
    }

    @Override
    public long scriptStartTimeStamp() {
        return startTime;
    }

    @Override
    public Map attachment() {
        return attachments;
    }

    public ReflectLoader getReflectLoader() {
        return reflectLoader;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy