Interface SqmTranslatorFactory

All Known Implementing Classes:
StandardSqmTranslatorFactory

@SPI({IMPLEMENT,SUPPLY}) public interface SqmTranslatorFactory

Global integration contract for creating single-use SQM-to-SQL-AST translators.

This factory is not a Dialect extension point. Database-local structural differences belong in focused Dialect capabilities. Framework integrations may supply a factory through QueryEngineOptions and must consume only the supported SqmTranslationRequest input.

A supplied factory is shared by the query engine and must be thread-safe. It must return a fresh translator for every request and must not retain the request after translation.

See Also: