Package org.jooq.meta

Class DefaultAttributeDefinition

All Implemented Interfaces:
AttributeDefinition, Definition, PositionedDefinition, TypedElementDefinition<UDTDefinition>

public class DefaultAttributeDefinition extends AbstractTypedElementDefinition<UDTDefinition> implements AttributeDefinition
A base implementation for column definitions.
Author:
Lukas Eder
  • Constructor Details

  • Method Details

    • getPosition

      public int getPosition()
      Description copied from interface: PositionedDefinition
      The object's 1-based position in the parent.

      [#17434] While in most RDBMS, this value is 1-based and a consecutive ordinal, there may be cases where a positional value is skipped, either by what's reported by the RDBMS's dictionary views, or because the definition is filtered by jOOQ-meta. Users shouldn't rely on the positions reflecting the actually generated column/attribute/etc. position.

      Specified by:
      getPosition in interface PositionedDefinition