Package oracle.pgx.api.frames
Class PgxGenericFrameStorer
java.lang.Object
oracle.pgx.api.frames.PgxFrameStorer<PgxGenericFrameStorer>
oracle.pgx.api.frames.PgxGenericFrameStorer
-
Constructor Summary
ConstructorsConstructorDescriptionPgxGenericFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame, Supplier<String> keystorePathSupplier, Supplier<char[]> keystorePasswordSupplier) -
Method Summary
Modifier and TypeMethodDescriptioncsv()returns a PgxCsvFrameStorervoidstores the csv PgxFrame synchronouslytriggers async storing of the csv PgxFramedb()returns a PgxDbFrameStorerreturns a PgxFrameStorer for the type format specifiedsets the name of the stored framepgb()returns a PgxPgbFrameStorervoidstores the pgb PgxFrame synchronouslytriggers async storing of the pgb PgxFramestoreAsync(String... uris) triggers the async storing of the PgxFrameMethods inherited from class oracle.pgx.api.frames.PgxFrameStorer
overwrite, store
-
Constructor Details
-
PgxGenericFrameStorer
public PgxGenericFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame, Supplier<String> keystorePathSupplier, Supplier<char[]> keystorePasswordSupplier)
-
-
Method Details
-
name
sets the name of the stored frame- Specified by:
namein classPgxFrameStorer<PgxGenericFrameStorer>- Parameters:
frameName- String used as name- Returns:
- this storer
-
format
returns a PgxFrameStorer for the type format specified- Parameters:
format- String denoting the format- Returns:
-
db
returns a PgxDbFrameStorer- Returns:
- a storer to configure the storing in database
-
pgb
returns a PgxPgbFrameStorer- Returns:
- a storer to configure the storing in a PGB file
-
pgbAsync
triggers async storing of the pgb PgxFrame- Parameters:
uri- String denoting the uri- Returns:
- the future for the result of the operation
-
pgb
stores the pgb PgxFrame synchronously- Parameters:
uri- String denoting the uri- Throws:
InterruptedExceptionExecutionException
-
csv
returns a PgxCsvFrameStorer- Returns:
- a storer to configure the storing in a CSV file
-
csvAsync
triggers async storing of the csv PgxFrame- Parameters:
uri- String denoting the uri- Returns:
- the future for the result of the operation
-
csv
stores the csv PgxFrame synchronously- Parameters:
uri- String denoting the uri- Throws:
InterruptedExceptionExecutionException
-
storeAsync
triggers the async storing of the PgxFrame- Specified by:
storeAsyncin classPgxFrameStorer<PgxGenericFrameStorer>- Parameters:
uris- array denoting the uris- Returns:
- the future for the result of the operation
-