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:
CreateSourceFactory
is requested to buildFormatsDefaultSchemaInjector
is requested togetKeySchema
,addSchemaFields
SchemaRegisterInjector
is 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:
CreateSourceFactory
is requested to buildFormatsDefaultSchemaInjector
is requested togetValueSchema
,addSchemaFields
SchemaRegisterInjector
is requested to registerForCreateSource