Class TimestampConverter<R>
- Namespace
- Org.Apache.Kafka.Connect.Transforms
- Assembly
- MASES.KNet.dll
public class TimestampConverter<R> : JVMBridgeBase<TimestampConverter<R>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ITransformation<R>, IVersioned where R : ConnectRecord<R>
Type Parameters
- Inheritance
-
TimestampConverter<R>
- Implements
- Derived
- Inherited Members
-
JVMBridgeBase<TimestampConverter<R>>.SExecuteWithSignature<TReturn>(string, string, params object[])
Constructors
TimestampConverter()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("TimestampConverter class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TimestampConverter()
TimestampConverter(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
[Obsolete("TimestampConverter class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TimestampConverter(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CONFIG_DEF
public static ConfigDef CONFIG_DEF { get; }
Property Value
FIELD_CONFIG
public static String FIELD_CONFIG { get; }
Property Value
FORMAT_CONFIG
public static String FORMAT_CONFIG { get; }
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 Closeable
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; }
Property Value
OPTIONAL_TIMESTAMP_SCHEMA
public static Schema OPTIONAL_TIMESTAMP_SCHEMA { get; }
Property Value
OPTIONAL_TIME_SCHEMA
public static Schema OPTIONAL_TIME_SCHEMA { get; }
Property Value
OVERVIEW_DOC
public static String OVERVIEW_DOC { get; }
Property Value
REPLACE_NULL_WITH_DEFAULT_CONFIG
public static String REPLACE_NULL_WITH_DEFAULT_CONFIG { get; }
Property Value
TARGET_TYPE_CONFIG
public static String TARGET_TYPE_CONFIG { get; }
Property Value
UNIX_PRECISION_CONFIG
public static String UNIX_PRECISION_CONFIG { get; }
Property Value
Methods
Apply(R)
public R Apply(R arg0)
Parameters
arg0
RR
Returns
- R
R
Close()
public void Close()
ConfigMethod()
public ConfigDef ConfigMethod()
Returns
Configure(Map<String, object>)
public void Configure(Map<String, object> arg0)
Parameters
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
t
TimestampConverter<R>
Returns
implicit operator TimestampConverter(TimestampConverter<R>)
Converter from TimestampConverter<R> to TimestampConverter
public static implicit operator TimestampConverter(TimestampConverter<R> t)
Parameters
t
TimestampConverter<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
t
TimestampConverter<R>