public class PgxDbFrameStorer extends PgxFrameStorer<PgxDbFrameStorer>
Constructor and Description |
---|
PgxDbFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame, java.util.function.Supplier<java.lang.String> keystorePathSupplier, java.util.function.Supplier<char[]> keystorePasswordSupplier) |
Modifier and Type | Method and Description |
---|---|
PgxDbFrameStorer |
connections(int numConnections)
sets the number of connections to open to store the data in parallel
|
PgxDbFrameStorer |
dataSourceId(java.lang.String dataSourceId)
sets the dataSourceId to which to connect
|
PgxDbFrameStorer |
jdbcUrl(java.lang.String jdbcUrl)
sets the jdbcUrl to use for connecting to the DB
|
PgxDbFrameStorer |
keystoreAlias(java.lang.String keystoreAlias)
sets the keystore alias to retrieve the password from the keystore
|
PgxDbFrameStorer |
name(java.lang.String frameName)
sets the name of the stored frame
|
PgxDbFrameStorer |
owner(java.lang.String owner)
sets the owner (schema) of the table into which to store the data
|
PgxDbFrameStorer |
password(java.lang.String password)
sets the password to use for connecting to the database
|
PgxDbFrameStorer |
schema(java.lang.String schema)
sets the schema into which to store the table
|
PgxFuture<java.lang.Void> |
storeAsync(java.lang.String... uris)
trigger the async storing of the PgxFrame
|
PgxDbFrameStorer |
tablename(java.lang.String tableName)
sets name of the table that should be stored in DB
|
PgxDbFrameStorer |
username(java.lang.String userName)
sets the username of the DB user to use to connect to the DB
|
overwrite, store
public PgxDbFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame, java.util.function.Supplier<java.lang.String> keystorePathSupplier, java.util.function.Supplier<char[]> keystorePasswordSupplier)
public PgxDbFrameStorer connections(int numConnections)
numConnections
- the number of connectionspublic PgxDbFrameStorer dataSourceId(java.lang.String dataSourceId)
dataSourceId
- the datasourceIdpublic PgxDbFrameStorer jdbcUrl(java.lang.String jdbcUrl)
jdbcUrl
- the jdbc urlpublic PgxDbFrameStorer keystoreAlias(java.lang.String keystoreAlias)
keystoreAlias
- the keystore aliaspublic PgxDbFrameStorer name(java.lang.String frameName)
name
in class PgxFrameStorer<PgxDbFrameStorer>
frameName
- string denoting the frameNamepublic PgxDbFrameStorer owner(java.lang.String owner)
owner
- the ownerpublic PgxDbFrameStorer password(java.lang.String password)
password
- the passwordpublic PgxDbFrameStorer schema(java.lang.String schema)
schema
- the name of the schemapublic PgxFuture<java.lang.Void> storeAsync(java.lang.String... uris)
storeAsync
in class PgxFrameStorer<PgxDbFrameStorer>
uris
- array denoting the urispublic PgxDbFrameStorer tablename(java.lang.String tableName)
tableName
- name of the tablepublic PgxDbFrameStorer username(java.lang.String userName)
userName
- the username