轻量级数据库结构爬虫 dbcrawler

码农软件 · 软件分类 · 其他开发相关 · 2019-10-28 10:28:18

软件介绍

dbcrawler是一个轻量级数据库结构爬虫。它能够取得数据库的底层结构并返回POJO对象。可以利用其提供的统一API来取得各种不同的数据库系统 的结构,而不用关心这些dbms之间的差异,当底层dbms变化时还是会返回相同的POJO对象。dbcrawler当前只支持MySQL、 PostgreSQL、Apache Derby三种数据库。

示例代码:

DataBase dataBase = DBcrawlerUtility.getDataBase(connection, ConfigEnum.MAXIMUM);
//fetch the DBMS information
RDBMSInfo rdbmsInfo = dataBase.getRDBMSInfo();
System.out.println("rdbmsInfo:" + rdbmsInfo);
//Return Schemas
Set<Schema> schemas = dataBase.getSchemas();
//Iterate to Fetch the schema information and Tables
for(Schema schema : schemas)
{
   
System.out.println("SchemaName :" + schema.getSchamaName());
   
Set<Table> tables = schema.getTables();
   
//Iterate to fetch the tables
   
for(Table table : tables)
   
{
     
System.out.println("tableName :" + table.getTableName());
     
PrimaryKey primaryKey = table.getPrimaryKey();
     
Set<Column> columns = table.getColumns();
   
}
}

本文地址:https://codercto.com/soft/d/17734.html

计数组合学(第一卷)

计数组合学(第一卷)

斯坦利 / 付梅、侯庆虎、辛国策 / 高等教育 / 2009-6 / 42.00元

《计数组合学(第1卷)》是两卷本计数组合学基础导论中的第一卷,适用于研究生和数学研究人员。《计数组合学(第1卷)》主要介绍生成函数的理论及其应用,生成函数是计数组合学中的基本工具。《计数组合学(第1卷)》共分为四章,分别介绍了计数(适合高年级的本科生),筛法(包括容斥原理),偏序集以及有理生成函数。《计数组合学(第1卷)》提供了大量的习题,并几乎都给出了解答,它们不仅是对《计数组合学(第1卷)》正......一起来看看 《计数组合学(第一卷)》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具