Table of Contents

Class Reducer

Namespace
Org.Apache.Kafka.Streams.Kstream
Assembly
MASES.KNet.dll
public class Reducer : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
Reducer
Implements
Derived
Inherited Members

Constructors

Reducer()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Reducer()

Reducer(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Reducer(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnApply

public Func<object, object, object> OnApply { get; set; }

Property Value

Func<object, object, object>

Remarks

If OnApply has a value it takes precedence over corresponding class method

Methods

Apply(object, object)

public virtual object Apply(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

object

object

InitializeHandlers()

Handlers initializer for Reducer

protected virtual void InitializeHandlers()