public class PgViewSubgraphReader extends AbstractSubgraphReader<PgViewSubgraphReader>
Modifier and Type | Method and Description |
---|---|
PgViewSubgraphReader |
connections(int numConnections)
sets the number of connections to open to load the data in parallel
|
PgViewSubgraphReader |
dataSourceId(java.lang.String dataSourceId)
sets the dataSourceId to which to connect
|
PgViewSubgraphReader |
jdbcUrl(java.lang.String jdbcUrl)
sets the jdbcUrl to use for connecting to the DB
|
PgViewSubgraphReader |
keystoreAlias(java.lang.String keystoreAlias)
sets the keystore alias to retrieve the password from the keystore
|
PgxFuture<PgxGraph> |
loadAsync() |
PgViewSubgraphReader |
owner(java.lang.String owner)
sets the owner (schema) of the PG view from which to load the data
|
PgViewSubgraphReader |
password(java.lang.String password)
sets the password to use for connecting to the database
|
PgViewSubgraphReader |
queryPgql(java.lang.String query)
Adds another filtering query to the list of queries that will be executed to load the subgraph.
|
PgViewSubgraphReader |
schema(java.lang.String schema)
sets the schema from which to load the PG view
|
PgViewSubgraphReader |
username(java.lang.String userName)
sets the username of the DB user to use to connect to the DB
|
PgViewSubgraphReader |
withConfig(PartitionedGraphConfig config)
sets the graph configuration to use for loading the subgraph.
|
load
public PgViewSubgraphReader connections(int numConnections)
numConnections
- the number of connectionspublic PgViewSubgraphReader dataSourceId(java.lang.String dataSourceId)
dataSourceId
- the datasourceIdpublic PgViewSubgraphReader jdbcUrl(java.lang.String jdbcUrl)
jdbcUrl
- the jdbc urlpublic PgViewSubgraphReader keystoreAlias(java.lang.String keystoreAlias)
keystoreAlias
- the keystore aliaspublic PgxFuture<PgxGraph> loadAsync()
loadAsync
in class AbstractSubgraphReader<PgViewSubgraphReader>
public PgViewSubgraphReader owner(java.lang.String owner)
owner
- the ownerpublic PgViewSubgraphReader password(java.lang.String password)
password
- the passwordpublic PgViewSubgraphReader queryPgql(java.lang.String query)
query
- the PGQL query to use for filteringpublic PgViewSubgraphReader schema(java.lang.String schema)
schema
- the schemapublic PgViewSubgraphReader username(java.lang.String userName)
userName
- the usernamepublic PgViewSubgraphReader withConfig(PartitionedGraphConfig config)
config
- the configuration of the graph to load