public enum MapSqlKey extends Enum<MapSqlKey>
| Enum Constant and Description |
|---|
GroupBy
It corresponds to the group by of SQL.
|
Having
It corresponds to the having of SQL.
|
OrderBy
It corresponds to the order by of SQL.
|
PrimaryKey
In the method insertAndReturnId(MapSql mapSql) of MapSuid, it is used when the primary key name is not 'id'.
|
SelectColumns
Declare the select fields,if more than one,separate with comma.
|
Table
Declare the table to be operated on.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static MapSqlKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapSqlKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapSqlKey Table
public static final MapSqlKey PrimaryKey
public static final MapSqlKey SelectColumns
public static final MapSqlKey GroupBy
public static final MapSqlKey Having
public static final MapSqlKey OrderBy
public static MapSqlKey[] values()
for (MapSqlKey c : MapSqlKey.values()) System.out.println(c);
public static MapSqlKey valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
Copyright © 2023. All rights reserved.