Package | Description |
---|---|
org.apache.pulsar.client.api.schema | |
org.apache.pulsar.client.internal |
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.withPojo(Class pojo)
Set schema of pojo definition
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withProperties(Map<String,String> properties)
Set schema info properties
|
SchemaDefinitionBuilder<T> |
SchemaDefinitionBuilder.withSupportSchemaVersioning(boolean supportSchemaVersioning)
Set schema whether decode by schema version
|
Modifier and Type | Method and Description |
---|---|
static <T> SchemaDefinitionBuilder<T> |
DefaultImplementation.newSchemaDefinitionBuilder() |
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.