Search in sources :

Example 6 with KernelSocketsFactoryImpl

use of com.twosigma.beakerx.kernel.KernelSocketsFactoryImpl 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);
    });
}
Also used : SQLEvaluator(com.twosigma.beakerx.sql.evaluator.SQLEvaluator) KernelConfigurationFile(com.twosigma.beakerx.kernel.KernelConfigurationFile) KernelSocketsFactoryImpl(com.twosigma.beakerx.kernel.KernelSocketsFactoryImpl)

Aggregations

KernelConfigurationFile (com.twosigma.beakerx.kernel.KernelConfigurationFile)6 KernelSocketsFactoryImpl (com.twosigma.beakerx.kernel.KernelSocketsFactoryImpl)6 ClojureEvaluator (com.twosigma.beakerx.clojure.evaluator.ClojureEvaluator)1 GroovyEvaluator (com.twosigma.beakerx.groovy.evaluator.GroovyEvaluator)1 JavaEvaluator (com.twosigma.beakerx.javash.evaluator.JavaEvaluator)1 KotlinEvaluator (com.twosigma.beakerx.kotlin.evaluator.KotlinEvaluator)1 ScalaEvaluator (com.twosigma.beakerx.scala.evaluator.ScalaEvaluator)1 SQLEvaluator (com.twosigma.beakerx.sql.evaluator.SQLEvaluator)1