use of edu.iu.dsc.tws.api.config.Config in project twister2 by DSC-SPIDAL.
the class PipeExample method main.
public static void main(String[] args) {
Config config = ResourceAllocator.loadConfig(new HashMap<>());
JobConfig jobConfig = new JobConfig();
BatchTsetExample.submitJob(config, PARALLELISM, jobConfig, PipeExample.class.getName());
}
use of edu.iu.dsc.tws.api.config.Config in project twister2 by DSC-SPIDAL.
the class SetSchemaExample method main.
public static void main(String[] args) {
Config config = ResourceAllocator.loadConfig(new HashMap<>());
JobConfig jobConfig = new JobConfig();
BatchTsetExample.submitJob(config, 2, jobConfig, SetSchemaExample.class.getName());
}
use of edu.iu.dsc.tws.api.config.Config in project twister2 by DSC-SPIDAL.
the class UnionExample method main.
public static void main(String[] args) {
Config config = ResourceAllocator.loadConfig(new HashMap<>());
JobConfig jobConfig = new JobConfig();
BatchTsetExample.submitJob(config, PARALLELISM, jobConfig, UnionExample.class.getName());
}
use of edu.iu.dsc.tws.api.config.Config in project twister2 by DSC-SPIDAL.
the class PartitionExample method main.
public static void main(String[] args) {
Config config = ResourceAllocator.loadConfig(new HashMap<>());
JobConfig jobConfig = new JobConfig();
BatchTsetExample.submitJob(config, PARALLELISM, jobConfig, PartitionExample.class.getName());
}
use of edu.iu.dsc.tws.api.config.Config in project twister2 by DSC-SPIDAL.
the class CheckpointingExample method main.
public static void main(String[] args) {
HashMap<String, Object> map = new HashMap<>();
// map.put("twister2.checkpointing.enable", true);
Config config = ResourceAllocator.loadConfig(map);
JobConfig jobConfig = new JobConfig();
BatchTsetExample.submitJob(config, PAR, jobConfig, CheckpointingExample.class.getName());
}
Aggregations