-
Interfaces Interface Description io.trino.plugin.jdbc.JdbcConnectorFactory.JdbcModuleProvider PreferJdbcConnectorFactory(String, Module)instead. Notice thatCatalogNameis available in guice context.
-
Methods Method Description io.trino.plugin.jdbc.BaseJdbcClient.legacyToPrestoType(ConnectorSession, Connection, JdbcTypeHandle) Each connector should provide its own explicit type mapping, along with respective tests.io.trino.plugin.jdbc.BaseJdbcClient.legacyToWriteMapping(ConnectorSession, Type) Each connector should provide its own explicit type mapping, along with respective tests.io.trino.plugin.jdbc.JdbcTableHandle.getCatalogName() UseasPlainTable().getRemoteTableName().getCatalogName()instead, but see those methods for more information, as this is not a drop-in replacement.io.trino.plugin.jdbc.JdbcTableHandle.getRemoteTableName() UseasPlainTable().getRemoteTableName()instead, but see those methods for more information, as this is not a drop-in replacement.io.trino.plugin.jdbc.JdbcTableHandle.getSchemaName() UseasPlainTable().getRemoteTableName().getSchemaName()instead, but see those methods for more information, as this is not a drop-in replacement.io.trino.plugin.jdbc.JdbcTableHandle.getSchemaTableName() UseasPlainTable().getSchemaTableName()instead, but see those methods for more information, as this is not a drop-in replacement.io.trino.plugin.jdbc.JdbcTableHandle.getTableName() UseasPlainTable().getRemoteTableName().getTableName()instead, but see those methods for more information, as this is not a drop-in replacement.io.trino.plugin.jdbc.StandardColumnMappings.jdbcTypeToPrestoType(JdbcTypeHandle) Each connector should provide its own explicit type mapping, along with respective tests.io.trino.plugin.jdbc.StandardColumnMappings.timeColumnMappingUsingSqlTime() This method usesTimeand the class cannot represent time value when JVM zone had forward offset change (a 'gap') at given time on 1970-01-01. If driver only supportsLocalTime, useStandardColumnMappings.timeColumnMapping(io.trino.spi.type.TimeType)instead.io.trino.plugin.jdbc.StandardColumnMappings.timestampColumnMapping() io.trino.plugin.jdbc.StandardColumnMappings.timestampColumnMappingUsingSqlTimestamp(TimestampType) This method usesTimestampand the class cannot represent date-time value when JVM zone had forward offset change (a 'gap'). This includes regular DST changes (e.g. Europe/Warsaw) and one-time policy changes (Asia/Kathmandu's shift by 15 minutes on January 1, 1986, 00:00:00). If driver only supportsLocalDateTime, useStandardColumnMappings.timestampColumnMapping()instead.io.trino.plugin.jdbc.StandardColumnMappings.timestampWriteFunctionUsingSqlTimestamp(TimestampType) This method usesTimestampand the class cannot represent date-time value when JVM zone had forward offset change (a 'gap'). This includes regular DST changes (e.g. Europe/Warsaw) and one-time policy changes (Asia/Kathmandu's shift by 15 minutes on January 1, 1986, 00:00:00). If driver only supportsLocalDateTime, useStandardColumnMappings.timestampWriteFunction(io.trino.spi.type.TimestampType)instead.io.trino.plugin.jdbc.StandardColumnMappings.timeWriteFunctionUsingSqlTime() This method usesTimeand the class cannot represent time value when JVM zone had forward offset change (a 'gap') at given time on 1970-01-01. If driver only supportsLocalTime, useStandardColumnMappings.timeWriteFunction(int)instead.
-
Constructors Constructor Description io.trino.plugin.jdbc.ColumnMapping(Type, ReadFunction, WriteFunction, PredicatePushdownController) Prefer factory methods instead over calling constructor directly.io.trino.plugin.jdbc.JdbcColumnHandle(String, JdbcTypeHandle, Type, boolean) UseJdbcColumnHandle.builder()instead.io.trino.plugin.jdbc.JdbcConnectorFactory(String, JdbcConnectorFactory.JdbcModuleProvider) PreferJdbcConnectorFactory(String, Module)instead. Notice thatCatalogNameis available in guice context.io.trino.plugin.jdbc.JdbcTableHandle(SchemaTableName, String, String, String) io.trino.plugin.jdbc.JdbcTypeHandle(int, Optional<String>, int, int, Optional<Integer>)