use of com.twosigma.beakerx.kernel.Kernel 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;
}
Aggregations