Class PgxGenericFrameReader

    • Constructor Detail

      • PgxGenericFrameReader

        public PgxGenericFrameReader​(PgxSession session,
                                     oracle.pgx.api.internal.Core core,
                                     java.util.function.Supplier<java.lang.String> keystorePathSupplier,
                                     java.util.function.Supplier<char[]> keystorePasswordSupplier)
    • Method Detail

      • format

        public PgxFrameReader format​(java.lang.String format)
        returns a PgxFrameReader for the type format specified
        Parameters:
        format - string denoting format to be loaded
        Returns:
        a loader for the format
      • db

        public PgxDbFrameReader db()
        returns a PgxDbFrameReader
        Returns:
        a loader for loading from database
      • csv

        public PgxCsvFrameReader csv()
        returns a PgxCsvFrameReader
        Returns:
        a loader for loading from CSV files
      • csvAsync

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

        public PgxFrame csv​(java.lang.String... uris)
                     throws java.lang.InterruptedException,
                            java.util.concurrent.ExecutionException
        loads the csv PgxFrame synchronously
        Parameters:
        uris - array denoting the uris
        Returns:
        the loaded frame
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • pgb

        public PgxPgbFrameReader pgb()
        returns a PgxPgbFrameReader
        Returns:
        a loader for loading from PGB files
      • pgbAsync

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

        public PgxFrame pgb​(java.lang.String... uris)
                     throws java.lang.InterruptedException,
                            java.util.concurrent.ExecutionException
        loads the csv PgxFrame synchronously
        Parameters:
        uris - array denoting the uris
        Returns:
        the loaded frame
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException