Indexes.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * This file is generated by jOOQ.
  3. */
  4. package models;
  5. import javax.annotation.Generated;
  6. import models.tables.Fortune;
  7. import models.tables.World;
  8. import org.jooq.Index;
  9. import org.jooq.OrderField;
  10. import org.jooq.impl.AbstractKeys;
  11. /**
  12. * A class modelling indexes of tables of the <code>hello_world</code> schema.
  13. */
  14. @Generated(
  15. value = {
  16. "http://www.jooq.org",
  17. "jOOQ version:3.10.3"
  18. },
  19. comments = "This class is generated by jOOQ"
  20. )
  21. @SuppressWarnings({ "all", "unchecked", "rawtypes" })
  22. public class Indexes {
  23. // -------------------------------------------------------------------------
  24. // INDEX definitions
  25. // -------------------------------------------------------------------------
  26. public static final Index FORTUNE_PRIMARY = Indexes0.FORTUNE_PRIMARY;
  27. public static final Index WORLD_PRIMARY = Indexes0.WORLD_PRIMARY;
  28. // -------------------------------------------------------------------------
  29. // [#1459] distribute members to avoid static initialisers > 64kb
  30. // -------------------------------------------------------------------------
  31. private static class Indexes0 extends AbstractKeys {
  32. public static Index FORTUNE_PRIMARY = createIndex("PRIMARY", Fortune.FORTUNE, new OrderField[] { Fortune.FORTUNE.ID }, true);
  33. public static Index WORLD_PRIMARY = createIndex("PRIMARY", World.WORLD, new OrderField[] { World.WORLD.ID }, true);
  34. }
  35. }