Class PgxGenericFrameStorer

    • Constructor Summary

      Constructors 
      Constructor Description
      PgxGenericFrameStorer​(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame, java.util.function.Supplier<java.lang.String> keystorePathSupplier, java.util.function.Supplier<char[]> keystorePasswordSupplier)  
    • Constructor Detail

      • PgxGenericFrameStorer

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

      • format

        public PgxFrameStorer format​(java.lang.String format)
        returns a PgxFrameStorer for the type format specified
        Parameters:
        format - String denoting the format
        Returns:
      • db

        public PgxDbFrameStorer db()
        returns a PgxDbFrameStorer
        Returns:
        a storer to configure the storing in database
      • pgb

        public PgxPgbFrameStorer pgb()
        returns a PgxPgbFrameStorer
        Returns:
        a storer to configure the storing in a PGB file
      • pgbAsync

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

        public void pgb​(java.lang.String uri)
                 throws java.lang.InterruptedException,
                        java.util.concurrent.ExecutionException
        stores the pgb PgxFrame synchronously
        Parameters:
        uri - String denoting the uri
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • csv

        public PgxCsvFrameStorer csv()
        returns a PgxCsvFrameStorer
        Returns:
        a storer to configure the storing in a CSV file
      • csvAsync

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

        public void csv​(java.lang.String uri)
                 throws java.lang.InterruptedException,
                        java.util.concurrent.ExecutionException
        stores the csv PgxFrame synchronously
        Parameters:
        uri - String denoting the uri
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • storeAsync

        public PgxFuture<java.lang.Void> storeAsync​(java.lang.String... uris)
        triggers the async storing of the PgxFrame
        Specified by:
        storeAsync in class PgxFrameStorer<PgxGenericFrameStorer>
        Parameters:
        uris - array denoting the uris
        Returns:
        the future for the result of the operation