Class SchemaHelper


  • public final class SchemaHelper
    extends Object
    • Method Detail

      • buildSchemaBuilderForType

        public static org.apache.kafka.connect.data.SchemaBuilder buildSchemaBuilderForType​(Object value)
        Try to build a SchemaBuilder for a value of type Object However, this will only build the schema only for known types, in case it can not return the precise SchemaBuilder type it will return an optional Schema.Type
        Parameters:
        value - to return the SchemaBuilder for
        Returns:
        SchemaBuilder instance