Package oracle.pgx.api.frames
Class PgxGenericFrameStorer
- java.lang.Object
-
- oracle.pgx.api.frames.PgxFrameStorer<PgxGenericFrameStorer>
-
- oracle.pgx.api.frames.PgxGenericFrameStorer
-
public class PgxGenericFrameStorer extends PgxFrameStorer<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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PgxCsvFrameStorer
csv()
returns a PgxCsvFrameStorervoid
csv(java.lang.String uri)
stores the csv PgxFrame synchronouslyPgxFuture<java.lang.Void>
csvAsync(java.lang.String uri)
triggers async storing of the csv PgxFramePgxDbFrameStorer
db()
returns a PgxDbFrameStorerPgxFrameStorer
format(java.lang.String format)
returns a PgxFrameStorer for the type format specifiedPgxGenericFrameStorer
name(java.lang.String frameName)
sets the name of the stored framePgxPgbFrameStorer
pgb()
returns a PgxPgbFrameStorervoid
pgb(java.lang.String uri)
stores the pgb PgxFrame synchronouslyPgxFuture<java.lang.Void>
pgbAsync(java.lang.String uri)
triggers async storing of the pgb PgxFramePgxFuture<java.lang.Void>
storeAsync(java.lang.String... uris)
triggers the async storing of the PgxFrame-
Methods inherited from class oracle.pgx.api.frames.PgxFrameStorer
overwrite, store
-
-
-
-
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
-
name
public PgxGenericFrameStorer name(java.lang.String frameName)
sets the name of the stored frame- Specified by:
name
in classPgxFrameStorer<PgxGenericFrameStorer>
- Parameters:
frameName
- String used as name- Returns:
- this storer
-
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 classPgxFrameStorer<PgxGenericFrameStorer>
- Parameters:
uris
- array denoting the uris- Returns:
- the future for the result of the operation
-
-