Class DatabaseTable

  • All Implemented Interfaces:
    io.annot8.common.data.content.Table


    public class DatabaseTable
    extends java.lang.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
      int getColumnCount​()  
      java.util.Optional<java.util.List<java.lang.String>> getColumnNames​()  
      int getRowCount​()  
      java.util.stream.Stream<io.annot8.common.data.content.Row> getRows​()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.annot8.common.data.content.Table

        getRow
    • Constructor Detail

      • DatabaseTable

        public DatabaseTable​(io.annot8.common.data.content.TableMetadata metadata,
                             JDBCSettings settings)
    • Method Detail

      • getColumnCount

        public int getColumnCount​()
        Specified by:
        getColumnCount in interface io.annot8.common.data.content.Table
      • getRowCount

        public int getRowCount​()
        Specified by:
        getRowCount in interface io.annot8.common.data.content.Table
      • getRows

        public java.util.stream.Stream<io.annot8.common.data.content.Row> getRows​()
        Specified by:
        getRows in interface io.annot8.common.data.content.Table
      • getColumnNames

        public java.util.Optional<java.util.List<java.lang.String>> getColumnNames​()
        Specified by:
        getColumnNames in interface io.annot8.common.data.content.Table