Class SchemaHelper
- java.lang.Object
-
- org.apache.camel.kafkaconnector.utils.SchemaHelper
-
public final class SchemaHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.kafka.connect.data.SchemaBuilderbuildSchemaBuilderForType(Object value)Try to build aSchemaBuilderfor a value of typeObjectHowever, this will only build the schema only for known types, in case it can not return the precise SchemaBuilder type it will return an optionalSchema.Type
-
-
-
Method Detail
-
buildSchemaBuilderForType
public static org.apache.kafka.connect.data.SchemaBuilder buildSchemaBuilderForType(Object value)
Try to build aSchemaBuilderfor a value of typeObjectHowever, this will only build the schema only for known types, in case it can not return the precise SchemaBuilder type it will return an optionalSchema.Type- Parameters:
value- to return the SchemaBuilder for- Returns:
SchemaBuilderinstance
-
-