构造器和说明 |
---|
SQLiteData(org.bukkit.configuration.file.YamlConfiguration yml) |
限定符和类型 | 方法和说明 |
---|---|
void |
close()
关闭数据源
|
protected String |
command2String(SQLCommand cmd)
将SQLCommand转换为String
|
boolean |
enable()
启用数据源
|
Connection |
getConnection()
获取一个SQL连接
|
protected String |
getDateTime(String col,
ResultSet rs)
从结果集中获取时间字符串
|
void |
releaseConnection(Connection con)
释放一个SQL连接
|
clearPersonReceivedMail, createCustomStorage, createPersonMailStorage, createPlayerDataStorage, createSystemMailStorage, deleteCustomData, deletePersonMail, deleteSystemMail, getAllPlayerData, getNotReceivedPersonMailCount, getPersonMail, getPersonMail, getPersonMail, getPersonMailCount, getPlayerData, getSystemMail, getSystemMail, getSystemMail, getSystemMail, getSystemMailCount, getSystemMailMax, getType, insertCustomData, receivePersonMail, selectCustomData, sendPersonMail, sendSystemMail, updateCustomDataByPrimaryKey, updatePlayerData
public boolean enable()
BaseData
public Connection getConnection()
SQLData
getConnection
在类中 SQLData
public void releaseConnection(Connection con)
SQLData
releaseConnection
在类中 SQLData
con
- Connectionpublic void close()
BaseData
protected String command2String(SQLCommand cmd)
SQLData
command2String
在类中 SQLData
cmd
- SQLCommandprotected String getDateTime(String col, ResultSet rs) throws SQLException
SQLData
getDateTime
在类中 SQLData
col
- 列名rs
- 结果集SQLException
- SQL异常Copyright © 2024. All rights reserved.