Interface KeyColumnDescriptor

All Known Implementing Classes:
DefaultKeyColumnDescriptors, KeyColumnConfig

@BetaApi public interface KeyColumnDescriptor
Descriptor for a key column.
Since:
25.2.0
  • 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

      default KeyColumnDescriptor asKeyColumnDescriptor()
      Get an immutable version of this key column descriptor.
      Returns:
      A representation of this descriptor.
    • of

      static KeyColumnDescriptor of(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.