Package oracle.pgx.api
Class PartitionedIdBuilder.WithTableName
- java.lang.Object
-
- oracle.pgx.api.PartitionedIdBuilder.WithTableName
-
- All Implemented Interfaces:
IdBuilder.WithTableName<oracle.pgx.common.PartitionedId,PartitionedIdBuilder.WithTableName>
- Enclosing class:
- PartitionedIdBuilder
public static class PartitionedIdBuilder.WithTableName extends java.lang.Object implements IdBuilder.WithTableName<oracle.pgx.common.PartitionedId,PartitionedIdBuilder.WithTableName>
Builder stage for partitioned IDs for a specific entity provider.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description oracle.pgx.common.PartitionedIdbuild()Build the final ID value.booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()PartitionedIdBuilder.WithTableNamewithKeyValue(java.lang.String keyColumnName, java.lang.Object keyValue)Set the value of a key column.
-
-
-
Method Detail
-
withKeyValue
public PartitionedIdBuilder.WithTableName withKeyValue(java.lang.String keyColumnName, java.lang.Object keyValue)
Description copied from interface:IdBuilder.WithTableNameSet the value of a key column.- Specified by:
withKeyValuein interfaceIdBuilder.WithTableName<oracle.pgx.common.PartitionedId,PartitionedIdBuilder.WithTableName>- Parameters:
keyColumnName- The key column name.keyValue- The key value.- Returns:
- This builder.
-
build
public oracle.pgx.common.PartitionedId build()
Description copied from interface:IdBuilder.WithTableNameBuild the final ID value.- Specified by:
buildin interfaceIdBuilder.WithTableName<oracle.pgx.common.PartitionedId,PartitionedIdBuilder.WithTableName>- Returns:
- The ID value.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-