T - The type of the elements in the cache intermediate result.@Internal
public class CacheTransformation<T>
extends org.apache.flink.api.dag.Transformation<T>
CacheTransformation represents the intermediate result of the
upper stream should be cached when it is computed at the first time. And it consumes the cached
intermediate result in later jobs. In stream mode, it has no affect.| 构造器和说明 |
|---|
CacheTransformation(org.apache.flink.api.dag.Transformation<T> transformationToCache,
String name)
Creates a new
Transformation with the given name, output type and parallelism. |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.util.AbstractID |
getDatasetId() |
List<org.apache.flink.api.dag.Transformation<?>> |
getInputs() |
org.apache.flink.api.dag.Transformation<T> |
getTransformationToCache() |
List<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
boolean |
isCached() |
void |
setCached(boolean cached) |
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, updateManagedMemoryStateBackendUseCasepublic List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors 在类中 org.apache.flink.api.dag.Transformation<T>public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
getInputs 在类中 org.apache.flink.api.dag.Transformation<T>public org.apache.flink.util.AbstractID getDatasetId()
public org.apache.flink.api.dag.Transformation<T> getTransformationToCache()
public void setCached(boolean cached)
public boolean isCached()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.