Package | Description |
---|---|
org.apache.pulsar.client.api.schema |
Schema definitions for Pulsar Client API.
|
org.apache.pulsar.client.internal |
Helpers which provide useful functionality for the implementation of Pulsar Client API.
|
Modifier and Type | Method and Description |
---|---|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.addProperty(String key,
String value)
Set schema info properties.
|
static <T> SchemaDefinitionBuilder<T> |
SchemaDefinition.builder()
Get a new builder instance that can used to configure and build a
SchemaDefinition instance. |
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withAlwaysAllowNull(boolean alwaysAllowNull)
Set schema whether always allow null or not.
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withJsonDef(String jsonDefinition)
Set schema of json definition.
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withJSR310ConversionEnabled(boolean jsr310ConversionEnabled)
Set schema use JRS310 conversion or not.
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withPojo(Class pojo)
Set schema of pojo definition.
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withProperties(Map<String,String> properties)
Set schema info properties.
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withSchemaReader(SchemaReader<T> reader)
Set schema reader for deserialization of object data.
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withSchemaWriter(SchemaWriter<T> writer)
Set schema writer for serialization of objects.
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withSupportSchemaVersioning(boolean supportSchemaVersioning)
Set schema whether decode by schema version.
|
Modifier and Type | Method and Description |
---|---|
<T> SchemaDefinitionBuilder<T> |
PulsarClientImplementationBinding.newSchemaDefinitionBuilder() |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.