Table of Contents

Class RecordBatch

Namespace
Org.Apache.Kafka.Common.Record
Assembly
MASES.KNet.dll
public class RecordBatch : Iterable<Record>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<Record>, IEnumerable, IAsyncEnumerable<Record>, IIterable<Record>, IRecordBatch
Inheritance
JVMBridgeBase
JVMBridgeBase<Iterable<Record>>
JVMBridgeBaseEnumerable<Iterable<Record>>
JVMBridgeBaseEnumerable<Iterable<Record>, Record>
RecordBatch
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
IEnumerableExtension
Derived
Inherited Members
JVMBridgeBaseEnumerable<Iterable<Record>, Record>.GetEnumerator()
JVMBridgeBaseEnumerable<Iterable<Record>>.GetEnumerator()
JVMBridgeBase<Iterable<Record>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Iterable<Record>>.IsAssignableFrom<T>()
JVMBridgeBase<Iterable<Record>>.Execute<T>(params T[])
JVMBridgeBase<Iterable<Record>>.DynBridgeClazz
JVMBridgeBase<Iterable<Record>>.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.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

RecordBatch()

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

[Obsolete("RecordBatch 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 RecordBatch()

RecordBatch(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("RecordBatch 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 RecordBatch(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CURRENT_MAGIC_VALUE

public static byte CURRENT_MAGIC_VALUE { get; }

Property Value

byte

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MAGIC_VALUE_V0

public static byte MAGIC_VALUE_V0 { get; }

Property Value

byte

MAGIC_VALUE_V1

public static byte MAGIC_VALUE_V1 { get; }

Property Value

byte

MAGIC_VALUE_V2

public static byte MAGIC_VALUE_V2 { get; }

Property Value

byte

NO_PARTITION_LEADER_EPOCH

public static int NO_PARTITION_LEADER_EPOCH { get; }

Property Value

int

NO_PRODUCER_EPOCH

public static short NO_PRODUCER_EPOCH { get; }

Property Value

short

NO_PRODUCER_ID

public static long NO_PRODUCER_ID { get; }

Property Value

long

NO_SEQUENCE

public static int NO_SEQUENCE { get; }

Property Value

int

NO_TIMESTAMP

public static long NO_TIMESTAMP { get; }

Property Value

long

Methods

BaseOffset()

public long BaseOffset()

Returns

long

long

BaseSequence()

public int BaseSequence()

Returns

int

int

Checksum()

public long Checksum()

Returns

long

long

CompressionType()

public CompressionType CompressionType()

Returns

CompressionType

CompressionType

CountOrNull()

public Integer CountOrNull()

Returns

Integer

Integer

DeleteHorizonMs()

public OptionalLong DeleteHorizonMs()

Returns

OptionalLong

OptionalLong

EnsureValid()

public void EnsureValid()

HasProducerId()

public bool HasProducerId()

Returns

bool

bool

IsCompressed()

public bool IsCompressed()

Returns

bool

bool

IsControlBatch()

public bool IsControlBatch()

Returns

bool

bool

IsTransactional()

public bool IsTransactional()

Returns

bool

bool

IsValid()

public bool IsValid()

Returns

bool

bool

LastOffset()

public long LastOffset()

Returns

long

long

LastSequence()

public int LastSequence()

Returns

int

int

Magic()

public byte Magic()

Returns

byte

byte

MaxTimestamp()

public long MaxTimestamp()

Returns

long

long

NextOffset()

public long NextOffset()

Returns

long

long

OffsetOfMaxTimestamp()

public Optional<Long> OffsetOfMaxTimestamp()

Returns

Optional<Long>

Optional

PartitionLeaderEpoch()

public int PartitionLeaderEpoch()

Returns

int

int

ProducerEpoch()

public short ProducerEpoch()

Returns

short

short

ProducerId()

public long ProducerId()

Returns

long

long

SizeInBytes()

public int SizeInBytes()

Returns

int

int

StreamingIterator(BufferSupplier)

public CloseableIterator<Record> StreamingIterator(BufferSupplier arg0)

Parameters

arg0 BufferSupplier

BufferSupplier

Returns

CloseableIterator<Record>

CloseableIterator

TimestampType()

public TimestampType TimestampType()

Returns

TimestampType

TimestampType

WriteTo(ByteBuffer)

public void WriteTo(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer