public class TableInfo
extends java.lang.Object
コンストラクタと説明 |
---|
TableInfo(org.w3c.dom.Node root) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected java.util.List |
addColumnInfo(java.util.List columnInfoList,
org.w3c.dom.Node node) |
void |
create(java.sql.Connection c) |
void |
createIndex(java.sql.Connection c) |
void |
createInsertQuery(java.io.Writer write,
java.io.LineNumberReader reader,
java.lang.String execute) |
void |
drop(java.sql.Connection c) |
void |
dropIndex(java.sql.Connection c) |
boolean |
equals(java.lang.Object o) |
java.util.List |
getColumnInfoList() |
java.lang.String |
getCreateQuery() |
protected javax.xml.parsers.DocumentBuilder |
getDocumentBuilder() |
java.lang.String |
getDropQuery() |
java.util.List |
getForeignKeyInfoList() |
protected java.util.List |
getForeignKeyInfoList(org.w3c.dom.Node node) |
java.util.List |
getIndexInfoList() |
protected java.util.List |
getIndexInfoList(org.w3c.dom.Node node,
java.lang.String tableName) |
java.lang.String |
getInsertQuery() |
protected java.util.List |
getKeyList(org.w3c.dom.Node node) |
java.util.List |
getPrimaryKeyList() |
java.lang.String |
getSelectQuery() |
java.lang.String |
getTableName() |
protected java.lang.String |
getTableName(org.w3c.dom.Node node) |
int |
hashCode() |
void |
insert(java.sql.Connection con,
java.io.LineNumberReader reader,
int batchSize,
int offset,
int size) |
void |
load(java.sql.Connection con,
java.io.Writer w,
java.lang.String condition) |
static void |
main(java.lang.String[] args) |
protected java.lang.String[] |
parse(java.lang.String s) |
java.lang.String |
toString() |
protected java.lang.String getTableName(org.w3c.dom.Node node)
protected java.util.List addColumnInfo(java.util.List columnInfoList, org.w3c.dom.Node node)
protected java.util.List getKeyList(org.w3c.dom.Node node)
protected java.util.List getIndexInfoList(org.w3c.dom.Node node, java.lang.String tableName)
protected java.util.List getForeignKeyInfoList(org.w3c.dom.Node node)
public java.lang.String getTableName()
public java.util.List getPrimaryKeyList()
public java.util.List getForeignKeyInfoList()
public java.util.List getIndexInfoList()
public java.lang.String getCreateQuery()
public java.lang.String getDropQuery()
public java.lang.String getSelectQuery()
public java.lang.String getInsertQuery()
public java.util.List getColumnInfoList()
public void create(java.sql.Connection c) throws java.sql.SQLException
java.sql.SQLException
public void drop(java.sql.Connection c) throws java.sql.SQLException
java.sql.SQLException
public void createIndex(java.sql.Connection c) throws java.sql.SQLException
java.sql.SQLException
public void dropIndex(java.sql.Connection c) throws java.sql.SQLException
java.sql.SQLException
public void insert(java.sql.Connection con, java.io.LineNumberReader reader, int batchSize, int offset, int size) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public void load(java.sql.Connection con, java.io.Writer w, java.lang.String condition) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public void createInsertQuery(java.io.Writer write, java.io.LineNumberReader reader, java.lang.String execute)
protected javax.xml.parsers.DocumentBuilder getDocumentBuilder() throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
protected java.lang.String[] parse(java.lang.String s)
public int hashCode()
hashCode
クラス内 java.lang.Object
public boolean equals(java.lang.Object o)
equals
クラス内 java.lang.Object
public java.lang.String toString()
toString
クラス内 java.lang.Object
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception