`
commando
  • 浏览: 77849 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Some points of Data exchange

    博客分类:
  • Java
 
阅读更多

 

 1. SAXBuilder converts an XML file into a JDOM tree

 

 2. Xpath查询选择节点,newInstance得到xpath对象后selectNodes or selectSingleNode

 

 3. Publish event 使用 HttpClient,StringTree json 构造eventJsonStr

 

      JSONWriter writer = new JSONWriter(false);
      Map map = new HashMap();
      map.put("event",eventName);
      map.put("source", event);  
      map.put("param", param);
      String eventJsonStr = writer.write(map);

 

 4.  JmsTemplate.send(),  创建发送的信息类型 msg = session.createTextMessage();

 

 5. metaDate 得到表的元数据信息;

 

     databaseMetaData = conn.getMetaData();
     rs = databaseMetaData.getColumns(null, param.getSchema().toUpperCase(),      

     tableName.toUpperCase(), null);
     while (rs.next()) {
        ColumnBean colb = new ColumnBean();
        colb.setName(rs.getString("COLUMN_NAME"));
        colb.setType(rs.getString("TYPE_NAME"));
        columnBeanList.add(colb);
    }

 

 6. 三种主流数据库的数据类型对比

 

Oracle 数据类型

SqlServer 数据类型

MySql数据类型

BLOB

VARBINARY(MAX)

Blob

CHAR

CHAR

Char

CLOB

VARCHAR(MAX)

text

DATE

DATETIME

date

FLOAT

FLOAT

float

INT

NUMERIC(38)

INTEGER

INTERVAL

DATETIME

DATETIME

LONG

VARCHAR(MAX)

text

NUMBER

FLOAT

float

TIMESTAMP

DATETIME

TIMESTAMP

VARCHAR2

VARCHAR

VARCHAR

 

分享到:
评论

相关推荐

    英文原版-Principles of Data Science 1st Edition

    Learn the fundamentals of computational mathematics and statistics, as well as some pseudocode being used today by data scientists and analysts. You’ll get to grips with machine learning, discover ...

    Principles of Data Science

    Learn the fundamentals of computational mathematics and statistics, as well as some pseudocode being used today by data scientists and analysts. You’ll get to grips with machine learning, discover ...

    Data Assimilation_Making Sense of Observations

    and fill in some of the gaps in that book. The NATO Science Series Book was based on a set of lectures presented at the NATO Advanced Study Institute (ASI) on Data Assimilation for the Earth System, ...

    Introduction to data mining

    作者:Pang-Ning Tan,Michael Steinbach, Vpin Kumar Data mining is a technology that blends ... We start with a description of some well-known applications that require new techniques for data analysis.

    The Elements of Statistical Learning data Mining,Inference,and Prediction

    We have added four new chapters and updated some of the existing chapters. Because many readers are familiar with the layout of the first edition, we have tried to change it as little as possible. ...

    Data Structures and Algorithm Analysis in C++ 4th 原版pdf by Weiss

    The fourth edition of Data Structures and Algorithm Analysis in C++ describes data structures, methods of organizing large amounts of data, and algorithm analysis, the estimation of the running time ...

    Some properties of the Logistic map over the finite field and its application

    To overcome these drawbacks, in this paper, we extend the Logistic map-3 to the finite field Z 3 n , and give theoretical analysis about some period properties of the Logistic map-3 over Z 3 n ....

    Three perspectives of data mining-Zhi-Hua Zhou

    instead of conclusive, it reveals that besides some common properties, different perspectives lay strong emphases on different aspects of data mining. The emphasis of the database perspective is on ef...

    Practical Data Wrangling

    Read a csv file into python and R, and print out some statistics on the data. Gain knowledge of the data formats and programming stuctures involved in retrieving API data. Make effective use of ...

    Data Mining with Rattle and R.pdf

    Throughout this book the reader is introduced to the basic concepts and some of the more popular algorithms of data mining. With a focus on the hands-on end-to-end process for data mining, Williams ...

    The Real Work of Data Science: Turning data into information, better decisions

    between a team that makes marginal contributions and one that drives the business, between a company that gains some value from its data and one in which data truly is “the most valuable resource.”...

    give me some credit data

    "give me some credit data"这个标题暗示我们正在探讨的是一个关于获取或分享信用信息的需求,可能是在为一个项目或研究寻找合适的信用数据集。Kaggle是一个著名的数据科学竞赛平台,同时也提供了大量的公开数据集供...

    Veracity of Big Data Machine Learning and Other 2018

    Examine the problem of maintaining the quality of big data and discover novel solutions. You will learn the four V’s of big data, including veracity, and study the problem from various angles. The ...

    some software of my for java delepement

    some software of my for java delepement some software of my for java delepement some software of my for java delepement

    Handbook of functional MRI Data Analysis

    Some of the newest cutting-edge techniques, including pattern classification analysis, connectivity modeling and resting state network analysis, are also discussed. Readers of this book, whether ...

    JavaScript and Open Data

    The first two parts, “Core JavaScript” and “Client-Side JavaScript”, review these features whilst the part on “Applications” introduces some of the basic skills of a “data scientist”. ...

Global site tag (gtag.js) - Google Analytics