Table of Contents

Class SimpleRecord

Namespace
Org.Apache.Kafka.Common.Record
Assembly
MASES.KNet.dll
public class SimpleRecord : JVMBridgeBase<SimpleRecord>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
SimpleRecord
Implements

Constructors

SimpleRecord(ByteBuffer)

public SimpleRecord(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

SimpleRecord(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 SimpleRecord(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

SimpleRecord(Record)

public SimpleRecord(Record arg0)

Parameters

arg0 Record

Record

SimpleRecord(byte[])

public SimpleRecord(byte[] arg0)

Parameters

arg0 byte[]

byte

SimpleRecord(byte[], byte[])

public SimpleRecord(byte[] arg0, byte[] arg1)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

SimpleRecord(long, ByteBuffer, ByteBuffer)

public SimpleRecord(long arg0, ByteBuffer arg1, ByteBuffer arg2)

Parameters

arg0 long

long

arg1 ByteBuffer

ByteBuffer

arg2 ByteBuffer

ByteBuffer

SimpleRecord(long, ByteBuffer, ByteBuffer, Header[])

public SimpleRecord(long arg0, ByteBuffer arg1, ByteBuffer arg2, Header[] arg3)

Parameters

arg0 long

long

arg1 ByteBuffer

ByteBuffer

arg2 ByteBuffer

ByteBuffer

arg3 Header[]

Header

SimpleRecord(long, byte[])

public SimpleRecord(long arg0, byte[] arg1)

Parameters

arg0 long

long

arg1 byte[]

byte

SimpleRecord(long, byte[], byte[])

public SimpleRecord(long arg0, byte[] arg1, byte[] arg2)

Parameters

arg0 long

long

arg1 byte[]

byte

arg2 byte[]

byte

SimpleRecord(long, byte[], byte[], Header[])

public SimpleRecord(long arg0, byte[] arg1, byte[] arg2, Header[] arg3)

Parameters

arg0 long

long

arg1 byte[]

byte

arg2 byte[]

byte

arg3 Header[]

Header

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreatePoolableInstance(ByteBuffer)

HPA initializer for SimpleRecord(Java.Nio.ByteBuffer arg0)

public static SimpleRecord CreatePoolableInstance(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

Returns

SimpleRecord

CreatePoolableInstance(Record)

HPA initializer for SimpleRecord(Org.Apache.Kafka.Common.Record.Record arg0)

public static SimpleRecord CreatePoolableInstance(Record arg0)

Parameters

arg0 Record

Returns

SimpleRecord

CreatePoolableInstance(byte[])

HPA initializer for SimpleRecord(byte[] arg0)

public static SimpleRecord CreatePoolableInstance(byte[] arg0)

Parameters

arg0 byte[]

Returns

SimpleRecord

CreatePoolableInstance(byte[], byte[])

HPA initializer for SimpleRecord(byte[] arg0, byte[] arg1)

public static SimpleRecord CreatePoolableInstance(byte[] arg0, byte[] arg1)

Parameters

arg0 byte[]
arg1 byte[]

Returns

SimpleRecord

CreatePoolableInstance(long, ByteBuffer, ByteBuffer)

HPA initializer for SimpleRecord(long arg0, Java.Nio.ByteBuffer arg1, Java.Nio.ByteBuffer arg2)

public static SimpleRecord CreatePoolableInstance(long arg0, ByteBuffer arg1, ByteBuffer arg2)

Parameters

arg0 long
arg1 ByteBuffer
arg2 ByteBuffer

Returns

SimpleRecord

CreatePoolableInstance(long, ByteBuffer, ByteBuffer, Header[])

HPA initializer for SimpleRecord(long arg0, Java.Nio.ByteBuffer arg1, Java.Nio.ByteBuffer arg2, Org.Apache.Kafka.Common.Header.Header[] arg3)

public static SimpleRecord CreatePoolableInstance(long arg0, ByteBuffer arg1, ByteBuffer arg2, Header[] arg3)

Parameters

arg0 long
arg1 ByteBuffer
arg2 ByteBuffer
arg3 Header[]

Returns

SimpleRecord

CreatePoolableInstance(long, byte[])

HPA initializer for SimpleRecord(long arg0, byte[] arg1)

public static SimpleRecord CreatePoolableInstance(long arg0, byte[] arg1)

Parameters

arg0 long
arg1 byte[]

Returns

SimpleRecord

CreatePoolableInstance(long, byte[], byte[])

HPA initializer for SimpleRecord(long arg0, byte[] arg1, byte[] arg2)

public static SimpleRecord CreatePoolableInstance(long arg0, byte[] arg1, byte[] arg2)

Parameters

arg0 long
arg1 byte[]
arg2 byte[]

Returns

SimpleRecord

CreatePoolableInstance(long, byte[], byte[], Header[])

HPA initializer for SimpleRecord(long arg0, byte[] arg1, byte[] arg2, Org.Apache.Kafka.Common.Header.Header[] arg3)

public static SimpleRecord CreatePoolableInstance(long arg0, byte[] arg1, byte[] arg2, Header[] arg3)

Parameters

arg0 long
arg1 byte[]
arg2 byte[]
arg3 Header[]

Returns

SimpleRecord

Headers()

public Header[] Headers()

Returns

Header[]

Header

Key()

public ByteBuffer Key()

Returns

ByteBuffer

ByteBuffer

Timestamp()

public long Timestamp()

Returns

long

long

Value()

public ByteBuffer Value()

Returns

ByteBuffer

ByteBuffer