@Test public void testJsonRoundTrip() { assertJsonRoundTrip(COLUMN_CODEC, new JdbcColumnHandle("connectorId", "columnName", JDBC_VARCHAR, VARCHAR)); }
@Test public void testJsonRoundTrip() { JdbcOutputTableHandle handle = new JdbcOutputTableHandle( "connectorId", "catalog", "schema", "table", ImmutableList.of("abc", "xyz"), ImmutableList.of(VARCHAR, VARCHAR), "tmp_table"); assertJsonRoundTrip(OUTPUT_TABLE_CODEC, handle); } }
@Test public void testJsonRoundTrip() { assertJsonRoundTrip(TABLE_CODEC, new JdbcTableHandle("connectorId", new SchemaTableName("schema", "table"), "jdbcCatalog", "jdbcSchema", "jdbcTable")); }
@Test public void testJsonRoundTrip() { assertJsonRoundTrip(COLUMN_CODEC, new JdbcColumnHandle("connectorId", "columnName", JDBC_VARCHAR, VARCHAR)); }
@Test public void testJsonRoundTrip() { JdbcOutputTableHandle handle = new JdbcOutputTableHandle( "connectorId", "catalog", "schema", "table", ImmutableList.of("abc", "xyz"), ImmutableList.of(VARCHAR, VARCHAR), "tmp_table"); assertJsonRoundTrip(OUTPUT_TABLE_CODEC, handle); } }
@Test public void testJsonRoundTrip() { assertJsonRoundTrip(TABLE_CODEC, new JdbcTableHandle("connectorId", new SchemaTableName("schema", "table"), "jdbcCatalog", "jdbcSchema", "jdbcTable")); }