Interface SchemaDiscoveryProvider
- All Known Implementing Classes:
OracleDomainSchemaDiscoveryProvider, OracleDualityViewSchemaDiscoveryProvider
public interface SchemaDiscoveryProvider
SPI for retrieving JSON Schema documents from pluggable sources.
Implementations are selected by stable provider id. Built-in providers are
registered directly; custom providers are loaded through
ServiceLoader.- Since:
- 2.2.0
-
Method Summary
Modifier and TypeMethodDescriptiondiscover(SchemaDiscoveryContext context, SourceSpec source) Discover schemas for the supplied source specification.default Stringdefault booleanusesJdbc()
-
Method Details
-
providerId
String providerId()- Returns:
- Stable provider id used in source configuration
-
usesJdbc
default boolean usesJdbc()- Returns:
truewhen this provider uses the shared JDBC connection configured for the record-generation pipeline
-
sourceScope
- Returns:
- Source-level diagnostic scope used when discovery fails before object-level diagnostics can be emitted
-
discover
Discover schemas for the supplied source specification.- Parameters:
context- The discovery contextsource- The source specification- Returns:
- The discovery result
- Throws:
Exception- If discovery fails
-