Class PartitionedIdBuilderFactory


  • @BetaApi
    public class PartitionedIdBuilderFactory
    extends java.lang.Object
    Factory for creating PartitionedIdBuilder instances, which can be used to build PartitionedIds.

    See PartitionedIdBuilder for an example on how to use this API.

    Since:
    25.2.0
    • Method Detail

      • newId

        public PartitionedIdBuilder newId()
        Start creating a new Partitioned ID.
        Returns:
        A new builder for Partitioned IDs.
      • forGraph

        public static PartitionedIdBuilderFactory forGraph​(PgxGraph graph)
        Create an instance of this factory that considers metadata of a graph. Note: Key column names must be available in the metadata of each vertex- or edge-provider in the graph.
        Parameters:
        graph - The graph.
        Returns:
        An instance of this factory.