| Package | Description |
|---|---|
| org.apache.pulsar.common.protocol |
Common protocol.
|
| org.apache.pulsar.common.protocol.schema |
Classes to work with schemas.
|
| org.apache.pulsar.common.schema |
Implementation of the common of the pulsar schema.
|
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
Commands.newGetOrCreateSchemaResponse(long requestId,
SchemaVersion schemaVersion) |
static PulsarApi.BaseCommand |
Commands.newGetOrCreateSchemaResponseCommand(long requestId,
SchemaVersion schemaVersion) |
static io.netty.buffer.ByteBuf |
Commands.newGetSchemaResponse(long requestId,
SchemaInfo schema,
SchemaVersion version) |
static PulsarApi.BaseCommand |
Commands.newGetSchemaResponseCommand(long requestId,
SchemaInfo schema,
SchemaVersion version) |
static io.netty.buffer.ByteBuf |
Commands.newProducerSuccess(long requestId,
String producerName,
long lastSequenceId,
SchemaVersion schemaVersion) |
static io.netty.buffer.ByteBuf |
Commands.newProducerSuccess(long requestId,
String producerName,
SchemaVersion schemaVersion) |
static PulsarApi.BaseCommand |
Commands.newProducerSuccessCommand(long requestId,
String producerName,
long lastSequenceId,
SchemaVersion schemaVersion) |
static PulsarApi.BaseCommand |
Commands.newProducerSuccessCommand(long requestId,
String producerName,
SchemaVersion schemaVersion) |
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
Commands.newGetSchema(long requestId,
String topic,
Optional<SchemaVersion> version) |
| Modifier and Type | Class and Description |
|---|---|
class |
BytesSchemaVersion
Bytes schema version.
|
class |
EmptyVersion
Empty schema version.
|
class |
LatestVersion
Latest schema version.
|
| Modifier and Type | Field and Description |
|---|---|
static SchemaVersion |
SchemaVersion.Empty |
static SchemaVersion |
SchemaVersion.Latest |
SchemaVersion |
StoredSchema.version |
| Modifier and Type | Method and Description |
|---|---|
SchemaVersion |
SchemaStorage.versionFromBytes(byte[] version) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<SchemaVersion> |
SchemaStorage.delete(String key) |
CompletableFuture<SchemaVersion> |
SchemaStorage.delete(String key,
boolean forcefully) |
CompletableFuture<SchemaVersion> |
SchemaStorage.put(String key,
byte[] value,
byte[] hash) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<StoredSchema> |
SchemaStorage.get(String key,
SchemaVersion version) |
| Constructor and Description |
|---|
StoredSchema(byte[] data,
SchemaVersion version) |
| Modifier and Type | Class and Description |
|---|---|
class |
LongSchemaVersion
Long schema version.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.