Class KafkaConsumerRecords<K,V>
java.lang.Object
io.vertx.rxjava3.kafka.client.consumer.KafkaConsumerRecords<K,V>
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<KafkaConsumerRecords> final io.vertx.lang.rx.TypeArg<K> final io.vertx.lang.rx.TypeArg<V> -
Constructor Summary
ConstructorsConstructorDescriptionKafkaConsumerRecords(KafkaConsumerRecords delegate) KafkaConsumerRecords(Object delegate, io.vertx.lang.rx.TypeArg<K> typeArg_0, io.vertx.lang.rx.TypeArg<V> typeArg_1) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisEmpty()static <K,V> KafkaConsumerRecords <K, V> static <K,V> KafkaConsumerRecords <K, V> newInstance(KafkaConsumerRecords arg, io.vertx.lang.rx.TypeArg<K> __typeArg_K, io.vertx.lang.rx.TypeArg<V> __typeArg_V) recordAt(int index) Get the record at the given indexintsize()toString()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
__typeArg_1
-
-
Constructor Details
-
KafkaConsumerRecords
-
KafkaConsumerRecords
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
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
Get the record at the given index- Parameters:
index- the index of the record to get- Returns:
-
newInstance
-
newInstance
public static <K,V> KafkaConsumerRecords<K,V> newInstance(KafkaConsumerRecords arg, io.vertx.lang.rx.TypeArg<K> __typeArg_K, io.vertx.lang.rx.TypeArg<V> __typeArg_V)
-