- java.lang.Object
-
- io.annot8.components.db.content.DatabaseTable
-
- All Implemented Interfaces:
io.annot8.common.data.content.Table
public class DatabaseTable extends Object implements io.annot8.common.data.content.Table
-
-
Constructor Summary
Constructors Constructor Description DatabaseTable(io.annot8.common.data.content.TableMetadata metadata, JdbcSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnCount()Optional<List<String>>getColumnNames()intgetRowCount()Stream<io.annot8.common.data.content.Row>getRows()
-
-
-
Constructor Detail
-
DatabaseTable
public DatabaseTable(io.annot8.common.data.content.TableMetadata metadata, JdbcSettings settings)
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCountin interfaceio.annot8.common.data.content.Table
-
getRowCount
public int getRowCount()
- Specified by:
getRowCountin interfaceio.annot8.common.data.content.Table
-
getRows
public Stream<io.annot8.common.data.content.Row> getRows()
- Specified by:
getRowsin interfaceio.annot8.common.data.content.Table
-
-