primary
Create a primary index on columns. Like primary (a), for complex like primary
- Parameters:
name- The name of the indexfieldNames- The field names under the table contained in the index.- Returns:
- The primary index
static final class static IndexcreateMysqlPrimaryKey(String[][] fieldNames) static IndexcreateMysqlPrimaryKey(String[][] fieldNames,
Map<String,String> properties) static Indexof(Index.IndexType indexType,
String name,
String[][] fieldNames) static Indexstatic Indexstatic Indexstatic Indexstatic Indexname - The name of the indexfieldNames - The field names under the table contained in the index.name - The name of the indexfieldNames - The field names under the table contained in the index.properties - Extra properties for index configurationfieldNames - The field names under the table contained in the index.properties - Extra properties for index configurationfieldNames - The field names under the table contained in the index.name - The name of the indexfieldNames - The field names under the table contained in the index.name - The name of the indexfieldNames - The field names under the table contained in the index.properties - Extra properties for index configurationindexType - The type of the indexname - The name of the indexfieldNames - The field names under the table contained in the index.Index instance with empty propertiesindexType - The type of the indexname - The name of the indexfieldNames - The field names under the table contained in the index.properties - Extra properties for index configuration