Class KafkaConsumerRecords<K,V>
java.lang.Object
io.vertx.mutiny.kafka.client.consumer.KafkaConsumerRecords<K,V>
Vert.x Kafka consumer records
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.smallrye.mutiny.vertx.TypeArg<KafkaConsumerRecords> final io.smallrye.mutiny.vertx.TypeArg<K> final io.smallrye.mutiny.vertx.TypeArg<V> -
Constructor Summary
ConstructorsConstructorDescriptionKafkaConsumerRecords(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate) KafkaConsumerRecords(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate, io.smallrye.mutiny.vertx.TypeArg<K> typeArg_0, io.smallrye.mutiny.vertx.TypeArg<V> typeArg_1) KafkaConsumerRecords(Object delegate, io.smallrye.mutiny.vertx.TypeArg<K> typeArg_0, io.smallrye.mutiny.vertx.TypeArg<V> typeArg_1) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.kafka.client.consumer.KafkaConsumerRecordsinthashCode()booleanisEmpty()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, io.smallrye.mutiny.vertx.TypeArg<K> __typeArg_K, io.smallrye.mutiny.vertx.TypeArg<V> __typeArg_V) recordAt(int index) intsize()toString()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
__typeArg_1
-
-
Constructor Details
-
KafkaConsumerRecords
public KafkaConsumerRecords(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate) -
KafkaConsumerRecords
-
KafkaConsumerRecords
-
-
Method Details
-
getDelegate
public io.vertx.kafka.client.consumer.KafkaConsumerRecords getDelegate() -
toString
-
equals
-
hashCode
public int hashCode() -
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
- 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, io.smallrye.mutiny.vertx.TypeArg<K> __typeArg_K, io.smallrye.mutiny.vertx.TypeArg<V> __typeArg_V)
-