public abstract class AbstractReflector extends Object implements AoReflector
| Modifier and Type | Field and Description |
|---|---|
protected AoConnection |
connection |
| Constructor and Description |
|---|
AbstractReflector(AoConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentMap<String,Object> |
getColumnDetails(String column,
List<ConcurrentMap<String,Object>> columnDetailList) |
String |
getDataTypeWord() |
String |
getFieldType(ConcurrentMap<String,Object> columnDetail) |
String |
getLengthWord() |
long |
getNullRows(String tableName,
String column)
读取当前表中 column 为空的总列数
|
long |
getTotalRows(String tableName)
获取当前表中总列数
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnDetail, getColumns, getConstraintsprotected final transient AoConnection connection
public AbstractReflector(AoConnection connection)
public long getTotalRows(String tableName)
AoReflector获取当前表中总列数
getTotalRows in interface AoReflectorpublic long getNullRows(String tableName, String column)
AoReflector读取当前表中 column 为空的总列数
getNullRows in interface AoReflectorpublic String getFieldType(ConcurrentMap<String,Object> columnDetail)
getFieldType in interface AoReflectorpublic ConcurrentMap<String,Object> getColumnDetails(String column, List<ConcurrentMap<String,Object>> columnDetailList)
getColumnDetails in interface AoReflectorpublic String getDataTypeWord()
getDataTypeWord in interface AoReflectorpublic String getLengthWord()
getLengthWord in interface AoReflectorCopyright © 2021. All rights reserved.