Package oracle.pgx.api
Class PartitionedIdBuilderFactory
- java.lang.Object
-
- oracle.pgx.api.PartitionedIdBuilderFactory
-
@BetaApi public class PartitionedIdBuilderFactory extends java.lang.ObjectFactory for creatingPartitionedIdBuilderinstances, which can be used to buildPartitionedIds.See
PartitionedIdBuilderfor an example on how to use this API.- Since:
- 25.2.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PartitionedIdBuilderFactoryforGraph(PgxGraph graph)Create an instance of this factory that considers metadata of agraph.PartitionedIdBuildernewId()Start creating a new Partitioned ID.
-
-
-
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 agraph. 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.
-
-