18 Executing PGQL Queries Against the Graph Server (PGX)
This section describes the Java APIs that are used to execute PGQL queries in the graph server (PGX).
- Getting Started with PGQL
Get started with PGQL in the graph server (PGX). - Creating Property Graphs Using Options
Learn about the different options for graph optimization and for handling edges with missing vertices. - Supported PGQL Features and Limitations on the Graph Server (PGX)
Learn about the supported and unsupported PGQL functionalities in the graph server (PGX). - Java APIs for Executing CREATE PROPERTY GRAPH Statements
The easiest way to execute a CREATE PROPERTY GRAPH statement is through thePgxSession.executePgql(String statement)
method. - Python APIs for Executing CREATE PROPERTY GRAPH Statements
You can create a property graph by executing the CREATE PROPERTY GRAPH statement through the Python API. - Java APIs for Executing SELECT Queries
This section describes the APIs to executeSELECT
queries in the graph server (PGX). - Java APIs for Executing UPDATE Queries
TheUPDATE
queries make changes to existing graphs using theINSERT
,UPDATE
, andDELETE
operations. - Python APIs for Executing UPDATE Queries
You can update a graph that is loaded into the graph server (PGX) using the Python APIs. - PGQL Queries with Partitioned IDs
You can retrieve partitioned IDs using the id() function in PGQL. - Security Tools for Executing PGQL Queries
To safeguard against query injection, bind variables can be used in place of literals whileprintIdentifier(String identifier)
can be used in place of identifiers like graph names, labels, and property names. - Best Practices for Tuning PGQL Queries
This section describes best practices regarding memory allocation, parallelism, and query planning.
Parent topic: Using the Graph Server (PGX)