类的使用
org.apache.pulsar.common.api.proto.KeyValue
使用KeyValue的程序包
-
org.apache.pulsar.common.api.proto中KeyValue的使用
修饰符和类型方法说明CommandProducer.addMetadata()CommandSubscribe.addMetadata()EncryptionKeys.addMetadata()MessageMetadata.addProperty()Schema.addProperty()SingleMessageMetadata.addProperty()CommandSubscribe.addSubscriptionProperty()KeyValue.clear()KeyValue.clearKey()KeyValue.clearValue()CommandProducer.getMetadataAt(int idx) CommandSubscribe.getMetadataAt(int idx) EncryptionKeys.getMetadataAt(int idx) MessageMetadata.getPropertyAt(int idx) Schema.getPropertyAt(int idx) SingleMessageMetadata.getPropertyAt(int idx) CommandSubscribe.getSubscriptionPropertyAt(int idx) 返回变量类型为KeyValue的类型的org.apache.pulsar.common.api.proto中的方法修饰符和类型方法说明CommandProducer.getMetadatasList()CommandSubscribe.getMetadatasList()EncryptionKeys.getMetadatasList()MessageMetadata.getPropertiesList()Schema.getPropertiesList()SingleMessageMetadata.getPropertiesList()CommandSubscribe.getSubscriptionPropertiesList()类型变量类型为KeyValue的org.apache.pulsar.common.api.proto中的方法参数修饰符和类型方法说明CommandProducer.addAllMetadatas(Iterable<KeyValue> metadatas) CommandSubscribe.addAllMetadatas(Iterable<KeyValue> metadatas) EncryptionKeys.addAllMetadatas(Iterable<KeyValue> metadatas) MessageMetadata.addAllProperties(Iterable<KeyValue> properties) Schema.addAllProperties(Iterable<KeyValue> properties) SingleMessageMetadata.addAllProperties(Iterable<KeyValue> properties) CommandSubscribe.addAllSubscriptionProperties(Iterable<KeyValue> subscriptionProperties)