You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by dh...@apache.org on 2009/01/06 03:06:21 UTC
svn commit: r731809 [2/3] - in /hadoop/hive/trunk: ./ jdbc/ jdbc/src/
jdbc/src/java/ jdbc/src/java/org/ jdbc/src/java/org/apache/
jdbc/src/java/org/apache/hadoop/ jdbc/src/java/org/apache/hadoop/hive/
jdbc/src/java/org/apache/hadoop/hive/jdbc/ jdbc/src...
Added: hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java?rev=731809&view=auto
==============================================================================
--- hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java (added)
+++ hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java Mon Jan 5 18:06:20 2009
@@ -0,0 +1,1616 @@
+/**
+ *
+ */
+package org.apache.hadoop.hive.jdbc;
+
+import java.sql.Connection;
+import java.sql.ResultSet;
+import java.sql.RowIdLifetime;
+import java.sql.SQLException;
+
+public class HiveDatabaseMetaData implements java.sql.DatabaseMetaData {
+
+ /**
+ *
+ */
+ public HiveDatabaseMetaData() {
+ // TODO Auto-generated constructor stub
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#allProceduresAreCallable()
+ */
+
+ public boolean allProceduresAreCallable() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#allTablesAreSelectable()
+ */
+
+ public boolean allTablesAreSelectable() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#autoCommitFailureClosesAllResultSets()
+ */
+
+ public boolean autoCommitFailureClosesAllResultSets() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#dataDefinitionCausesTransactionCommit()
+ */
+
+ public boolean dataDefinitionCausesTransactionCommit() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#dataDefinitionIgnoredInTransactions()
+ */
+
+ public boolean dataDefinitionIgnoredInTransactions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#deletesAreDetected(int)
+ */
+
+ public boolean deletesAreDetected(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#doesMaxRowSizeIncludeBlobs()
+ */
+
+ public boolean doesMaxRowSizeIncludeBlobs() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getAttributes(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getAttributes(String catalog, String schemaPattern,
+ String typeNamePattern, String attributeNamePattern)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getBestRowIdentifier(java.lang.String, java.lang.String, java.lang.String, int, boolean)
+ */
+
+ public ResultSet getBestRowIdentifier(String catalog, String schema,
+ String table, int scope, boolean nullable) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getCatalogSeparator()
+ */
+
+ public String getCatalogSeparator() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getCatalogTerm()
+ */
+
+ public String getCatalogTerm() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getCatalogs()
+ */
+
+ public ResultSet getCatalogs() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getClientInfoProperties()
+ */
+
+ public ResultSet getClientInfoProperties() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getColumnPrivileges(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getColumnPrivileges(String catalog, String schema,
+ String table, String columnNamePattern) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getColumns(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getColumns(String catalog, String schemaPattern,
+ String tableNamePattern, String columnNamePattern)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getConnection()
+ */
+
+ public Connection getConnection() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getCrossReference(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getCrossReference(String primaryCatalog,
+ String primarySchema, String primaryTable, String foreignCatalog,
+ String foreignSchema, String foreignTable) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDatabaseMajorVersion()
+ */
+
+ public int getDatabaseMajorVersion() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDatabaseMinorVersion()
+ */
+
+ public int getDatabaseMinorVersion() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDatabaseProductName()
+ */
+
+ public String getDatabaseProductName() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDatabaseProductVersion()
+ */
+
+ public String getDatabaseProductVersion() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDefaultTransactionIsolation()
+ */
+
+ public int getDefaultTransactionIsolation() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDriverMajorVersion()
+ */
+
+ public int getDriverMajorVersion() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDriverMinorVersion()
+ */
+
+ public int getDriverMinorVersion() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDriverName()
+ */
+
+ public String getDriverName() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getDriverVersion()
+ */
+
+ public String getDriverVersion() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getExportedKeys(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getExportedKeys(String catalog, String schema, String table)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getExtraNameCharacters()
+ */
+
+ public String getExtraNameCharacters() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getFunctionColumns(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getFunctionColumns(String arg0, String arg1, String arg2,
+ String arg3) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getFunctions(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getFunctions(String arg0, String arg1, String arg2)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getIdentifierQuoteString()
+ */
+
+ public String getIdentifierQuoteString() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getImportedKeys(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getImportedKeys(String catalog, String schema, String table)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getIndexInfo(java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
+ */
+
+ public ResultSet getIndexInfo(String catalog, String schema, String table,
+ boolean unique, boolean approximate) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getJDBCMajorVersion()
+ */
+
+ public int getJDBCMajorVersion() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getJDBCMinorVersion()
+ */
+
+ public int getJDBCMinorVersion() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxBinaryLiteralLength()
+ */
+
+ public int getMaxBinaryLiteralLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxCatalogNameLength()
+ */
+
+ public int getMaxCatalogNameLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxCharLiteralLength()
+ */
+
+ public int getMaxCharLiteralLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxColumnNameLength()
+ */
+
+ public int getMaxColumnNameLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxColumnsInGroupBy()
+ */
+
+ public int getMaxColumnsInGroupBy() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxColumnsInIndex()
+ */
+
+ public int getMaxColumnsInIndex() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxColumnsInOrderBy()
+ */
+
+ public int getMaxColumnsInOrderBy() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxColumnsInSelect()
+ */
+
+ public int getMaxColumnsInSelect() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxColumnsInTable()
+ */
+
+ public int getMaxColumnsInTable() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxConnections()
+ */
+
+ public int getMaxConnections() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxCursorNameLength()
+ */
+
+ public int getMaxCursorNameLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxIndexLength()
+ */
+
+ public int getMaxIndexLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxProcedureNameLength()
+ */
+
+ public int getMaxProcedureNameLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxRowSize()
+ */
+
+ public int getMaxRowSize() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxSchemaNameLength()
+ */
+
+ public int getMaxSchemaNameLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxStatementLength()
+ */
+
+ public int getMaxStatementLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxStatements()
+ */
+
+ public int getMaxStatements() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxTableNameLength()
+ */
+
+ public int getMaxTableNameLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxTablesInSelect()
+ */
+
+ public int getMaxTablesInSelect() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getMaxUserNameLength()
+ */
+
+ public int getMaxUserNameLength() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getNumericFunctions()
+ */
+
+ public String getNumericFunctions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getPrimaryKeys(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getPrimaryKeys(String catalog, String schema, String table)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getProcedureColumns(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getProcedureColumns(String catalog, String schemaPattern,
+ String procedureNamePattern, String columnNamePattern)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getProcedureTerm()
+ */
+
+ public String getProcedureTerm() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getProcedures(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getProcedures(String catalog, String schemaPattern,
+ String procedureNamePattern) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getResultSetHoldability()
+ */
+
+ public int getResultSetHoldability() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getRowIdLifetime()
+ */
+
+ public RowIdLifetime getRowIdLifetime() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSQLKeywords()
+ */
+
+ public String getSQLKeywords() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSQLStateType()
+ */
+
+ public int getSQLStateType() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSchemaTerm()
+ */
+
+ public String getSchemaTerm() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSchemas()
+ */
+
+ public ResultSet getSchemas() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSchemas(java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getSchemas(String catalog, String schemaPattern)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSearchStringEscape()
+ */
+
+ public String getSearchStringEscape() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getStringFunctions()
+ */
+
+ public String getStringFunctions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSuperTables(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getSuperTables(String catalog, String schemaPattern,
+ String tableNamePattern) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSuperTypes(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getSuperTypes(String catalog, String schemaPattern,
+ String typeNamePattern) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getSystemFunctions()
+ */
+
+ public String getSystemFunctions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getTablePrivileges(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getTablePrivileges(String catalog, String schemaPattern,
+ String tableNamePattern) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getTableTypes()
+ */
+
+ public ResultSet getTableTypes() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getTables(java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
+ */
+
+ public ResultSet getTables(String catalog, String schemaPattern,
+ String tableNamePattern, String[] types) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getTimeDateFunctions()
+ */
+
+ public String getTimeDateFunctions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getTypeInfo()
+ */
+
+ public ResultSet getTypeInfo() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getUDTs(java.lang.String, java.lang.String, java.lang.String, int[])
+ */
+
+ public ResultSet getUDTs(String catalog, String schemaPattern,
+ String typeNamePattern, int[] types) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getURL()
+ */
+
+ public String getURL() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getUserName()
+ */
+
+ public String getUserName() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#getVersionColumns(java.lang.String, java.lang.String, java.lang.String)
+ */
+
+ public ResultSet getVersionColumns(String catalog, String schema,
+ String table) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#insertsAreDetected(int)
+ */
+
+ public boolean insertsAreDetected(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#isCatalogAtStart()
+ */
+
+ public boolean isCatalogAtStart() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#isReadOnly()
+ */
+
+ public boolean isReadOnly() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#locatorsUpdateCopy()
+ */
+
+ public boolean locatorsUpdateCopy() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#nullPlusNonNullIsNull()
+ */
+
+ public boolean nullPlusNonNullIsNull() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#nullsAreSortedAtEnd()
+ */
+
+ public boolean nullsAreSortedAtEnd() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#nullsAreSortedAtStart()
+ */
+
+ public boolean nullsAreSortedAtStart() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#nullsAreSortedHigh()
+ */
+
+ public boolean nullsAreSortedHigh() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#nullsAreSortedLow()
+ */
+
+ public boolean nullsAreSortedLow() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#othersDeletesAreVisible(int)
+ */
+
+ public boolean othersDeletesAreVisible(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#othersInsertsAreVisible(int)
+ */
+
+ public boolean othersInsertsAreVisible(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#othersUpdatesAreVisible(int)
+ */
+
+ public boolean othersUpdatesAreVisible(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#ownDeletesAreVisible(int)
+ */
+
+ public boolean ownDeletesAreVisible(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#ownInsertsAreVisible(int)
+ */
+
+ public boolean ownInsertsAreVisible(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#ownUpdatesAreVisible(int)
+ */
+
+ public boolean ownUpdatesAreVisible(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#storesLowerCaseIdentifiers()
+ */
+
+ public boolean storesLowerCaseIdentifiers() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#storesLowerCaseQuotedIdentifiers()
+ */
+
+ public boolean storesLowerCaseQuotedIdentifiers() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#storesMixedCaseIdentifiers()
+ */
+
+ public boolean storesMixedCaseIdentifiers() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#storesMixedCaseQuotedIdentifiers()
+ */
+
+ public boolean storesMixedCaseQuotedIdentifiers() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#storesUpperCaseIdentifiers()
+ */
+
+ public boolean storesUpperCaseIdentifiers() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#storesUpperCaseQuotedIdentifiers()
+ */
+
+ public boolean storesUpperCaseQuotedIdentifiers() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsANSI92EntryLevelSQL()
+ */
+
+ public boolean supportsANSI92EntryLevelSQL() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsANSI92FullSQL()
+ */
+
+ public boolean supportsANSI92FullSQL() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsANSI92IntermediateSQL()
+ */
+
+ public boolean supportsANSI92IntermediateSQL() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsAlterTableWithAddColumn()
+ */
+
+ public boolean supportsAlterTableWithAddColumn() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsAlterTableWithDropColumn()
+ */
+
+ public boolean supportsAlterTableWithDropColumn() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsBatchUpdates()
+ */
+
+ public boolean supportsBatchUpdates() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsCatalogsInDataManipulation()
+ */
+
+ public boolean supportsCatalogsInDataManipulation() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsCatalogsInIndexDefinitions()
+ */
+
+ public boolean supportsCatalogsInIndexDefinitions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsCatalogsInPrivilegeDefinitions()
+ */
+
+ public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsCatalogsInProcedureCalls()
+ */
+
+ public boolean supportsCatalogsInProcedureCalls() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsCatalogsInTableDefinitions()
+ */
+
+ public boolean supportsCatalogsInTableDefinitions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsColumnAliasing()
+ */
+
+ public boolean supportsColumnAliasing() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsConvert()
+ */
+
+ public boolean supportsConvert() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsConvert(int, int)
+ */
+
+ public boolean supportsConvert(int fromType, int toType)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsCoreSQLGrammar()
+ */
+
+ public boolean supportsCoreSQLGrammar() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsCorrelatedSubqueries()
+ */
+
+ public boolean supportsCorrelatedSubqueries() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsDataDefinitionAndDataManipulationTransactions()
+ */
+
+ public boolean supportsDataDefinitionAndDataManipulationTransactions()
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsDataManipulationTransactionsOnly()
+ */
+
+ public boolean supportsDataManipulationTransactionsOnly()
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsDifferentTableCorrelationNames()
+ */
+
+ public boolean supportsDifferentTableCorrelationNames() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsExpressionsInOrderBy()
+ */
+
+ public boolean supportsExpressionsInOrderBy() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsExtendedSQLGrammar()
+ */
+
+ public boolean supportsExtendedSQLGrammar() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsFullOuterJoins()
+ */
+
+ public boolean supportsFullOuterJoins() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsGetGeneratedKeys()
+ */
+
+ public boolean supportsGetGeneratedKeys() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsGroupBy()
+ */
+
+ public boolean supportsGroupBy() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsGroupByBeyondSelect()
+ */
+
+ public boolean supportsGroupByBeyondSelect() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsGroupByUnrelated()
+ */
+
+ public boolean supportsGroupByUnrelated() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsIntegrityEnhancementFacility()
+ */
+
+ public boolean supportsIntegrityEnhancementFacility() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsLikeEscapeClause()
+ */
+
+ public boolean supportsLikeEscapeClause() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsLimitedOuterJoins()
+ */
+
+ public boolean supportsLimitedOuterJoins() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsMinimumSQLGrammar()
+ */
+
+ public boolean supportsMinimumSQLGrammar() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsMixedCaseIdentifiers()
+ */
+
+ public boolean supportsMixedCaseIdentifiers() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsMixedCaseQuotedIdentifiers()
+ */
+
+ public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsMultipleOpenResults()
+ */
+
+ public boolean supportsMultipleOpenResults() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsMultipleResultSets()
+ */
+
+ public boolean supportsMultipleResultSets() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsMultipleTransactions()
+ */
+
+ public boolean supportsMultipleTransactions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsNamedParameters()
+ */
+
+ public boolean supportsNamedParameters() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsNonNullableColumns()
+ */
+
+ public boolean supportsNonNullableColumns() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsOpenCursorsAcrossCommit()
+ */
+
+ public boolean supportsOpenCursorsAcrossCommit() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsOpenCursorsAcrossRollback()
+ */
+
+ public boolean supportsOpenCursorsAcrossRollback() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsOpenStatementsAcrossCommit()
+ */
+
+ public boolean supportsOpenStatementsAcrossCommit() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsOpenStatementsAcrossRollback()
+ */
+
+ public boolean supportsOpenStatementsAcrossRollback() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsOrderByUnrelated()
+ */
+
+ public boolean supportsOrderByUnrelated() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsOuterJoins()
+ */
+
+ public boolean supportsOuterJoins() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsPositionedDelete()
+ */
+
+ public boolean supportsPositionedDelete() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsPositionedUpdate()
+ */
+
+ public boolean supportsPositionedUpdate() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsResultSetConcurrency(int, int)
+ */
+
+ public boolean supportsResultSetConcurrency(int type, int concurrency)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsResultSetHoldability(int)
+ */
+
+ public boolean supportsResultSetHoldability(int holdability)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsResultSetType(int)
+ */
+
+ public boolean supportsResultSetType(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSavepoints()
+ */
+
+ public boolean supportsSavepoints() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSchemasInDataManipulation()
+ */
+
+ public boolean supportsSchemasInDataManipulation() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSchemasInIndexDefinitions()
+ */
+
+ public boolean supportsSchemasInIndexDefinitions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSchemasInPrivilegeDefinitions()
+ */
+
+ public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSchemasInProcedureCalls()
+ */
+
+ public boolean supportsSchemasInProcedureCalls() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSchemasInTableDefinitions()
+ */
+
+ public boolean supportsSchemasInTableDefinitions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSelectForUpdate()
+ */
+
+ public boolean supportsSelectForUpdate() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsStatementPooling()
+ */
+
+ public boolean supportsStatementPooling() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsStoredFunctionsUsingCallSyntax()
+ */
+
+ public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsStoredProcedures()
+ */
+
+ public boolean supportsStoredProcedures() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSubqueriesInComparisons()
+ */
+
+ public boolean supportsSubqueriesInComparisons() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSubqueriesInExists()
+ */
+
+ public boolean supportsSubqueriesInExists() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSubqueriesInIns()
+ */
+
+ public boolean supportsSubqueriesInIns() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsSubqueriesInQuantifieds()
+ */
+
+ public boolean supportsSubqueriesInQuantifieds() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsTableCorrelationNames()
+ */
+
+ public boolean supportsTableCorrelationNames() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsTransactionIsolationLevel(int)
+ */
+
+ public boolean supportsTransactionIsolationLevel(int level)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsTransactions()
+ */
+
+ public boolean supportsTransactions() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsUnion()
+ */
+
+ public boolean supportsUnion() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#supportsUnionAll()
+ */
+
+ public boolean supportsUnionAll() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#updatesAreDetected(int)
+ */
+
+ public boolean updatesAreDetected(int type) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#usesLocalFilePerTable()
+ */
+
+ public boolean usesLocalFilePerTable() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.DatabaseMetaData#usesLocalFiles()
+ */
+
+ public boolean usesLocalFiles() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Wrapper#isWrapperFor(java.lang.Class)
+ */
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Wrapper#unwrap(java.lang.Class)
+ */
+
+ public <T> T unwrap(Class<T> iface) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+}
Added: hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDriver.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDriver.java?rev=731809&view=auto
==============================================================================
--- hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDriver.java (added)
+++ hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDriver.java Mon Jan 5 18:06:20 2009
@@ -0,0 +1,106 @@
+/**
+ *
+ */
+package org.apache.hadoop.hive.jdbc;
+
+import java.sql.*;
+import java.sql.DriverManager;
+import java.util.Properties;
+import java.util.regex.Pattern;
+
+
+public class HiveDriver implements java.sql.Driver {
+ static {
+ try {
+ java.sql.DriverManager.registerDriver(new org.apache.hadoop.hive.jdbc.HiveDriver());
+ } catch (SQLException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * Major version number of this driver.
+ */
+ private static final int MAJOR_VERSION = 0;
+
+ /**
+ * Minor version number of this driver.
+ */
+ private static final int MINOR_VERSION = 0;
+
+ /**
+ * Is this driver JDBC compliant?
+ */
+ private static final boolean JDBC_COMPLIANT = false;
+
+ /**
+ *
+ */
+ public HiveDriver() {
+ // TODO Auto-generated constructor stub
+ SecurityManager security = System.getSecurityManager();
+ if (security != null) {
+ security.checkWrite("foobah");
+ }
+ }
+
+ /**
+ * Checks whether a given url is in a valid format.
+ *
+ * The current uri format is:
+ * jdbc:hive://[host[:port]]
+ *
+ * jdbc:hive:// - run in embedded mode
+ * jdbc:hive://localhost - connect to localhost default port (10000)
+ * jdbc:hive://localhost:5050 - connect to localhost port 5050
+ *
+ * TODO: - write a better regex.
+ * - decide on uri format
+ */
+
+ public boolean acceptsURL(String url) throws SQLException {
+ return Pattern.matches("jdbc:hive://", url);
+ }
+
+
+ public Connection connect(String url, Properties info) throws SQLException {
+ try {
+ return new HiveConnection(url, info);
+ } catch (Exception ex) {
+ throw new SQLException(ex.toString());
+ }
+ }
+
+ /**
+ * Returns the major version of this driver.
+ */
+
+ public int getMajorVersion() {
+ return MAJOR_VERSION;
+ }
+
+ /**
+ * Returns the minor version of this driver.
+ */
+
+ public int getMinorVersion() {
+ return MINOR_VERSION;
+ }
+
+
+ public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /**
+ * Returns whether the driver is JDBC compliant.
+ */
+
+ public boolean jdbcCompliant() {
+ return JDBC_COMPLIANT;
+ }
+
+}
Added: hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java?rev=731809&view=auto
==============================================================================
--- hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java (added)
+++ hadoop/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HivePreparedStatement.java Mon Jan 5 18:06:20 2009
@@ -0,0 +1,943 @@
+/**
+ *
+ */
+package org.apache.hadoop.hive.jdbc;
+
+import java.io.InputStream;
+import java.io.Reader;
+import java.math.BigDecimal;
+import java.net.URL;
+import java.sql.Array;
+import java.sql.Blob;
+import java.sql.Clob;
+import java.sql.Connection;
+import java.sql.Date;
+import java.sql.NClob;
+import java.sql.ParameterMetaData;
+import java.sql.Ref;
+import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
+import java.sql.RowId;
+import java.sql.SQLException;
+import java.sql.SQLWarning;
+import java.sql.SQLXML;
+import java.sql.Time;
+import java.sql.Timestamp;
+import java.util.Calendar;
+
+
+public class HivePreparedStatement implements java.sql.PreparedStatement {
+ String sql;
+
+ /**
+ *
+ */
+ public HivePreparedStatement(String sql) {
+ this.sql = sql;
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#addBatch()
+ */
+
+ public void addBatch() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#clearParameters()
+ */
+
+ public void clearParameters() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#execute()
+ */
+
+ public boolean execute() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#executeQuery()
+ */
+
+ public ResultSet executeQuery() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#executeUpdate()
+ */
+
+ public int executeUpdate() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#getMetaData()
+ */
+
+ public ResultSetMetaData getMetaData() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#getParameterMetaData()
+ */
+
+ public ParameterMetaData getParameterMetaData() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setArray(int, java.sql.Array)
+ */
+
+ public void setArray(int i, Array x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setAsciiStream(int, java.io.InputStream)
+ */
+
+ public void setAsciiStream(int parameterIndex, InputStream x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setAsciiStream(int, java.io.InputStream, int)
+ */
+
+ public void setAsciiStream(int parameterIndex, InputStream x, int length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setAsciiStream(int, java.io.InputStream, long)
+ */
+
+ public void setAsciiStream(int parameterIndex, InputStream x, long length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBigDecimal(int, java.math.BigDecimal)
+ */
+
+ public void setBigDecimal(int parameterIndex, BigDecimal x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBinaryStream(int, java.io.InputStream)
+ */
+
+ public void setBinaryStream(int parameterIndex, InputStream x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBinaryStream(int, java.io.InputStream, int)
+ */
+
+ public void setBinaryStream(int parameterIndex, InputStream x, int length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBinaryStream(int, java.io.InputStream, long)
+ */
+
+ public void setBinaryStream(int parameterIndex, InputStream x, long length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBlob(int, java.sql.Blob)
+ */
+
+ public void setBlob(int i, Blob x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBlob(int, java.io.InputStream)
+ */
+
+ public void setBlob(int parameterIndex, InputStream inputStream)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBlob(int, java.io.InputStream, long)
+ */
+
+ public void setBlob(int parameterIndex, InputStream inputStream, long length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBoolean(int, boolean)
+ */
+
+ public void setBoolean(int parameterIndex, boolean x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setByte(int, byte)
+ */
+
+ public void setByte(int parameterIndex, byte x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setBytes(int, byte[])
+ */
+
+ public void setBytes(int parameterIndex, byte[] x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setCharacterStream(int, java.io.Reader)
+ */
+
+ public void setCharacterStream(int parameterIndex, Reader reader)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setCharacterStream(int, java.io.Reader, int)
+ */
+
+ public void setCharacterStream(int parameterIndex, Reader reader, int length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setCharacterStream(int, java.io.Reader, long)
+ */
+
+ public void setCharacterStream(int parameterIndex, Reader reader,
+ long length) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setClob(int, java.sql.Clob)
+ */
+
+ public void setClob(int i, Clob x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setClob(int, java.io.Reader)
+ */
+
+ public void setClob(int parameterIndex, Reader reader) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setClob(int, java.io.Reader, long)
+ */
+
+ public void setClob(int parameterIndex, Reader reader, long length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setDate(int, java.sql.Date)
+ */
+
+ public void setDate(int parameterIndex, Date x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setDate(int, java.sql.Date, java.util.Calendar)
+ */
+
+ public void setDate(int parameterIndex, Date x, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setDouble(int, double)
+ */
+
+ public void setDouble(int parameterIndex, double x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setFloat(int, float)
+ */
+
+ public void setFloat(int parameterIndex, float x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setInt(int, int)
+ */
+
+ public void setInt(int parameterIndex, int x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setLong(int, long)
+ */
+
+ public void setLong(int parameterIndex, long x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setNCharacterStream(int, java.io.Reader)
+ */
+
+ public void setNCharacterStream(int parameterIndex, Reader value)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setNCharacterStream(int, java.io.Reader, long)
+ */
+
+ public void setNCharacterStream(int parameterIndex, Reader value,
+ long length) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setNClob(int, java.sql.NClob)
+ */
+
+ public void setNClob(int parameterIndex, NClob value) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setNClob(int, java.io.Reader)
+ */
+
+ public void setNClob(int parameterIndex, Reader reader) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setNClob(int, java.io.Reader, long)
+ */
+
+ public void setNClob(int parameterIndex, Reader reader, long length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setNString(int, java.lang.String)
+ */
+
+ public void setNString(int parameterIndex, String value)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setNull(int, int)
+ */
+
+ public void setNull(int parameterIndex, int sqlType) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setNull(int, int, java.lang.String)
+ */
+
+ public void setNull(int paramIndex, int sqlType, String typeName)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setObject(int, java.lang.Object)
+ */
+
+ public void setObject(int parameterIndex, Object x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setObject(int, java.lang.Object, int)
+ */
+
+ public void setObject(int parameterIndex, Object x, int targetSqlType)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setObject(int, java.lang.Object, int, int)
+ */
+
+ public void setObject(int parameterIndex, Object x, int targetSqlType,
+ int scale) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setRef(int, java.sql.Ref)
+ */
+
+ public void setRef(int i, Ref x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setRowId(int, java.sql.RowId)
+ */
+
+ public void setRowId(int parameterIndex, RowId x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setSQLXML(int, java.sql.SQLXML)
+ */
+
+ public void setSQLXML(int parameterIndex, SQLXML xmlObject)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setShort(int, short)
+ */
+
+ public void setShort(int parameterIndex, short x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setString(int, java.lang.String)
+ */
+
+ public void setString(int parameterIndex, String x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setTime(int, java.sql.Time)
+ */
+
+ public void setTime(int parameterIndex, Time x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setTime(int, java.sql.Time, java.util.Calendar)
+ */
+
+ public void setTime(int parameterIndex, Time x, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setTimestamp(int, java.sql.Timestamp)
+ */
+
+ public void setTimestamp(int parameterIndex, Timestamp x)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setTimestamp(int, java.sql.Timestamp, java.util.Calendar)
+ */
+
+ public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setURL(int, java.net.URL)
+ */
+
+ public void setURL(int parameterIndex, URL x) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.PreparedStatement#setUnicodeStream(int, java.io.InputStream, int)
+ */
+
+ public void setUnicodeStream(int parameterIndex, InputStream x, int length)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#addBatch(java.lang.String)
+ */
+
+ public void addBatch(String sql) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#cancel()
+ */
+
+ public void cancel() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#clearBatch()
+ */
+
+ public void clearBatch() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#clearWarnings()
+ */
+
+ public void clearWarnings() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#close()
+ */
+
+ public void close() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#execute(java.lang.String)
+ */
+
+ public boolean execute(String sql) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#execute(java.lang.String, int)
+ */
+
+ public boolean execute(String sql, int autoGeneratedKeys)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#execute(java.lang.String, int[])
+ */
+
+ public boolean execute(String sql, int[] columnIndexes) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#execute(java.lang.String, java.lang.String[])
+ */
+
+ public boolean execute(String sql, String[] columnNames)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#executeBatch()
+ */
+
+ public int[] executeBatch() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#executeQuery(java.lang.String)
+ */
+
+ public ResultSet executeQuery(String sql) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#executeUpdate(java.lang.String)
+ */
+
+ public int executeUpdate(String sql) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#executeUpdate(java.lang.String, int)
+ */
+
+ public int executeUpdate(String sql, int autoGeneratedKeys)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#executeUpdate(java.lang.String, int[])
+ */
+
+ public int executeUpdate(String sql, int[] columnIndexes)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#executeUpdate(java.lang.String, java.lang.String[])
+ */
+
+ public int executeUpdate(String sql, String[] columnNames)
+ throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getConnection()
+ */
+
+ public Connection getConnection() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getFetchDirection()
+ */
+
+ public int getFetchDirection() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getFetchSize()
+ */
+
+ public int getFetchSize() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getGeneratedKeys()
+ */
+
+ public ResultSet getGeneratedKeys() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getMaxFieldSize()
+ */
+
+ public int getMaxFieldSize() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getMaxRows()
+ */
+
+ public int getMaxRows() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getMoreResults()
+ */
+
+ public boolean getMoreResults() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getMoreResults(int)
+ */
+
+ public boolean getMoreResults(int current) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getQueryTimeout()
+ */
+
+ public int getQueryTimeout() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getResultSet()
+ */
+
+ public ResultSet getResultSet() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getResultSetConcurrency()
+ */
+
+ public int getResultSetConcurrency() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getResultSetHoldability()
+ */
+
+ public int getResultSetHoldability() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getResultSetType()
+ */
+
+ public int getResultSetType() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getUpdateCount()
+ */
+
+ public int getUpdateCount() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#getWarnings()
+ */
+
+ public SQLWarning getWarnings() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#isClosed()
+ */
+
+ public boolean isClosed() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#isPoolable()
+ */
+
+ public boolean isPoolable() throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#setCursorName(java.lang.String)
+ */
+
+ public void setCursorName(String name) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#setEscapeProcessing(boolean)
+ */
+
+ public void setEscapeProcessing(boolean enable) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#setFetchDirection(int)
+ */
+
+ public void setFetchDirection(int direction) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#setFetchSize(int)
+ */
+
+ public void setFetchSize(int rows) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#setMaxFieldSize(int)
+ */
+
+ public void setMaxFieldSize(int max) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#setMaxRows(int)
+ */
+
+ public void setMaxRows(int max) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#setPoolable(boolean)
+ */
+
+ public void setPoolable(boolean poolable) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Statement#setQueryTimeout(int)
+ */
+
+ public void setQueryTimeout(int seconds) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Wrapper#isWrapperFor(java.lang.Class)
+ */
+
+ public boolean isWrapperFor(Class<?> iface) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+ /* (non-Javadoc)
+ * @see java.sql.Wrapper#unwrap(java.lang.Class)
+ */
+
+ public <T> T unwrap(Class<T> iface) throws SQLException {
+ // TODO Auto-generated method stub
+ throw new SQLException("Method not supported");
+ }
+
+}