databasemetadata.java

来自「SearchPathServer」· Java 代码 · 共 43 行

JAVA
43
字号
/**
 * JDBC Interface to Mysql functions
 *
 * <p>
 * This class provides information about the database as a whole.
 *
 * <p>
 * Many of the methods here return lists of information in ResultSets.
 * You can use the normal ResultSet methods such as getString and getInt
 * to retrieve the data from these ResultSets.  If a given form of
 * metadata is not available, these methods show throw a java.sql.SQLException.
 * 
 * <p>
 * Some of these methods take arguments that are String patterns.  These
 * methods all have names such as fooPattern.  Within a pattern String "%"
 * means match any substring of 0 or more characters and "_" means match
 * any one character.
 *
 * @author Mark Matthews <mmatthew@worldserver.com>
 * @version $Id: DatabaseMetaData.java,v 1.2 2002/04/21 03:03:46 mark_matthews Exp $
 */

package com.mysql.jdbc.jdbc1;

import java.sql.*;

public class DatabaseMetaData extends com.mysql.jdbc.DatabaseMetaData
				      implements java.sql.DatabaseMetaData
{
  
    public DatabaseMetaData(com.mysql.jdbc.Connection Conn, String Database) 
    {
	super(Conn, Database);
    }

    protected java.sql.ResultSet buildResultSet(com.mysql.jdbc.Field[] Fields, 
						java.util.Vector Rows,
						com.mysql.jdbc.Connection Conn)
    {
	return new com.mysql.jdbc.jdbc1.ResultSet(Fields, Rows, Conn);
    }
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?