public class PreparedPgViewPgqlQuery extends PgqlViewGraphExpander implements PreparedPgqlQueryBuilder<PreparedPgViewPgqlQuery>
| Modifier and Type | Method and Description |
|---|---|
PgqlViewGraphExpander |
connections(int numConnections)
sets the number of connections to open to load the data in parallel
|
PgqlViewGraphExpander |
dataSourceId(java.lang.String dataSourceId)
sets the dataSourceId to which to connect
|
PgqlViewGraphExpander |
edgePropertiesMergingStrategy(PropertyMergeStrategy edgePropertyMergeStrategy)
Set the strategy for how edge properties of duplicate elements are handled.
|
PgxGraph |
expand()
Call the expand operation and await execution.
|
PgxGraph |
expand(java.lang.String newGraphName)
Call the expand operation and await execution.
|
PgxFuture<PgxGraph> |
expandAsync()
Call the expand operation.
|
PgxFuture<PgxGraph> |
expandAsync(java.lang.String newGraphName)
Call the expand operation.
|
PgxGraph |
expandNewSnapshot()
Blocking version of
AbstractGraphExpander.expandNewSnapshotAsync(). |
PgxFuture<PgxGraph> |
expandNewSnapshotAsync()
Call the expand operation.
|
PgqlViewGraphExpander |
fromPgSql(java.lang.String sqlGraphName)
Expand from a (different) SQL Property Graph.
|
PgqlViewGraphExpander |
fromPgSql(java.lang.String schemaName,
java.lang.String sqlGraphName)
Expand from a (different) SQL Property Graph.
|
PgqlViewGraphExpander |
fromPgView(java.lang.String pgViewName)
Expand from a (different) PG View.
|
PgqlViewGraphExpander |
fromPgView(java.lang.String schemaName,
java.lang.String pgViewName)
Expand from a (different) PG View.
|
PgqlViewGraphExpander |
jdbcUrl(java.lang.String jdbcUrl)
sets the jdbcUrl to use for connecting to the DB
|
PgqlViewGraphExpander |
keystoreAlias(java.lang.String keystoreAlias)
sets the keystore alias to retrieve the password from the keystore
|
PgqlViewGraphExpander |
owner(java.lang.String owner)
sets the owner (schema) of the PG view from which to load the data
|
PgqlViewGraphExpander |
password(java.lang.String password)
sets the password to use for connecting to the database
|
PreparedPgViewPgqlQuery |
preparedPgqlQuery(java.lang.String query)
Add a new prepared PGQL query to the expansion.
|
PgqlViewGraphExpander |
queryPgql(java.lang.String query)
Add a PGQL query to the expansion.
|
PgqlViewGraphExpander |
schema(java.lang.String schema)
sets the schema from which to load the PG view
|
PgqlViewGraphExpander |
username(java.lang.String userName)
sets the username of the DB user to use to connect to the DB
|
PgqlViewGraphExpander |
vertexPropertiesMergingStrategy(PropertyMergeStrategy vertexPropertyMergeStrategy)
Set the strategy for how vertex properties of duplicate elements are handled.
|
PreparedPgViewPgqlQuery |
withArg(int position,
QueryArgumentType type,
java.lang.Object value) |
PgqlViewGraphExpander |
withConfig(PartitionedGraphConfig config)
Specify a graph config used to load the additional graph data.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithBooleanArg, withDateArg, withDoubleArg, withFloatArg, withIntegerArg, withLongArg, withStringArg, withTimeArg, withTimestampArg, withTimestampWithTimezoneArg, withTimeWithTimezoneArgpublic PreparedPgViewPgqlQuery withArg(int position, QueryArgumentType type, java.lang.Object value)
withArg in interface oracle.pgx.api.subgraph.internal.PreparedQueryBuilder<PreparedPgViewPgqlQuery>public PgqlViewGraphExpander connections(int numConnections)
PgqlViewGraphExpanderconnections in class PgqlViewGraphExpandernumConnections - the number of connectionspublic PgqlViewGraphExpander dataSourceId(java.lang.String dataSourceId)
PgqlViewGraphExpanderdataSourceId in class PgqlViewGraphExpanderdataSourceId - the datasourceIdpublic PgqlViewGraphExpander edgePropertiesMergingStrategy(PropertyMergeStrategy edgePropertyMergeStrategy)
AbstractGraphExpanderPropertyMergeStrategy.getDefault().edgePropertiesMergingStrategy in class AbstractGraphExpander<PgqlViewGraphExpander>edgePropertyMergeStrategy - The edge property merge strategy.public PgxGraph expand() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
AbstractGraphExpanderexpand in class AbstractGraphExpander<PgqlViewGraphExpander>java.util.concurrent.ExecutionException - when the execution fails.java.lang.InterruptedException - when the operation gets interrupted.public PgxGraph expand(java.lang.String newGraphName) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
AbstractGraphExpanderexpand in class AbstractGraphExpander<PgqlViewGraphExpander>newGraphName - The new graph name.java.util.concurrent.ExecutionException - when the execution fails.java.lang.InterruptedException - when the operation gets interrupted.public PgxFuture<PgxGraph> expandAsync()
AbstractGraphExpanderexpandAsync in class AbstractGraphExpander<PgqlViewGraphExpander>public PgxFuture<PgxGraph> expandAsync(java.lang.String newGraphName)
AbstractGraphExpanderexpandAsync in class AbstractGraphExpander<PgqlViewGraphExpander>public PgxGraph expandNewSnapshot() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
AbstractGraphExpanderAbstractGraphExpander.expandNewSnapshotAsync().
Calls the expand operation and awaits execution. This creates a new snapshot, instead of a new graph.expandNewSnapshot in class AbstractGraphExpander<PgqlViewGraphExpander>java.util.concurrent.ExecutionException - when the execution fails.java.lang.InterruptedException - when the operation gets interrupted.public PgxFuture<PgxGraph> expandNewSnapshotAsync()
AbstractGraphExpanderexpandNewSnapshotAsync in class AbstractGraphExpander<PgqlViewGraphExpander>public PgqlViewGraphExpander fromPgSql(java.lang.String sqlGraphName)
PgqlViewGraphExpanderfromPgSql in class PgqlViewGraphExpandersqlGraphName - The SQL Graph name.public PgqlViewGraphExpander fromPgSql(java.lang.String schemaName, java.lang.String sqlGraphName)
PgqlViewGraphExpanderfromPgSql in class PgqlViewGraphExpanderschemaName - The SQL Schema name.sqlGraphName - The SQL Graph name.public PgqlViewGraphExpander fromPgView(java.lang.String pgViewName)
PgqlViewGraphExpanderfromPgView in class PgqlViewGraphExpanderpgViewName - The name of the view.public PgqlViewGraphExpander fromPgView(java.lang.String schemaName, java.lang.String pgViewName)
PgqlViewGraphExpanderfromPgView in class PgqlViewGraphExpanderschemaName - The name of the schema.pgViewName - The name of the view.public PgqlViewGraphExpander jdbcUrl(java.lang.String jdbcUrl)
PgqlViewGraphExpanderjdbcUrl in class PgqlViewGraphExpanderjdbcUrl - the jdbc urlpublic PgqlViewGraphExpander keystoreAlias(java.lang.String keystoreAlias)
PgqlViewGraphExpanderkeystoreAlias in class PgqlViewGraphExpanderkeystoreAlias - the keystore aliaspublic PgqlViewGraphExpander owner(java.lang.String owner)
PgqlViewGraphExpanderowner in class PgqlViewGraphExpanderowner - the ownerpublic PgqlViewGraphExpander password(java.lang.String password)
PgqlViewGraphExpanderpassword in class PgqlViewGraphExpanderpassword - the passwordpublic PreparedPgViewPgqlQuery preparedPgqlQuery(java.lang.String query)
PgqlViewGraphExpanderpreparedPgqlQuery in class PgqlViewGraphExpanderquery - The query.public PgqlViewGraphExpander queryPgql(java.lang.String query)
PgqlViewGraphExpanderqueryPgql in class PgqlViewGraphExpanderquery - The query.public PgqlViewGraphExpander schema(java.lang.String schema)
PgqlViewGraphExpanderschema in class PgqlViewGraphExpanderschema - the schemapublic PgqlViewGraphExpander username(java.lang.String userName)
PgqlViewGraphExpanderusername in class PgqlViewGraphExpanderuserName - the usernamepublic PgqlViewGraphExpander vertexPropertiesMergingStrategy(PropertyMergeStrategy vertexPropertyMergeStrategy)
AbstractGraphExpanderPropertyMergeStrategy.getDefault().vertexPropertiesMergingStrategy in class AbstractGraphExpander<PgqlViewGraphExpander>vertexPropertyMergeStrategy - The vertex property merge strategy.public PgqlViewGraphExpander withConfig(PartitionedGraphConfig config)
AbstractGraphExpanderwithConfig in class AbstractGraphExpander<PgqlViewGraphExpander>config - The graph config.