Package oracle.pgx.api.subgraph
Class PgViewSubgraphReader
java.lang.Object
oracle.pgx.api.subgraph.AbstractSubgraphReader<R>
oracle.pgx.api.subgraph.PgqlBasedSubgraphReader<PgViewSubgraphReader,PreparedPgViewPgqlQuery>
oracle.pgx.api.subgraph.PgViewSubgraphReader
@BetaApi
public class PgViewSubgraphReader
extends PgqlBasedSubgraphReader<PgViewSubgraphReader,PreparedPgViewPgqlQuery>
A subgraph reader for reading graphs from PG Views, using a set of PGQL queries.
-
Method Summary
Modifier and TypeMethodDescriptionpreparedPgqlQuery(String query) Adds a prepared query to list of queries that will be executed to load the subgraph.Methods inherited from class oracle.pgx.api.subgraph.PgqlBasedSubgraphReader
connections, dataSourceId, escapeKeysWithPgxSpecialCharacters, jdbcUrl, keystoreAlias, loadAsync, loadAsync, password, queryPgql, username, withConfigMethods inherited from class oracle.pgx.api.subgraph.AbstractSubgraphReader
load, load
-
Method Details
-
preparedPgqlQuery
Description copied from class:PgqlBasedSubgraphReaderAdds a prepared query to list of queries that will be executed to load the subgraph. The query has to also start with aMATCHclause. This returns a builder which can be used to specify arguments for the prepared query. All the arguments must be provided before the reading operation is triggered.- Specified by:
preparedPgqlQueryin classPgqlBasedSubgraphReader<PgViewSubgraphReader,PreparedPgViewPgqlQuery> - Parameters:
query- The PGQL query.- Returns:
- A builder used for providing arguments of the prepared query.
-