接口的使用
org.apache.pulsar.common.protocol.schema.SchemaVersion
使用SchemaVersion的程序包
程序包
说明
Common protocol.
Classes to work with schemas.
Implementation of the common of the pulsar schema.
-
org.apache.pulsar.common.protocol中SchemaVersion的使用
修饰符和类型方法说明static io.netty.buffer.ByteBufCommands.newGetOrCreateSchemaResponse(long requestId, SchemaVersion schemaVersion) static BaseCommandCommands.newGetOrCreateSchemaResponseCommand(long requestId, SchemaVersion schemaVersion) static io.netty.buffer.ByteBufCommands.newGetSchemaResponse(long requestId, SchemaInfo schemaInfo, SchemaVersion version) static BaseCommandCommands.newGetSchemaResponseCommand(long requestId, SchemaInfo schemaInfo, SchemaVersion version) static io.netty.buffer.ByteBufCommands.newProducerSuccess(long requestId, String producerName, long lastSequenceId, SchemaVersion schemaVersion, Optional<Long> topicEpoch, boolean isProducerReady) static io.netty.buffer.ByteBufCommands.newProducerSuccess(long requestId, String producerName, SchemaVersion schemaVersion) static BaseCommandCommands.newProducerSuccessCommand(long requestId, String producerName, long lastSequenceId, SchemaVersion schemaVersion, Optional<Long> topicEpoch, boolean isProducerReady) static BaseCommandCommands.newProducerSuccessCommand(long requestId, String producerName, SchemaVersion schemaVersion) 类型变量类型为SchemaVersion的org.apache.pulsar.common.protocol中的方法参数修饰符和类型方法说明static io.netty.buffer.ByteBufCommands.newGetSchema(long requestId, String topic, Optional<SchemaVersion> version) -
org.apache.pulsar.common.protocol.schema中SchemaVersion的使用
修饰符和类型类说明classBytes schema version.final classEmpty schema version.final classLatest schema version.修饰符和类型字段说明static final SchemaVersionSchemaVersion.Emptystatic final SchemaVersionSchemaVersion.Latestfinal SchemaVersionStoredSchema.version返回变量类型为SchemaVersion的类型的org.apache.pulsar.common.protocol.schema中的方法修饰符和类型方法说明default CompletableFuture<SchemaVersion>SchemaStorage.put(String key, Function<CompletableFuture<List<CompletableFuture<StoredSchema>>>, CompletableFuture<org.apache.commons.lang3.tuple.Pair<byte[], byte[]>>> fn) Put the schema to the schema storage. -
org.apache.pulsar.common.schema中SchemaVersion的使用