Package oracle.pgx.api.keys
Interface KeyColumnDescriptor
- All Known Implementing Classes:
DefaultKeyColumnDescriptors,KeyColumnConfig
@BetaApi
public interface KeyColumnDescriptor
Descriptor for a key column.
- Since:
- 25.2.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault KeyColumnDescriptorGet an immutable version of this key column descriptor.getName()Get the name of the key column.getType()Get the type of the key column.static KeyColumnDescriptorCreate an (immutable) key column descriptor instance.
-
Method Details
-
getName
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
Get an immutable version of this key column descriptor.- Returns:
- A representation of this descriptor.
-
of
Create an (immutable) key column descriptor instance.- Parameters:
name- The key column name.type- The key column type.- Returns:
- A key column descriptor.
-