Package oracle.pgx.api.keys
Interface KeyColumnDescriptor
-
- All Known Implementing Classes:
DefaultKeyColumnDescriptors,KeyColumnConfig
@BetaApi public interface KeyColumnDescriptorDescriptor for a key column.- Since:
- 25.2.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default KeyColumnDescriptorasKeyColumnDescriptor()Get an immutable version of this key column descriptor.java.lang.StringgetName()Get the name of the key column.IdTypegetType()Get the type of the key column.static KeyColumnDescriptorof(java.lang.String name, IdType type)Create an (immutable) key column descriptor instance.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the name of the key column.- Returns:
- Name of the key column.
-
getType
IdType getType()
Get the type of the key column.- Returns:
- Type of the key column.
-
asKeyColumnDescriptor
default KeyColumnDescriptor asKeyColumnDescriptor()
Get an immutable version of this key column descriptor.- Returns:
- A representation of this descriptor.
-
of
static KeyColumnDescriptor of(java.lang.String name, IdType type)
Create an (immutable) key column descriptor instance.- Parameters:
name- The key column name.type- The key column type.- Returns:
- A key column descriptor.
-
-