@Internal public class StreamConfig extends Object implements Serializable
StreamOperator
. This is created and populated by the
StreamingJobGraphGenerator
.Constructor and Description |
---|
StreamConfig(Configuration config) |
public StreamConfig(Configuration config)
public Configuration getConfiguration()
public void setVertexID(Integer vertexID)
public Integer getVertexID()
public void setTimeCharacteristic(TimeCharacteristic characteristic)
public TimeCharacteristic getTimeCharacteristic()
public void setTypeSerializerIn1(TypeSerializer<?> serializer)
public void setTypeSerializerIn2(TypeSerializer<?> serializer)
public void setTypeSerializerOut(TypeSerializer<?> serializer)
public void setTypeSerializerSideOut(OutputTag<?> outputTag, TypeSerializer<?> serializer)
public <T> TypeSerializer<T> getTypeSerializerIn1(ClassLoader cl)
public <T> TypeSerializer<T> getTypeSerializerIn2(ClassLoader cl)
public <T> TypeSerializer<T> getTypeSerializerOut(ClassLoader cl)
public <T> TypeSerializer<T> getTypeSerializerSideOut(OutputTag<?> outputTag, ClassLoader cl)
public void setBufferTimeout(long timeout)
public long getBufferTimeout()
public boolean isFlushAlwaysEnabled()
public void setStreamOperator(StreamOperator<?> operator)
public <T extends StreamOperator<?>> T getStreamOperator(ClassLoader cl)
public void setOutputSelectors(List<OutputSelector<?>> outputSelectors)
public <T> List<OutputSelector<T>> getOutputSelectors(ClassLoader userCodeClassloader)
public void setIterationId(String iterationId)
public String getIterationId()
public void setIterationWaitTime(long time)
public long getIterationWaitTime()
public void setNumberOfInputs(int numberOfInputs)
public int getNumberOfInputs()
public void setNumberOfOutputs(int numberOfOutputs)
public int getNumberOfOutputs()
public void setNonChainedOutputs(List<StreamEdge> outputvertexIDs)
public List<StreamEdge> getNonChainedOutputs(ClassLoader cl)
public void setChainedOutputs(List<StreamEdge> chainedOutputs)
public List<StreamEdge> getChainedOutputs(ClassLoader cl)
public void setOutEdges(List<StreamEdge> outEdges)
public List<StreamEdge> getOutEdges(ClassLoader cl)
public void setInPhysicalEdges(List<StreamEdge> inEdges)
public List<StreamEdge> getInPhysicalEdges(ClassLoader cl)
public void setCheckpointingEnabled(boolean enabled)
public boolean isCheckpointingEnabled()
public void setCheckpointMode(CheckpointingMode mode)
public CheckpointingMode getCheckpointMode()
public void setOutEdgesInOrder(List<StreamEdge> outEdgeList)
public List<StreamEdge> getOutEdgesInOrder(ClassLoader cl)
public void setTransitiveChainedTaskConfigs(Map<Integer,StreamConfig> chainedTaskConfigs)
public Map<Integer,StreamConfig> getTransitiveChainedTaskConfigs(ClassLoader cl)
public Map<Integer,StreamConfig> getTransitiveChainedTaskConfigsWithSelf(ClassLoader cl)
public void setOperatorID(OperatorID operatorID)
public OperatorID getOperatorID()
public void setOperatorName(String name)
public String getOperatorName()
public void setChainIndex(int index)
public int getChainIndex()
public void setStateBackend(StateBackend backend)
public StateBackend getStateBackend(ClassLoader cl)
public byte[] getSerializedStateBackend()
public void setStatePartitioner(int input, KeySelector<?,?> partitioner)
public KeySelector<?,Serializable> getStatePartitioner(int input, ClassLoader cl)
public void setStateKeySerializer(TypeSerializer<?> serializer)
public <K> TypeSerializer<K> getStateKeySerializer(ClassLoader cl)
public void setChainStart()
public boolean isChainStart()
public void setChainEnd()
public boolean isChainEnd()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.