Class View.ToListViewDoFn<T>

  • All Implemented Interfaces:
    java.io.Serializable, HasDisplayData
    Enclosing class:
    View

    @Internal
    public static class View.ToListViewDoFn<T>
    extends DoFn<T,​KV<java.lang.Long,​PCollectionViews.ValueOrMetadata<T,​OffsetRange>>>
    Provides an index to value mapping using a random starting index and also provides an offset range for each window seen. We use random offset ranges to minimize the chance that two ranges overlap increasing the odds that each "key" represents a single index.
    See Also:
    Serialized Form