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