public class ExcelDataSource extends Object implements FileDataSource
| 构造器和说明 |
|---|
ExcelDataSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
delete(List<PredicateEntity<Object>> predicateEntities,
String tableName)
delete data from data source
|
int |
insert(List<Map<String,Object>> valueList,
String tableName)
insert data into the data source
|
joinery.DataFrame<Object> |
queryAll(String tableNme,
String tableAlias)
get all the data in the table and converting it to DataFrame.
|
int |
update(Map<String,Object> updateItems,
List<PredicateEntity<Object>> predicateEntities,
String tableName)
Update data to data source
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitqueryByPredicatepublic joinery.DataFrame<Object> queryAll(String tableNme, String tableAlias)
DataSourcequeryAll 在接口中 DataSourcetableNme - tableNametableAlias - tableAliaspublic int insert(List<Map<String,Object>> valueList, String tableName) throws IOException
DataSourceinsert 在接口中 DataSourcevalueList - valueListtableName - tableNameIOException - IOExceptionpublic int update(Map<String,Object> updateItems, List<PredicateEntity<Object>> predicateEntities, String tableName) throws IOException
DataSourceupdate 在接口中 DataSourceupdateItems - updateItemspredicateEntities - predicateEntitiestableName - tableNameIOException - IOExceptionpublic int delete(List<PredicateEntity<Object>> predicateEntities, String tableName) throws IOException
DataSourcedelete 在接口中 DataSourcepredicateEntities - predicateEntitiestableName - tableNameIOException - IOExceptionCopyright © 2019. All rights reserved.