forked from hugh/demo-dialect-creator
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1017 B
24 lines
1017 B
4 years ago
|
package com.tptj.demo.hg.dialect.creator;
|
||
|
|
||
|
import com.fanruan.api.log.LogKit;
|
||
|
import com.fr.data.core.db.ColumnInformation;
|
||
|
import com.fr.data.core.db.dialect.Dialect;
|
||
|
import com.fr.data.core.db.dialect.base.DialectKeyConstants;
|
||
|
import com.fr.data.core.db.dialect.base.DialectResultWithExceptionKey;
|
||
|
import com.fr.data.core.db.dialect.base.key.column.info.DialectFetchColumnInformationParameter;
|
||
|
|
||
|
import java.sql.SQLException;
|
||
|
|
||
|
/**
|
||
|
* @author 秃破天际
|
||
|
* @version 10.0
|
||
|
* Created by 秃破天际 on 2021-04-30
|
||
|
**/
|
||
|
public class DemoFetchColumnInformationExecutor extends DialectResultWithExceptionKey<DialectFetchColumnInformationParameter, ColumnInformation[], SQLException> {
|
||
|
@Override
|
||
|
public ColumnInformation[] execute(DialectFetchColumnInformationParameter parameter, Dialect dialect) throws SQLException {
|
||
|
LogKit.info("FETCH_COLUMN_INFORMATION_KEY --> DemoFetchColumnInformationExecutor");
|
||
|
return DialectKeyConstants.FETCH_COLUMN_INFORMATION_KEY.execute(parameter, dialect);
|
||
|
}
|
||
|
}
|