![JAR search and dependency download from the Maven repository](/logo.png)
kim.zkp.quick.orm.session.SqlFutureDataBaseManipulation Maven / Gradle / Ivy
/**
* Copyright (c) 2017, ZhuKaipeng 朱开鹏 ([email protected]).
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package kim.zkp.quick.orm.session;
import java.util.List;
import java.util.concurrent.Future;
import kim.zkp.quick.orm.model.Page;
/**
* class : FutureDataBaseManipulation
* @author : zhukaipeng
* @version : 1.0
* description : 异步数据库操作接口
* @see : *
*/
public interface SqlFutureDataBaseManipulation {
/**
* method name : ftSave
* description : 异步保存
* @return : Future
* @param : @param sql 保存SQL
* @param : @param params 参数
* @param : @return
* modified : zhukaipeng , 2017年9月15日
* @see : *
*/
Future ftSqlSave(String sql, Object ... params);
/**
* method name : ftDelete
* description : 异步删除
* @return : Future
* @param : @param sql 删除SQL
* @param : @param params 参数
* @param : @return
* modified : zhukaipeng , 2017年9月15日
* @see : *
*/
Future ftSqlDelete(String sql, Object ... params);
/**
* method name : ftUpdate
* description : 异步更新
* @return : Future
* @param : @param sql 更新SQL
* @param : @param params 参数
* @param : @return
* modified : zhukaipeng , 2017年9月15日
* @see : *
*/
Future ftSqlUpdate(String sql, Object ... params);
/**
* method name : ftGet
* description : 异步查询
* @return : Future
© 2015 - 2025 Weber Informatics LLC | Privacy Policy