Class StreamPartitioner
public class StreamPartitioner : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
StreamPartitioner
- Implements
- Derived
- Inherited Members
Constructors
StreamPartitioner()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public StreamPartitioner()
StreamPartitioner(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 StreamPartitioner(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
OnPartitions
public Func<String, object, object, int, Optional> OnPartitions { get; set; }
Property Value
Remarks
If OnPartitions has a value it takes precedence over corresponding class method
Methods
InitializeHandlers()
Handlers initializer for StreamPartitioner
protected virtual void InitializeHandlers()
Partitions(String, object, object, int)
public virtual Optional Partitions(String arg0, object arg1, object arg2, int arg3)