Class KeyValueMapper<K, V, VR, TJVMK, TJVMV, TJVMVR>
KNet extension of KeyValueMapper<K, V, VR>
public class KeyValueMapper<K, V, VR, TJVMK, TJVMV, TJVMVR> : KeyValueMapper<TJVMK, TJVMV, TJVMVR>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IKeyValueMapper<TJVMK, TJVMV, TJVMVR>, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IGenericSerDesFactoryApplier
Type Parameters
Kkey value type
Vfirst value type
VRjoined value type
TJVMKThe JVM type of
KTJVMVThe JVM type of
VTJVMVRThe JVM type of
VR
- Inheritance
-
KeyValueMapper<TJVMK, TJVMV, TJVMVR>KeyValueMapper<K, V, VR, TJVMK, TJVMV, TJVMVR>
- Implements
-
IKeyValueMapper<TJVMK, TJVMV, TJVMVR>
- Derived
- Inherited Members
Constructors
KeyValueMapper()
public KeyValueMapper()
Properties
Factory
Returns the current IGenericSerDesFactory
protected IGenericSerDesFactory Factory { get; }
Property Value
OnApply
public Func<K, V, VR> OnApply { get; set; }
Property Value
- Func<K, V, VR>
Remarks
If OnApply has a value it takes precedence over corresponding class method
Methods
Apply(K, V)
public virtual VR Apply(K arg0, V arg1)
Parameters
arg0KKarg1VV
Returns
- VR
VR
Apply(TJVMK, TJVMV)
public override TJVMVR Apply(TJVMK arg0, TJVMV arg1)
Parameters
arg0TJVMKKarg1TJVMVV
Returns
- TJVMVR
VR
DisposeResult(TJVMVR)
Disposes the results of the Apply(K, V) or OnApply operations
protected virtual void DisposeResult(TJVMVR result)
Parameters
resultTJVMVRThe result to be disposed