类的使用
org.apache.flink.iteration.datacache.nonkeyed.Segment
-
使用Segment的程序包 程序包 说明 org.apache.flink.iteration.datacache.nonkeyed -
-
org.apache.flink.iteration.datacache.nonkeyed中Segment的使用
返回变量类型为Segment的类型的org.apache.flink.iteration.datacache.nonkeyed中的方法 修饰符和类型 方法 说明 List<Segment>DataCacheWriter. finish()Finishes adding records and closes resources occupied for adding records.List<Segment>DataCacheSnapshot. getSegments()List<Segment>DataCacheWriter. getSegments()Flushes all added records to segments and returns a list of segments containing all cached records.类型变量类型为Segment的org.apache.flink.iteration.datacache.nonkeyed中的构造器参数 构造器 说明 DataCacheReader(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, List<Segment> segments)DataCacheReader(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, List<Segment> segments, org.apache.flink.api.java.tuple.Tuple2<Integer,Integer> readerPosition)DataCacheSnapshot(org.apache.flink.core.fs.FileSystem fileSystem, org.apache.flink.api.java.tuple.Tuple2<Integer,Integer> readerPosition, List<Segment> segments)DataCacheWriter(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, org.apache.flink.core.fs.FileSystem fileSystem, org.apache.flink.util.function.SupplierWithException<org.apache.flink.core.fs.Path,IOException> pathGenerator, List<Segment> priorFinishedSegments)DataCacheWriter(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, org.apache.flink.core.fs.FileSystem fileSystem, org.apache.flink.util.function.SupplierWithException<org.apache.flink.core.fs.Path,IOException> pathGenerator, org.apache.flink.table.runtime.util.MemorySegmentPool segmentPool, List<Segment> priorFinishedSegments)
-