Class TimestampConverter<R>
- Namespace
- Org.Apache.Kafka.Connect.Transforms
- Assembly
- MASES.KNet.dll
public class TimestampConverter<R> : JVMBridgeBase<TimestampConverter<R>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ITransformation<R>, IVersioned where R : ConnectRecord<R>
Type Parameters
- Inheritance
-
TimestampConverter<R>
- Implements
- Derived
Constructors
TimestampConverter()
public TimestampConverter()
TimestampConverter(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TimestampConverter(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CONFIG_DEF
public static ConfigDef CONFIG_DEF { get; set; }
Property Value
FIELD_CONFIG
public static String FIELD_CONFIG { get; set; }
Property Value
FORMAT_CONFIG
public static String FORMAT_CONFIG { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
OPTIONAL_DATE_SCHEMA
public static Schema OPTIONAL_DATE_SCHEMA { get; set; }
Property Value
OPTIONAL_TIMESTAMP_SCHEMA
public static Schema OPTIONAL_TIMESTAMP_SCHEMA { get; set; }
Property Value
OPTIONAL_TIME_SCHEMA
public static Schema OPTIONAL_TIME_SCHEMA { get; set; }
Property Value
OVERVIEW_DOC
public static String OVERVIEW_DOC { get; set; }
Property Value
REPLACE_NULL_WITH_DEFAULT_CONFIG
public static String REPLACE_NULL_WITH_DEFAULT_CONFIG { get; set; }
Property Value
TARGET_TYPE_CONFIG
public static String TARGET_TYPE_CONFIG { get; set; }
Property Value
UNIX_PRECISION_CONFIG
public static String UNIX_PRECISION_CONFIG { get; set; }
Property Value
Methods
Apply(R)
public R Apply(R arg0)
Parameters
arg0RR
Returns
- R
R
Close()
public void Close()
ConfigMethod()
public ConfigDef ConfigMethod()
Returns
Configure(Map<String, object>)
public void Configure(Map<String, object> arg0)
Parameters
CreatePoolableInstance()
HPA initializer for TimestampConverter()
public static TimestampConverter<R> CreatePoolableInstance()
Returns
Version()
public String Version()
Returns
Operators
implicit operator Versioned(TimestampConverter<R>)
Converter from TimestampConverter<R> to Versioned
public static implicit operator Versioned(TimestampConverter<R> t)
Parameters
tTimestampConverter<R>
Returns
implicit operator TimestampConverter(TimestampConverter<R>)
Converter from TimestampConverter<R> to TimestampConverter
public static implicit operator TimestampConverter(TimestampConverter<R> t)
Parameters
tTimestampConverter<R>
Returns
implicit operator Transformation<R>(TimestampConverter<R>)
Converter from TimestampConverter<R> to Transformation<R>
public static implicit operator Transformation<R>(TimestampConverter<R> t)
Parameters
tTimestampConverter<R>