Class PgxFrameReader<PgxFrameReaderType extends PgxFrameReader<PgxFrameReaderType>>

    • Method Detail

      • autodetectColumns

        public PgxFrameReaderType autodetectColumns​(boolean autodetectColumn)
        enables or disables the autodetection of columns from the table Not all formats support autodetection of the columns (only DB in fact)
        Parameters:
        autodetectColumn - boolean denoting if the columns should be autodetected
        Returns:
        this loader
      • columns

        public PgxFrameReaderType columns​(ColumnDescriptor... columnDescriptors)
        sets the columns to be loaded from their columnDescriptors
        Parameters:
        columnDescriptors - ColumnDescriptors array containing the to be loaded columns
        Returns:
        this loader
      • loadAsync

        public abstract PgxFuture<PgxFrame> loadAsync​(java.lang.String... uris)
        trigger the async loading of the PgxFrame
        Parameters:
        uris - array denoting the uris
        Returns:
        the future for the result of the operation
      • load

        public PgxFrame load​(java.lang.String... uris)
                      throws java.lang.InterruptedException,
                             java.util.concurrent.ExecutionException
        triggers the loading of the PgxFrame
        Parameters:
        uris - array denoting the uris
        Returns:
        the loaded frame
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException