Annotation Interface Table


@Target(TYPE) @Retention(RUNTIME) public @interface Table
Describes a table.
  • Field Details

  • Element Details

    • value

      String value
      The name of the table. If it's empty, the name of the class annotated with this annotation will be used.
      Returns:
      The name of the table.
      Default:
      ""
    • schemaName

      String schemaName
      The schema name.
      Returns:
      The schema name.
      Default:
      "PUBLIC"
    • indexes

      Index[] indexes
      Indexes to create on this table.
      Returns:
      Indexes to create on this table.
      Default:
      {}
    • primaryKeyType

      IndexType primaryKeyType
      Primary key type.
      Returns:
      Primary key type.
      Default:
      DEFAULT
    • colocateBy

      ColumnRef[] colocateBy
      References to colocation columns.
      Returns:
      Colocation columns.
      Default:
      {}
    • zone

      Zone zone
      Class annotated with Zone annotation to create a zone.
      Returns:
      Zone description class.
      Default:
      @org.apache.ignite.catalog.annotations.Zone(value="Default", storageProfiles="")