public abstract class ByteStringParser<T> extends GraphStage<FlowShape<ByteString,T>>
Modifier and Type | Class and Description |
---|---|
static class |
ByteStringParser.ByteReader |
static class |
ByteStringParser.FinishedParser$ |
static class |
ByteStringParser.ParseResult<T>
param: result - parser can return some element for downstream or return None if no element was generated in this step
and parsing should immediately continue with the next step.
|
static class |
ByteStringParser.ParseResult$ |
static interface |
ByteStringParser.ParseStep<T> |
static class |
ByteStringParser.ParsingException |
class |
ByteStringParser.ParsingLogic |
Constructor and Description |
---|
ByteStringParser() |
Modifier and Type | Method and Description |
---|---|
static Graph<S,M> |
addAttributes(Attributes attr) |
static Graph<S,M> |
async() |
static int |
CompactionThreshold() |
abstract static GraphStageLogic |
createLogic(Attributes inheritedAttributes) |
static scala.Tuple2<GraphStageLogic,NotUsed> |
createLogicAndMaterializedValue(Attributes inheritedAttributes) |
Attributes |
initialAttributes() |
static StreamLayout.Module |
module() |
static Graph<S,M> |
named(java.lang.String name) |
static java.lang.Exception |
NeedMoreData() |
FlowShape<ByteString,T> |
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.
|
static Graph<S,M> |
withAttributes(Attributes attr) |
createLogic, createLogicAndMaterializedValue
module, withAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributes, async, named
public static int CompactionThreshold()
public static java.lang.Exception NeedMoreData()
public static Graph<S,M> named(java.lang.String name)
public static Graph<S,M> async()
public static Graph<S,M> addAttributes(Attributes attr)
public static final StreamLayout.Module module()
public static final Graph<S,M> withAttributes(Attributes attr)
public static final scala.Tuple2<GraphStageLogic,NotUsed> createLogicAndMaterializedValue(Attributes inheritedAttributes)
public abstract static GraphStageLogic createLogic(Attributes inheritedAttributes) throws java.lang.Exception
java.lang.Exception
public Attributes initialAttributes()
initialAttributes
in class GraphStageWithMaterializedValue<FlowShape<ByteString,T>,NotUsed>
public final FlowShape<ByteString,T> shape()
Graph