Package io.trino.plugin.base
Class Versions
java.lang.Object
io.trino.plugin.base.Versions
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckStrictSpiVersionMatch(ConnectorContext context, ConnectorFactory connectorFactory) Check if the SPI version of the Trino server matches exactly the SPI version the connector plugin was built for.
-
Method Details
-
checkStrictSpiVersionMatch
public static void checkStrictSpiVersionMatch(ConnectorContext context, ConnectorFactory connectorFactory) Check if the SPI version of the Trino server matches exactly the SPI version the connector plugin was built for. Using plugins built for a different version of Trino may fail at runtime, especially if plugin author chooses not to maintain compatibility with older SPI versions, as happens for plugins maintained together with the Trino project.
-