Class PgSqlSubgraphReader

    • 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 a MATCH 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 class PgqlBasedSubgraphReader<PgSqlSubgraphReader,​PreparedPgSqlPgqlQuery>
        Parameters:
        query - The PGQL query.
        Returns:
        A builder used for providing arguments of the prepared query.