public final class HeadOptionStage<T> extends GraphStageWithMaterializedValue<SinkShape<T>,scala.concurrent.Future<scala.Option<T>>>
Constructor and Description |
---|
HeadOptionStage() |
Modifier and Type | Method and Description |
---|---|
scala.Tuple2<GraphStageLogic,scala.concurrent.Future<scala.Option<T>>> |
createLogicAndMaterializedValue(Attributes inheritedAttributes) |
Inlet<T> |
in() |
SinkShape<T> |
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.
|
java.lang.String |
toString() |
initialAttributes, module, withAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAttributes, async, named
public SinkShape<T> shape()
Graph
public scala.Tuple2<GraphStageLogic,scala.concurrent.Future<scala.Option<T>>> createLogicAndMaterializedValue(Attributes inheritedAttributes)
createLogicAndMaterializedValue
in class GraphStageWithMaterializedValue<SinkShape<T>,scala.concurrent.Future<scala.Option<T>>>
public java.lang.String toString()
toString
in class java.lang.Object