Table of Contents

Class SimpleRecord

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

Constructors

SimpleRecord()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public SimpleRecord()

SimpleRecord(ByteBuffer)

public SimpleRecord(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

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

SimpleRecord(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

public SimpleRecord(params object[] args)

Parameters

args object[]

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 Closeable

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

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