@Test public void getColumnNamesReturnsEmptyCollectionWhenNoColumns() { SpannerRowMetadata metadata = new SpannerRowMetadata(ResultSetMetadata.getDefaultInstance()); assertThat(metadata.getColumnNames()).isEmpty(); }
@Override public Collection<String> getColumnNames() { return this.columnNames; }
SpannerRowMetadata implements RowMetadata { @Override public Collection<String> getColumnNames() { return this.columnNames; } }
SpannerRowMetadata implements RowMetadata { @Override public Collection<String> getColumnNames() { return this.columnNames; } SpannerRowMetadata(ResultSetMetadata resultSetMetadata); }
SpannerRowMetadata implements RowMetadata { @Override public Collection<String> getColumnNames() { return this.columnNames; } SpannerRowMetadata(ResultSetMetadata resultSetMetadata); @Override ColumnMetadata getColumnMetadata(int index); @Override ColumnMetadata getColumnMetadata(String identifier); @Override Iterable<? extends ColumnMetadata> getColumnMetadatas(); @Override Collection<String> getColumnNames(); }
SpannerRowMetadata implements RowMetadata { @Override public Collection<String> getColumnNames() { return this.columnNames; } SpannerRowMetadata(ResultSetMetadata resultSetMetadata); @Override ColumnMetadata getColumnMetadata(int index); @Override ColumnMetadata getColumnMetadata(String identifier); @Override Iterable<? extends ColumnMetadata> getColumnMetadatas(); @Override Collection<String> getColumnNames();  }