SourcePropertiesUtil¶
getKeyFormat¶
FormatInfo getKeyFormat(
CreateSourceProperties properties,
SourceName sourceName)
getKeyFormat requests the given CreateSourceProperties for getKeyFormat of the SourceName (if available) or throws an IllegalStateException:
Key format not present
getKeyFormat is used when:
CreateSourceFactoryis requested to buildFormatsDefaultSchemaInjectoris requested togetKeySchema,addSchemaFieldsSchemaRegisterInjectoris requested to registerForCreateSource
getValueFormat¶
FormatInfo getValueFormat(
CreateSourceProperties properties)
getValueFormat requests the given CreateSourceProperties for getValueFormat (if available) or throws an IllegalStateException:
Value format not present
getValueFormat is used when:
CreateSourceFactoryis requested to buildFormatsDefaultSchemaInjectoris requested togetValueSchema,addSchemaFieldsSchemaRegisterInjectoris requested to registerForCreateSource