@Test public void assertGetColumnLabel() throws SQLException { MemoryQueryResult queryResult = new MemoryQueryResult(getResultSet()); assertThat(queryResult.getColumnLabel(1), is("order_id")); }
@Override public String getColumnLabel(final int columnIndex) throws SQLException { return queryResultMetaData.getColumnLabel(columnIndex); }
MemoryQueryResult implements QueryResult { @Override public String getColumnLabel(final int columnIndex) throws SQLException { return queryResultMetaData.getColumnLabel(columnIndex); } }
MemoryQueryResult implements QueryResult { @Override public String getColumnLabel(final int columnIndex) throws SQLException { return queryResultMetaData.getColumnLabel(columnIndex); } MemoryQueryResult(final ResultSet resultSet, final ShardingRule shardingRule);  MemoryQueryResult(final ResultSet resultSet, final EncryptRule encryptRule);  MemoryQueryResult(final ResultSet resultSet); }
MemoryQueryResult implements QueryResult { @Override public String getColumnLabel(final int columnIndex) throws SQLException { return queryResultMetaData.getColumnLabel(columnIndex); } MemoryQueryResult(final ResultSet resultSet, final ShardingRule shardingRule);  MemoryQueryResult(final ResultSet resultSet, final EncryptRule encryptRule);  MemoryQueryResult(final ResultSet resultSet); @Override boolean next(); @Override Object getValue(final int columnIndex, final Class<?> type); @Override Object getValue(final String columnLabel, final Class<?> type); @Override Object getCalendarValue(final int columnIndex, final Class<?> type, final Calendar calendar); @Override Object getCalendarValue(final String columnLabel, final Class<?> type, final Calendar calendar); @Override InputStream getInputStream(final int columnIndex, final String type); @Override InputStream getInputStream(final String columnLabel, final String type); @Override boolean wasNull(); @Override boolean isCaseSensitive(final int columnIndex); @Override int getColumnCount(); @Override String getColumnLabel(final int columnIndex); }
MemoryQueryResult implements QueryResult { @Override public String getColumnLabel(final int columnIndex) throws SQLException { return queryResultMetaData.getColumnLabel(columnIndex); } MemoryQueryResult(final ResultSet resultSet, final ShardingRule shardingRule);  MemoryQueryResult(final ResultSet resultSet, final EncryptRule encryptRule);  MemoryQueryResult(final ResultSet resultSet); @Override boolean next(); @Override Object getValue(final int columnIndex, final Class<?> type); @Override Object getValue(final String columnLabel, final Class<?> type); @Override Object getCalendarValue(final int columnIndex, final Class<?> type, final Calendar calendar); @Override Object getCalendarValue(final String columnLabel, final Class<?> type, final Calendar calendar); @Override InputStream getInputStream(final int columnIndex, final String type); @Override InputStream getInputStream(final String columnLabel, final String type); @Override boolean wasNull(); @Override boolean isCaseSensitive(final int columnIndex); @Override int getColumnCount(); @Override String getColumnLabel(final int columnIndex);  }