SerdeFeaturesFactory¶
sanitizeKeyFormat¶
KeyFormat sanitizeKeyFormat(
KeyFormat keyFormat,
List<SqlType> newKeyColumnSqlTypes,
boolean allowKeyFormatChangeToSupportNewKeySchema)
sanitizeKeyFormat...FIXME
sanitizeKeyFormat is used when:
SchemaKGroupedStreamis requested toaggregateandgetKeyFormatSchemaKStreamis requested to selectKey and groupBySchemaKTableis requested toselectKeyandgroupBy
sanitizeKeyFormatForTypeCompatibility¶
KeyFormat sanitizeKeyFormatForTypeCompatibility(
KeyFormat keyFormat,
List<SqlType> sqlTypes)
sanitizeKeyFormatForTypeCompatibility requests the given KeyFormat for the FormatInfo to create a Format.
sanitizeKeyFormatForTypeCompatibility returns the KeyFormat if every SqlType (in the given sqlTypes collection) is supported as a key type by the Format.
Otherwise, sanitizeKeyFormatForTypeCompatibility convertToJsonFormat the given KeyFormat.