Class KafkaConsumerRecords<K,V>
- java.lang.Object
-
- io.vertx.mutiny.kafka.client.consumer.KafkaConsumerRecords<K,V>
-
public class KafkaConsumerRecords<K,V> extends Object
Vert.x Kafka consumer records NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<KafkaConsumerRecords>
__TYPE_ARG
TypeArg<K>
__typeArg_0
TypeArg<V>
__typeArg_1
-
Constructor Summary
Constructors Constructor Description KafkaConsumerRecords(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate)
KafkaConsumerRecords(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate, TypeArg<K> typeArg_0, TypeArg<V> typeArg_1)
KafkaConsumerRecords(Object delegate, TypeArg<K> typeArg_0, TypeArg<V> typeArg_1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
io.vertx.kafka.client.consumer.KafkaConsumerRecords
getDelegate()
int
hashCode()
boolean
isEmpty()
static <K,V>
KafkaConsumerRecords<K,V>newInstance(io.vertx.kafka.client.consumer.KafkaConsumerRecords arg)
static <K,V>
KafkaConsumerRecords<K,V>newInstance(io.vertx.kafka.client.consumer.KafkaConsumerRecords arg, TypeArg<K> __typeArg_K, TypeArg<V> __typeArg_V)
KafkaConsumerRecord<K,V>
recordAt(int index)
int
size()
String
toString()
-
-
-
Method Detail
-
getDelegate
public io.vertx.kafka.client.consumer.KafkaConsumerRecords getDelegate()
-
size
public int size()
- Returns:
- the total number of records in this batch
-
isEmpty
public boolean isEmpty()
- Returns:
- whether this batch contains any records
-
recordAt
public KafkaConsumerRecord<K,V> recordAt(int index)
- Parameters:
index
- the index of the record to get- Returns:
-
newInstance
public static <K,V> KafkaConsumerRecords<K,V> newInstance(io.vertx.kafka.client.consumer.KafkaConsumerRecords arg)
-
newInstance
public static <K,V> KafkaConsumerRecords<K,V> newInstance(io.vertx.kafka.client.consumer.KafkaConsumerRecords arg, TypeArg<K> __typeArg_K, TypeArg<V> __typeArg_V)
-
-