@Operator public final class StagePeek extends PrimitiveOp implements Iterable<Operand<Object>>
underlying container does not contain sufficient elements this op will block until it does. This Op is optimized for performance.
Modifier and Type | Class and Description |
---|---|
static class |
StagePeek.Options
Optional attributes for
StagePeek |
operation
Modifier and Type | Method and Description |
---|---|
static StagePeek.Options |
capacity(Long capacity) |
static StagePeek.Options |
container(String container) |
static StagePeek |
create(Scope scope,
Operand<Integer> index,
List<Class<?>> dtypes,
StagePeek.Options... options)
Factory method to create a class wrapping a new StagePeek operation.
|
Iterator<Operand<Object>> |
iterator() |
static StagePeek.Options |
memoryLimit(Long memoryLimit) |
static StagePeek.Options |
sharedName(String sharedName) |
List<Output<?>> |
values() |
equals, hashCode, op, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static StagePeek create(Scope scope, Operand<Integer> index, List<Class<?>> dtypes, StagePeek.Options... options)
scope
- current scopeindex
- dtypes
- options
- carries optional attributes valuespublic static StagePeek.Options capacity(Long capacity)
capacity
- public static StagePeek.Options memoryLimit(Long memoryLimit)
memoryLimit
- public static StagePeek.Options container(String container)
container
- public static StagePeek.Options sharedName(String sharedName)
sharedName
- Copyright © 2022. All rights reserved.