This is an automated email from the ASF dual-hosted git repository. dmollitor pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push: new 6a47f9e HIVE-23113: Clean Up HiveCallableStatement (David Mollitor, reviewed by Peter Vary) 6a47f9e is described below commit 6a47f9e292b1976f238be3f7c706aeac038731ed Author: David Mollitor <dmolli...@apache.org> AuthorDate: Mon Apr 20 09:18:15 2020 -0400 HIVE-23113: Clean Up HiveCallableStatement (David Mollitor, reviewed by Peter Vary) --- .../apache/hive/jdbc/HiveCallableStatement.java | 1889 +++----------------- 1 file changed, 276 insertions(+), 1613 deletions(-) diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveCallableStatement.java b/jdbc/src/java/org/apache/hive/jdbc/HiveCallableStatement.java index 581eb91..6de1771 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HiveCallableStatement.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HiveCallableStatement.java @@ -43,2420 +43,1083 @@ import java.util.Calendar; import java.util.Map; /** - * HiveCallableStatement. - * + * The Statement used to execute SQL stored procedures. The JDBC API provides a + * stored procedure SQL escape syntax that allows stored procedures to be called + * in a standard way for all RDBMSs. Hive does not support SQL stored + * procedures. */ public class HiveCallableStatement implements java.sql.CallableStatement { + private final Connection connection; /** + * Constructor. * + * @param connection the connection */ public HiveCallableStatement(Connection connection) { this.connection = connection; } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getArray(int) - */ - + @Override public Array getArray(int i) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getArray(java.lang.String) - */ - + @Override public Array getArray(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBigDecimal(int) - */ - + @Override public BigDecimal getBigDecimal(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBigDecimal(java.lang.String) - */ - + @Override public BigDecimal getBigDecimal(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBigDecimal(int, int) - */ - + @Override public BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBlob(int) - */ - + @Override public Blob getBlob(int i) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBlob(java.lang.String) - */ - + @Override public Blob getBlob(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBoolean(int) - */ - + @Override public boolean getBoolean(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBoolean(java.lang.String) - */ - + @Override public boolean getBoolean(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getByte(int) - */ - + @Override public byte getByte(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getByte(java.lang.String) - */ - + @Override public byte getByte(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBytes(int) - */ - + @Override public byte[] getBytes(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getBytes(java.lang.String) - */ - + @Override public byte[] getBytes(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getCharacterStream(int) - */ - + @Override public Reader getCharacterStream(int arg0) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getCharacterStream(java.lang.String) - */ - + @Override public Reader getCharacterStream(String arg0) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getClob(int) - */ - + @Override public Clob getClob(int i) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getClob(java.lang.String) - */ - + @Override public Clob getClob(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getDate(int) - */ - + @Override public Date getDate(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getDate(java.lang.String) - */ - + @Override public Date getDate(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getDate(int, java.util.Calendar) - */ - + @Override public Date getDate(int parameterIndex, Calendar cal) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getDate(java.lang.String, - * java.util.Calendar) - */ - + @Override public Date getDate(String parameterName, Calendar cal) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getDouble(int) - */ - + @Override public double getDouble(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getDouble(java.lang.String) - */ - + @Override public double getDouble(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getFloat(int) - */ - + @Override public float getFloat(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getFloat(java.lang.String) - */ - + @Override public float getFloat(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getInt(int) - */ - + @Override public int getInt(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getInt(java.lang.String) - */ - + @Override public int getInt(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getLong(int) - */ - + @Override public long getLong(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getLong(java.lang.String) - */ - + @Override public long getLong(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getNCharacterStream(int) - */ - + @Override public Reader getNCharacterStream(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getNCharacterStream(java.lang.String) - */ - + @Override public Reader getNCharacterStream(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getNClob(int) - */ - + @Override public NClob getNClob(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getNClob(java.lang.String) - */ - + @Override public NClob getNClob(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getNString(int) - */ - + @Override public String getNString(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getNString(java.lang.String) - */ - + @Override public String getNString(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getObject(int) - */ - + @Override public Object getObject(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getObject(java.lang.String) - */ - + @Override public Object getObject(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } + @Override public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException { - // TODO JDK 1.7 throw new SQLFeatureNotSupportedException("Method not supported"); } + @Override public <T> T getObject(String parameterName, Class<T> type) throws SQLException { - // TODO JDK 1.7 throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getObject(int, java.util.Map) - */ - + @Override public Object getObject(int i, Map<String, Class<?>> map) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getObject(java.lang.String, java.util.Map) - */ - + @Override public Object getObject(String parameterName, Map<String, Class<?>> map) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getRef(int) - */ - + @Override public Ref getRef(int i) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getRef(java.lang.String) - */ - + @Override public Ref getRef(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getRowId(int) - */ - + @Override public RowId getRowId(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getRowId(java.lang.String) - */ - + @Override public RowId getRowId(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getSQLXML(int) - */ - + @Override public SQLXML getSQLXML(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getSQLXML(java.lang.String) - */ - + @Override public SQLXML getSQLXML(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getShort(int) - */ - + @Override public short getShort(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getShort(java.lang.String) - */ - + @Override public short getShort(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getString(int) - */ - + @Override public String getString(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getString(java.lang.String) - */ - + @Override public String getString(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getTime(int) - */ - + @Override public Time getTime(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getTime(java.lang.String) - */ - + @Override public Time getTime(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getTime(int, java.util.Calendar) - */ - + @Override public Time getTime(int parameterIndex, Calendar cal) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getTime(java.lang.String, - * java.util.Calendar) - */ - + @Override public Time getTime(String parameterName, Calendar cal) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getTimestamp(int) - */ - + @Override public Timestamp getTimestamp(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getTimestamp(java.lang.String) - */ - + @Override public Timestamp getTimestamp(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getTimestamp(int, java.util.Calendar) - */ - + @Override public Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getTimestamp(java.lang.String, - * java.util.Calendar) - */ - + @Override public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getURL(int) - */ - + @Override public URL getURL(int parameterIndex) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#getURL(java.lang.String) - */ - + @Override public URL getURL(String parameterName) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#registerOutParameter(int, int) - */ - + @Override public void registerOutParameter(int parameterIndex, int sqlType) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#registerOutParameter(java.lang.String, int) - */ - + @Override public void registerOutParameter(String parameterName, int sqlType) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#registerOutParameter(int, int, int) - */ - - public void registerOutParameter(int parameterIndex, int sqlType, int scale) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void registerOutParameter(int parameterIndex, int sqlType, int scale) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#registerOutParameter(int, int, - * java.lang.String) - */ - - public void registerOutParameter(int paramIndex, int sqlType, String typeName) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void registerOutParameter(int paramIndex, int sqlType, String typeName) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#registerOutParameter(java.lang.String, int, - * int) - */ - - public void registerOutParameter(String parameterName, int sqlType, int scale) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#registerOutParameter(java.lang.String, int, - * java.lang.String) - */ - - public void registerOutParameter(String parameterName, int sqlType, - String typeName) throws SQLException { - // TODO Auto-generated method stub + @Override + public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setAsciiStream(java.lang.String, - * java.io.InputStream) - */ - - public void setAsciiStream(String parameterName, InputStream x) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setAsciiStream(String parameterName, InputStream x) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setAsciiStream(java.lang.String, - * java.io.InputStream, int) - */ - - public void setAsciiStream(String parameterName, InputStream x, int length) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setAsciiStream(java.lang.String, - * java.io.InputStream, long) - */ - - public void setAsciiStream(String parameterName, InputStream x, long length) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBigDecimal(java.lang.String, - * java.math.BigDecimal) - */ - - public void setBigDecimal(String parameterName, BigDecimal x) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBinaryStream(java.lang.String, - * java.io.InputStream) - */ - - public void setBinaryStream(String parameterName, InputStream x) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setBinaryStream(String parameterName, InputStream x) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBinaryStream(java.lang.String, - * java.io.InputStream, int) - */ - - public void setBinaryStream(String parameterName, InputStream x, int length) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBinaryStream(java.lang.String, - * java.io.InputStream, long) - */ - - public void setBinaryStream(String parameterName, InputStream x, long length) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBlob(java.lang.String, java.sql.Blob) - */ - + @Override public void setBlob(String parameterName, Blob x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBlob(java.lang.String, - * java.io.InputStream) - */ - - public void setBlob(String parameterName, InputStream inputStream) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setBlob(String parameterName, InputStream inputStream) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBlob(java.lang.String, - * java.io.InputStream, long) - */ - - public void setBlob(String parameterName, InputStream inputStream, long length) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBoolean(java.lang.String, boolean) - */ - + @Override public void setBoolean(String parameterName, boolean x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setByte(java.lang.String, byte) - */ - + @Override public void setByte(String parameterName, byte x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setBytes(java.lang.String, byte[]) - */ - + @Override public void setBytes(String parameterName, byte[] x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setCharacterStream(java.lang.String, - * java.io.Reader) - */ - - public void setCharacterStream(String parameterName, Reader reader) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setCharacterStream(String parameterName, Reader reader) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setCharacterStream(java.lang.String, - * java.io.Reader, int) - */ - - public void setCharacterStream(String parameterName, Reader reader, int length) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setCharacterStream(java.lang.String, - * java.io.Reader, long) - */ - - public void setCharacterStream(String parameterName, Reader reader, - long length) throws SQLException { - // TODO Auto-generated method stub + @Override + public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setClob(java.lang.String, java.sql.Clob) - */ - + @Override public void setClob(String parameterName, Clob x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setClob(java.lang.String, java.io.Reader) - */ - + @Override public void setClob(String parameterName, Reader reader) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setClob(java.lang.String, java.io.Reader, - * long) - */ + @Override + public void setClob(String parameterName, Reader reader, long length) throws SQLException { + throw new SQLFeatureNotSupportedException("Method not supported"); + } - public void setClob(String parameterName, Reader reader, long length) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setDate(String parameterName, Date x) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setDate(java.lang.String, java.sql.Date) - */ - - public void setDate(String parameterName, Date x) throws SQLException { - // TODO Auto-generated method stub - throw new SQLFeatureNotSupportedException("Method not supported"); - } - - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setDate(java.lang.String, java.sql.Date, - * java.util.Calendar) - */ - - public void setDate(String parameterName, Date x, Calendar cal) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setDate(String parameterName, Date x, Calendar cal) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setDouble(java.lang.String, double) - */ - + @Override public void setDouble(String parameterName, double x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setFloat(java.lang.String, float) - */ - + @Override public void setFloat(String parameterName, float x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setInt(java.lang.String, int) - */ - + @Override public void setInt(String parameterName, int x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setLong(java.lang.String, long) - */ - + @Override public void setLong(String parameterName, long x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setNCharacterStream(java.lang.String, - * java.io.Reader) - */ - - public void setNCharacterStream(String parameterName, Reader value) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setNCharacterStream(String parameterName, Reader value) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setNCharacterStream(java.lang.String, - * java.io.Reader, long) - */ - - public void setNCharacterStream(String parameterName, Reader value, - long length) throws SQLException { - // TODO Auto-generated method stub + @Override + public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setNClob(java.lang.String, java.sql.NClob) - */ - + @Override public void setNClob(String parameterName, NClob value) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setNClob(java.lang.String, java.io.Reader) - */ - + @Override public void setNClob(String parameterName, Reader reader) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setNClob(java.lang.String, java.io.Reader, - * long) - */ - - public void setNClob(String parameterName, Reader reader, long length) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setNClob(String parameterName, Reader reader, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setNString(java.lang.String, - * java.lang.String) - */ - - public void setNString(String parameterName, String value) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setNString(String parameterName, String value) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setNull(java.lang.String, int) - */ - + @Override public void setNull(String parameterName, int sqlType) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setNull(java.lang.String, int, - * java.lang.String) - */ - - public void setNull(String parameterName, int sqlType, String typeName) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setNull(String parameterName, int sqlType, String typeName) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setObject(java.lang.String, - * java.lang.Object) - */ - + @Override public void setObject(String parameterName, Object x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setObject(java.lang.String, - * java.lang.Object, int) - */ - - public void setObject(String parameterName, Object x, int targetSqlType) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setObject(java.lang.String, - * java.lang.Object, int, int) - */ - - public void setObject(String parameterName, Object x, int targetSqlType, - int scale) throws SQLException { - // TODO Auto-generated method stub + @Override + public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setRowId(java.lang.String, java.sql.RowId) - */ - + @Override public void setRowId(String parameterName, RowId x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setSQLXML(java.lang.String, - * java.sql.SQLXML) - */ - - public void setSQLXML(String parameterName, SQLXML xmlObject) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setShort(java.lang.String, short) - */ - + @Override public void setShort(String parameterName, short x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setString(java.lang.String, - * java.lang.String) - */ - + @Override public void setString(String parameterName, String x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setTime(java.lang.String, java.sql.Time) - */ - + @Override public void setTime(String parameterName, Time x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setTime(java.lang.String, java.sql.Time, - * java.util.Calendar) - */ - - public void setTime(String parameterName, Time x, Calendar cal) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setTime(String parameterName, Time x, Calendar cal) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setTimestamp(java.lang.String, - * java.sql.Timestamp) - */ - - public void setTimestamp(String parameterName, Timestamp x) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setTimestamp(String parameterName, Timestamp x) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setTimestamp(java.lang.String, - * java.sql.Timestamp, java.util.Calendar) - */ - - public void setTimestamp(String parameterName, Timestamp x, Calendar cal) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#setURL(java.lang.String, java.net.URL) - */ - + @Override public void setURL(String parameterName, URL val) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.CallableStatement#wasNull() - */ - + @Override public boolean wasNull() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#addBatch() - */ - + @Override public void addBatch() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#clearParameters() - */ - + @Override public void clearParameters() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#execute() - */ - + @Override public boolean execute() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#executeQuery() - */ - + @Override public ResultSet executeQuery() throws SQLException { return new HiveQueryResultSet.Builder(this).build(); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#executeUpdate() - */ - + @Override public int executeUpdate() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#getMetaData() - */ - + @Override public ResultSetMetaData getMetaData() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#getParameterMetaData() - */ - + @Override public ParameterMetaData getParameterMetaData() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setArray(int, java.sql.Array) - */ - + @Override public void setArray(int i, Array x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setAsciiStream(int, java.io.InputStream) - */ - + @Override public void setAsciiStream(int arg0, InputStream arg1) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setAsciiStream(int, java.io.InputStream, - * long) - */ - - public void setAsciiStream(int arg0, InputStream arg1, long arg2) - throws SQLException { - // TODO Auto-generated method stub + @Override + public void setAsciiStream(int arg0, InputStream arg1, long arg2) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setBlob(int, java.sql.Blob) - */ - + @Override public void setBlob(int i, Blob x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setBoolean(int, boolean) - */ - + @Override public void setBoolean(int parameterIndex, boolean x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setByte(int, byte) - */ - + @Override public void setByte(int parameterIndex, byte x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setBytes(int, byte[]) - */ - + @Override public void setBytes(int parameterIndex, byte[] x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setClob(int, java.sql.Clob) - */ - + @Override public void setClob(int i, Clob x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setClob(int, java.io.Reader) - */ - + @Override public void setClob(int parameterIndex, Reader reader) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setClob(int parameterIndex, Reader reader, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setDate(int, java.sql.Date) - */ - + @Override public void setDate(int parameterIndex, Date x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setDouble(int, double) - */ - + @Override public void setDouble(int parameterIndex, double x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setFloat(int, float) - */ - + @Override public void setFloat(int parameterIndex, float x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setInt(int, int) - */ - + @Override public void setInt(int parameterIndex, int x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setLong(int, long) - */ - + @Override public void setLong(int parameterIndex, long x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setNClob(int, java.sql.NClob) - */ - + @Override public void setNClob(int parameterIndex, NClob value) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setNClob(int, java.io.Reader) - */ - + @Override public void setNClob(int parameterIndex, Reader reader) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setNString(int, java.lang.String) - */ - + @Override public void setNString(int parameterIndex, String value) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setNull(int, int) - */ - + @Override public void setNull(int parameterIndex, int sqlType) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setObject(int, java.lang.Object) - */ - + @Override public void setObject(int parameterIndex, Object x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException { throw new SQLFeatureNotSupportedException("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 + @Override + public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setRef(int, java.sql.Ref) - */ - + @Override public void setRef(int i, Ref x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setRowId(int, java.sql.RowId) - */ - + @Override public void setRowId(int parameterIndex, RowId x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setShort(int, short) - */ - + @Override public void setShort(int parameterIndex, short x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setString(int, java.lang.String) - */ - + @Override public void setString(int parameterIndex, String x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setTime(int, java.sql.Time) - */ - + @Override public void setTime(int parameterIndex, Time x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setTimestamp(int, java.sql.Timestamp) - */ - + @Override public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.PreparedStatement#setURL(int, java.net.URL) - */ - + @Override public void setURL(int parameterIndex, URL x) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#addBatch(java.lang.String) - */ - + @Override public void addBatch(String sql) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#cancel() - */ - + @Override public void cancel() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#clearBatch() - */ - + @Override public void clearBatch() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#clearWarnings() - */ - + @Override public void clearWarnings() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#close() - */ - + @Override public void close() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } + @Override public void closeOnCompletion() throws SQLException { // JDK 1.7 throw new SQLFeatureNotSupportedException("Method not supported"); } + @Override public boolean isCloseOnCompletion() throws SQLException { // JDK 1.7 throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#execute(java.lang.String) - */ - + @Override public boolean execute(String sql) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#execute(java.lang.String, int) - */ - + @Override public boolean execute(String sql, int autoGeneratedKeys) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#execute(java.lang.String, int[]) - */ - + @Override public boolean execute(String sql, int[] columnIndexes) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#execute(java.lang.String, java.lang.String[]) - */ - + @Override public boolean execute(String sql, String[] columnNames) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#executeBatch() - */ - + @Override public int[] executeBatch() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#executeQuery(java.lang.String) - */ - + @Override public ResultSet executeQuery(String sql) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#executeUpdate(java.lang.String) - */ - + @Override public int executeUpdate(String sql) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#executeUpdate(java.lang.String, int[]) - */ - + @Override public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("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 + @Override + public int executeUpdate(String sql, String[] columnNames) throws SQLException { throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getConnection() - */ - + @Override public Connection getConnection() throws SQLException { return this.connection; } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getFetchDirection() - */ - + @Override public int getFetchDirection() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getFetchSize() - */ - + @Override public int getFetchSize() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getGeneratedKeys() - */ - + @Override public ResultSet getGeneratedKeys() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getMaxFieldSize() - */ - + @Override public int getMaxFieldSize() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getMaxRows() - */ - + @Override public int getMaxRows() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getMoreResults() - */ - + @Override public boolean getMoreResults() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getMoreResults(int) - */ - + @Override public boolean getMoreResults(int current) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getQueryTimeout() - */ - + @Override public int getQueryTimeout() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getResultSet() - */ - + @Override public ResultSet getResultSet() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getResultSetConcurrency() - */ - + @Override public int getResultSetConcurrency() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getResultSetHoldability() - */ - + @Override public int getResultSetHoldability() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getResultSetType() - */ - + @Override public int getResultSetType() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getUpdateCount() - */ - + @Override public int getUpdateCount() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#getWarnings() - */ - + @Override public SQLWarning getWarnings() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#isClosed() - */ - + @Override public boolean isClosed() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#isPoolable() - */ - + @Override public boolean isPoolable() throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#setCursorName(java.lang.String) - */ - + @Override public void setCursorName(String name) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#setEscapeProcessing(boolean) - */ - + @Override public void setEscapeProcessing(boolean enable) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#setFetchDirection(int) - */ - + @Override public void setFetchDirection(int direction) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#setFetchSize(int) - */ - + @Override public void setFetchSize(int rows) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#setMaxFieldSize(int) - */ - + @Override public void setMaxFieldSize(int max) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#setMaxRows(int) - */ - + @Override public void setMaxRows(int max) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#setPoolable(boolean) - */ - + @Override public void setPoolable(boolean arg0) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Statement#setQueryTimeout(int) - */ - + @Override public void setQueryTimeout(int seconds) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Wrapper#isWrapperFor(java.lang.Class) - */ - + @Override public boolean isWrapperFor(Class<?> iface) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); } - /* - * (non-Javadoc) - * - * @see java.sql.Wrapper#unwrap(java.lang.Class) - */ - + @Override public <T> T unwrap(Class<T> iface) throws SQLException { - // TODO Auto-generated method stub throw new SQLFeatureNotSupportedException("Method not supported"); }