FilterWindowedInAOutB

abstract class FilterWindowedInAOutB[A, B, C, S <: Shape](name: String, layer: Layer, shape: S)(inlet: In[A], outlet: Out[B])(implicit a: Allocator, val aTpe: DataType[A], val bTpe: DataType[B]) extends Handlers[S] with WindowedInAOutB[A, B, C]
trait WindowedInAOutB[A, B, C]
class Handlers[S]
class NodeImpl[S]
trait Node
class GraphStageLogic
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class SubSinkInlet[T]
Inherited from:
GraphStageLogic
Inherited from:
GraphStageLogic

Deprecated and Inherited classlikes

@deprecated("Should move to using Handlers", since = "2.35.1")
abstract class InHandlerImpl[A](in: In[A]) extends InHandler
Deprecated
[Since version 2.35.1]
Inherited from:
NodeImpl

Value members

Inherited methods

final def async(body: => Unit): Unit
Inherited from:
NodeImpl
final def cancelStage(cause: Throwable): Unit
Inherited from:
GraphStageLogic
protected def clearWindowTail(): Unit
Inherited from:
WindowedInAOutB
def completeAsync(): Future[Unit]
Inherited from:
NodeImpl
final def completeStage(): Unit
Inherited from:
GraphStageLogic
final def failAsync(ex: Exception): Unit
Inherited from:
NodeImpl
final def failStage(ex: Throwable): Unit
Inherited from:
GraphStageLogic
final def getAsyncCallback[T](handler: T => Unit): AsyncCallback[T]
Inherited from:
GraphStageLogic
final def grabIn[A](in: Inlet[A]): A

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isAvailable[T](out: Outlet[T]): Boolean
Inherited from:
GraphStageLogic
final def isInAvailable[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isInClosed[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isOutAvailable[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isOutClosed[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def launch(): Unit
Inherited from:
NodeImpl
final def launchAsync(): Future[Unit]
Inherited from:
NodeImpl
protected def newWindowBuffer(n: Int): Array[C]
Inherited from:
WindowedInAOutB
final protected def notifyFail(ex: Throwable): Unit
Inherited from:
NodeImpl
protected def onDone(inlet: Inlet[_]): Unit
Inherited from:
WindowedInAOutB
final override def postStop(): Unit

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Definition Classes
Inherited from:
Node
final override def preStart(): Unit

Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

Definition Classes
Inherited from:
Node
@tailrec
final protected def process(): Unit
Inherited from:
WindowedInAOutB
protected def processWindow(): Unit

Called after a window has been fully read in.

Called after a window has been fully read in.

Inherited from:
WindowedInAOutB
final def pushOut[A](out: Outlet[A], elem: A): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def readIntoWindow(n: Int): Unit

Reads in a number of frames.

Reads in a number of frames.

Inherited from:
WindowedInAOutB
protected def readWinSize: Long

The default number of frames to read in per window equals the window buffer size

The default number of frames to read in per window equals the window buffer size

Inherited from:
WindowedInAOutB
final def setInHandler[A](in: Inlet[A], handler: InHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def setOutHandler[A](out: Outlet[A], handler: OutHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def stageActor: StageActor
Inherited from:
GraphStageLogic
override protected def stopped(): Unit
Definition Classes
Inherited from:
WindowedInAOutB
override def toString: String
Definition Classes
NodeImpl -> GraphStageLogic -> Any
Inherited from:
NodeImpl
protected def tryObtainWinParams(): Boolean

Tries to prepare the parameters for the next window. If successful, returns true otherwise false. If successful, it must be possible to successively call winBufSize.

Tries to prepare the parameters for the next window. If successful, returns true otherwise false. If successful, it must be possible to successively call winBufSize.

Inherited from:
WindowedInAOutB
final def tryPullIn[A](in: Inlet[A]): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def winBufSize: Int

The size for the window buffer, or zero if this buffer should no be used. This can be polled multiple times per window, the element might thus need to be saved (in tryObtainWinParams()). In most cases, it will be sufficient to poll the value in tryObtainWinParams and implement winBufSize by calling the value method of the corresponding input handler.

The size for the window buffer, or zero if this buffer should no be used. This can be polled multiple times per window, the element might thus need to be saved (in tryObtainWinParams()). In most cases, it will be sufficient to poll the value in tryObtainWinParams and implement winBufSize by calling the value method of the corresponding input handler.

Inherited from:
WindowedInAOutB
protected def writeFromWindow(n: Int): Unit

Writes out a number of frames.

Writes out a number of frames.

Inherited from:
WindowedInAOutB
protected def writeWinSize: Long

The number of frames to write out per window. This is polled once after processWindow. The default equals the window buffer size (winBufSize). If an implementation wants to truncate the last window when the input terminates, it should override fullLastWindow to return false, in which case the default implementation of writeWinSize will return ``

The number of frames to write out per window. This is polled once after processWindow. The default equals the window buffer size (winBufSize). If an implementation wants to truncate the last window when the input terminates, it should override fullLastWindow to return false, in which case the default implementation of writeWinSize will return ``

Inherited from:
WindowedInAOutB

Concrete fields

final protected val hIn: InMain[A]
final protected val hOut: OutMain[B]

Inherited fields

protected val fullLastWindow: Boolean
Inherited from:
WindowedInAOutB
final protected var readOff: Long
Inherited from:
WindowedInAOutB
final protected var readRem: Long
Inherited from:
WindowedInAOutB
final protected var winBuf: Array[C]
Inherited from:
WindowedInAOutB
final protected var writeOff: Long
Inherited from:
WindowedInAOutB
final protected var writeRem: Long
Inherited from:
WindowedInAOutB

Implicits

Implicits

implicit protected val aTpe: DataType[A]
implicit protected val bTpe: DataType[B]

Inherited implicits

final implicit override val allocator: Allocator
Inherited from:
NodeImpl
final implicit override val control: Control
Inherited from:
NodeImpl