use of com.twosigma.beakerx.sql.evaluator.SQLEvaluator in project beakerx by twosigma.
the class SQLAutocompleteTest method setUp.
@Before
public void setUp() throws Exception {
sqlEvaluator = new SQLEvaluator("shellId1", "sessionId1", cellExecutor(), getTestTempFolderFactory(), kernelParameters());
sqlEvaluator.setShellOptions(kernelParameters());
kernelTest = new KernelTest("id1", sqlEvaluator);
}
use of com.twosigma.beakerx.sql.evaluator.SQLEvaluator in project beakerx by twosigma.
the class SQLBaseEvaluatorTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
evaluator = new SQLEvaluator("shellId1", "sessionId1", cellExecutor(), getTestTempFolderFactory(), kernelParameters());
evaluator.setShellOptions(kernelParameters());
}
use of com.twosigma.beakerx.sql.evaluator.SQLEvaluator 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;
}
use of com.twosigma.beakerx.sql.evaluator.SQLEvaluator in project beakerx by twosigma.
the class SQL method main.
public static void main(final String[] args) throws InterruptedException, IOException {
KernelRunner.run(() -> {
String id = uuid();
KernelSocketsFactoryImpl kernelSocketsFactory = new KernelSocketsFactoryImpl(new KernelConfigurationFile(args));
SQLEvaluator evaluator = new SQLEvaluator(id, id, getKernelParameters());
return new SQL(id, evaluator, kernelSocketsFactory);
});
}
use of com.twosigma.beakerx.sql.evaluator.SQLEvaluator in project beakerx by twosigma.
the class SQLEvaluatorTest method setUp.
@Before
public void setUp() throws Exception {
sqlEvaluator = new SQLEvaluator("shellId1", "sessionId1", cellExecutor(), getTestTempFolderFactory(), kernelParameters());
sqlEvaluator.setShellOptions(kernelParameters());
kernelTest = new KernelTest("1", sqlEvaluator);
KernelManager.register(kernelTest);
}
Aggregations