|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ibatis.abator.internal.rules.TableType
Typesafe enum (from "Effective Java" #21) of table types supported by Abator. See package JavaDoc for more information.
Field Summary | |
static TableType |
NO_PK_FIELDS_BLOBS
A table that has no primary key and columns that are both BLOBs and non BLOBs. |
static TableType |
NO_PK_FIELDS_NO_BLOBS
A table that has no primary key and all columns are not BLOBs. |
static TableType |
PK_FIELDS_BLOBS
A table with a primary key and other columns that are both BLOBs and non BLOBs. |
static TableType |
PK_FIELDS_NO_BLOBS
A table with a primary key, and all other columns are not BLOBs. |
static TableType |
PK_NO_FIELDS_BLOBS
A table with a primary key, and all other columns are BLOBs. |
static TableType |
PK_NO_FIELDS_NO_BLOBS
A table with a primary key only. |
Method Summary | |
static TableType |
calculateTableType(ColumnDefinitions columnDefinitions)
Calculates the table type from the physical structure of the table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final TableType NO_PK_FIELDS_NO_BLOBS
public static final TableType NO_PK_FIELDS_BLOBS
public static final TableType PK_NO_FIELDS_NO_BLOBS
public static final TableType PK_FIELDS_NO_BLOBS
public static final TableType PK_NO_FIELDS_BLOBS
public static final TableType PK_FIELDS_BLOBS
Method Detail |
public static TableType calculateTableType(ColumnDefinitions columnDefinitions)
columnDefinitions
- the introspected table columns
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |