public class Twister2Environment extends EntryPoint
Modifier and Type | Method and Description |
---|---|
KeyedSourceTSet |
createKeyedSource(byte[] lambda,
int parallelism) |
SourceTSet |
createSource(byte[] lambda,
int parallelism) |
TSetFunctions |
functions() |
Config |
getConfig() |
NumpyHolderBuilder |
getNumpyBuilder() |
java.util.Map<java.lang.Integer,java.lang.String> |
getPeerNetworkInfo() |
int |
getWorkerId() |
SourceTSet |
parallelize(java.util.List data,
int parallelism) |
KeyedSourceTSet |
parallelize(java.util.Map map,
java.util.Comparator comparator,
int parallelism) |
KeyedSourceTSet |
parallelize(java.util.Map map,
int parallelism) |
close, waitForCompletion
public java.util.Map<java.lang.Integer,java.lang.String> getPeerNetworkInfo()
public int getWorkerId()
public Config getConfig()
public SourceTSet createSource(byte[] lambda, int parallelism)
public SourceTSet parallelize(java.util.List data, int parallelism)
public KeyedSourceTSet parallelize(java.util.Map map, int parallelism)
public KeyedSourceTSet parallelize(java.util.Map map, java.util.Comparator comparator, int parallelism)
public KeyedSourceTSet createKeyedSource(byte[] lambda, int parallelism)
public TSetFunctions functions()
public NumpyHolderBuilder getNumpyBuilder()