Search in sources :

Example 1 with SQL

use of com.twosigma.beakerx.sql.kernel.SQL in project beakerx by twosigma.

the class SQLKernelTest method createKernel.

@Override
protected Kernel createKernel(String sessionId, KernelSocketsFactory kernelSocketsFactory, CloseKernelAction closeKernelAction) {
    SQLEvaluator sqlEvaluator = new SQLEvaluator(sessionId, sessionId, cellExecutor(), getTestTempFolderFactory(), kernelParameters());
    sqlEvaluator.setShellOptions(kernelParameters());
    Kernel sqlKernel = new SQL(sessionId, sqlEvaluator, kernelSocketsFactory, closeKernelAction, getCacheFolderFactory());
    return sqlKernel;
}
Also used : SQLEvaluator(com.twosigma.beakerx.sql.evaluator.SQLEvaluator) Kernel(com.twosigma.beakerx.kernel.Kernel) SQL(com.twosigma.beakerx.sql.kernel.SQL)

Aggregations

Kernel (com.twosigma.beakerx.kernel.Kernel)1 SQLEvaluator (com.twosigma.beakerx.sql.evaluator.SQLEvaluator)1 SQL (com.twosigma.beakerx.sql.kernel.SQL)1