Class KafkaConsumerRecords<K,V>
java.lang.Object
io.vertx.mutiny.kafka.client.consumer.KafkaConsumerRecords<K,V>
- All Implemented Interfaces:
MutinyDelegate
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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKafkaConsumerRecords
(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate) KafkaConsumerRecords
(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate, TypeArg<K> typeArg_0, TypeArg<V> typeArg_1) -
Method Summary
Modifier and TypeMethodDescriptionboolean
io.vertx.kafka.client.consumer.KafkaConsumerRecords
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) recordAt
(int index) int
size()
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()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
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, TypeArg<K> __typeArg_K, TypeArg<V> __typeArg_V)
-