Class SchemaUtils


  • public class SchemaUtils
    extends java.lang.Object
    • Method Detail

      • needsDataTypeUpdate

        public static Type.PrimitiveType needsDataTypeUpdate​(Type currentIcebergType,
                                                             org.apache.kafka.connect.data.Schema valueSchema)
      • createPartitionSpec

        public static PartitionSpec createPartitionSpec​(Schema schema,
                                                        java.util.List<java.lang.String> partitionBy)
      • toIcebergType

        public static Type toIcebergType​(org.apache.kafka.connect.data.Schema valueSchema,
                                         IcebergSinkConfig config)
      • inferIcebergType

        public static Type inferIcebergType​(java.lang.Object value,
                                            IcebergSinkConfig config)