Package oracle.pgx.api.subgraph
Class PgSqlSubgraphReader
- java.lang.Object
-
- oracle.pgx.api.subgraph.AbstractSubgraphReader<R>
-
- oracle.pgx.api.subgraph.PgqlBasedSubgraphReader<PgSqlSubgraphReader,PreparedPgSqlPgqlQuery>
-
- oracle.pgx.api.subgraph.PgSqlSubgraphReader
-
public class PgSqlSubgraphReader extends PgqlBasedSubgraphReader<PgSqlSubgraphReader,PreparedPgSqlPgqlQuery>
A subgraph reader for SQL Property Graphs. This class can be used to declare which subgraph should be loaded. CallAbstractSubgraphReader.load()
similarly named functions to trigger the loading operation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreparedPgSqlPgqlQuery
preparedPgqlQuery(java.lang.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, jdbcUrl, keystoreAlias, loadAsync, loadAsync, password, queryPgql, username, withConfig
-
Methods inherited from class oracle.pgx.api.subgraph.AbstractSubgraphReader
load, load
-
-
-
-
Method Detail
-
preparedPgqlQuery
public PreparedPgSqlPgqlQuery preparedPgqlQuery(java.lang.String query)
Description copied from class:PgqlBasedSubgraphReader
Adds a prepared query to list of queries that will be executed to load the subgraph. The query has to also start with aMATCH
clause. 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:
preparedPgqlQuery
in classPgqlBasedSubgraphReader<PgSqlSubgraphReader,PreparedPgSqlPgqlQuery>
- Parameters:
query
- The PGQL query.- Returns:
- A builder used for providing arguments of the prepared query.
-
-