public enum NbQueryType extends Enum<NbQueryType> implements INbQueryType
| 枚举常量和说明 |
|---|
AUTO_INCR_DOUBLE
浮点自增
|
BOOL |
DATE |
DECIMAL
todo 这里默认(10,5)
|
DOUBLE |
ENUM |
ENUM_LIST |
FLOAT |
FUNC
函数字段
|
INT |
INT_LIST |
LONG |
LONG_LIST |
MAP_ENUM
I_ENUM
|
MAP_ENUM_LIST |
TEXT
字符串
|
TEXT_LIST
字符串数组
|
UNKNOWN |
BOOL_RULE, LIST_RULE, NUM_RULE, STRING_RULE| 限定符和类型 | 方法和说明 |
|---|---|
Object |
convert(Object value)
已过时。
|
static INbQueryType |
convertFromClass(Class<?> fieldClazz,
Type fieldType)
class 转换成 PowerTableTypeEnum
|
void |
defaultWhereIn(NbQuerier<?> querier,
MergeSegments expression,
QueryRuleEnum ruleEnum,
String name,
Object value) |
NbQueryType |
getArraySubType()
查询是 如 where xxx in (?
|
NbQueryType |
getArrayType()
获取类型的数组类型
|
DbDataType |
getDbDataType()
获取数据库数据类型
|
boolean |
orderAble()
可排序
|
static NbQueryType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static NbQueryType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
void |
whereIn(NbQuerier<?> querier,
MergeSegments expression,
QueryRuleEnum ruleEnum,
String name,
Object value) |
void |
whereLike(NbQuerier<?> querier,
MergeSegments expression,
String name,
Object value)
处理whereLike
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfformatImportValue, getDbTypeSql, getQueryRules, getTitle, isArray, isJson, setWhereCondition, whereOperationpublic static final NbQueryType TEXT
public static final NbQueryType TEXT_LIST
public static final NbQueryType LONG
public static final NbQueryType LONG_LIST
public static final NbQueryType INT
public static final NbQueryType INT_LIST
public static final NbQueryType DATE
public static final NbQueryType DOUBLE
public static final NbQueryType BOOL
public static final NbQueryType ENUM
public static final NbQueryType ENUM_LIST
public static final NbQueryType MAP_ENUM
public static final NbQueryType MAP_ENUM_LIST
public static final NbQueryType AUTO_INCR_DOUBLE
public static final NbQueryType DECIMAL
public static final NbQueryType FLOAT
public static final NbQueryType UNKNOWN
public static final NbQueryType FUNC
public static NbQueryType[] values()
for (NbQueryType c : NbQueryType.values()) System.out.println(c);
public static NbQueryType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static INbQueryType convertFromClass(Class<?> fieldClazz, Type fieldType)
fieldClazz - public NbQueryType getArrayType()
getArrayType 在接口中 INbQueryTypepublic NbQueryType getArraySubType()
INbQueryTypegetArraySubType 在接口中 INbQueryTypepublic DbDataType getDbDataType()
INbQueryTypegetDbDataType 在接口中 INbQueryType@Deprecated public Object convert(Object value) throws TypeConvertException
INbQueryTypeconvert 在接口中 INbQueryTypeTypeConvertExceptionpublic void whereIn(NbQuerier<?> querier, MergeSegments expression, QueryRuleEnum ruleEnum, String name, Object value)
whereIn 在接口中 INbQueryTypepublic boolean orderAble()
INbQueryTypeorderAble 在接口中 INbQueryTypepublic void defaultWhereIn(NbQuerier<?> querier, MergeSegments expression, QueryRuleEnum ruleEnum, String name, Object value)
public void whereLike(NbQuerier<?> querier, MergeSegments expression, String name, Object value)
INbQueryTypewhereLike 在接口中 INbQueryTypeCopyright © 2023. All rights reserved.