Table of Contents

Class TimestampExtractor<K, V, TJVMK, TJVMV>

Namespace
MASES.KNet.Streams.Processor
Assembly
MASES.KNet.dll

KNet extension of TimestampExtractor

public class TimestampExtractor<K, V, TJVMK, TJVMV> : TimestampExtractor, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, ITimestampExtractor, IJVMBridgeBase, IJVMBridgeDefinition, IGenericSerDesFactoryApplier

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
TimestampExtractor<K, V, TJVMK, TJVMV>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeAbstract

Properties

OnExtract

public Func<TimestampExtractor<K, V, TJVMK, TJVMV>, DateTime> OnExtract { get; set; }

Property Value

Func<TimestampExtractor<K, V, TJVMK, TJVMV>, DateTime>

Remarks

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

PartitionTime

The highest extracted valid DateTime of the current record's partition˙ (could be null if unknown)

public DateTime? PartitionTime { get; }

Property Value

DateTime?

Record

public ConsumerRecord<K, V, TJVMK, TJVMV> Record { get; }

Property Value

ConsumerRecord<K, V, TJVMK, TJVMV>

Methods

Extract()

public virtual DateTime Extract()

Returns

DateTime

The DateTime timestamp of the record

Extract(ConsumerRecord<object, object>, long)

public override sealed long Extract(ConsumerRecord<object, object> arg0, long arg1)

Parameters

arg0 ConsumerRecord<object, object>

ConsumerRecord

arg1 long

long

Returns

long

long