public final class FileSink extends SinkModule<ByteString,scala.concurrent.Future<IOResult>>
Constructor and Description |
---|
FileSink(java.nio.file.Path f,
long startPosition,
scala.collection.immutable.Set<java.nio.file.OpenOption> options,
Attributes attributes,
SinkShape<ByteString> shape) |
Modifier and Type | Method and Description |
---|---|
Attributes |
attributes() |
scala.Tuple2<org.reactivestreams.Subscriber<ByteString>,scala.concurrent.Future<IOResult>> |
create(MaterializationContext context) |
protected java.lang.String |
label() |
protected SinkModule<ByteString,scala.concurrent.Future<IOResult>> |
newInstance(SinkShape<ByteString> shape) |
SinkModule<ByteString,scala.concurrent.Future<IOResult>> |
withAttributes(Attributes attr) |
amendShape, carbonCopy, replaceShape, shape, toString
downstreams, inPorts, outPorts, subModules, upstreams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compose, compose, composeNoMat, equals, fuse, fuse, hashCode, isAtomic, isBidiFlow, isCopied, isFlow, isFused, isRunnable, isSealed, isSink, isSource, materializedValueComputation, transformMaterializedValue, wire
public FileSink(java.nio.file.Path f, long startPosition, scala.collection.immutable.Set<java.nio.file.OpenOption> options, Attributes attributes, SinkShape<ByteString> shape)
public Attributes attributes()
protected java.lang.String label()
label
in class SinkModule<ByteString,scala.concurrent.Future<IOResult>>
public scala.Tuple2<org.reactivestreams.Subscriber<ByteString>,scala.concurrent.Future<IOResult>> create(MaterializationContext context)
protected SinkModule<ByteString,scala.concurrent.Future<IOResult>> newInstance(SinkShape<ByteString> shape)
newInstance
in class SinkModule<ByteString,scala.concurrent.Future<IOResult>>
public SinkModule<ByteString,scala.concurrent.Future<IOResult>> withAttributes(Attributes attr)