content: /*
   *
   *   Licensed under the Apache License, Version 2.0 (the "License");
   *   you may not use this file except in compliance with the License.
   *   You may obtain a copy of the License at
   *
   *      http://www.apache.org/licenses/LICENSE-2.0
   *
   *   Unless required by applicable law or agreed to in writing, software
   *   distributed under the License is distributed on an "AS IS" BASIS,
   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *   See the License for the specific language governing permissions and
   *   limitations under the License.
   */
  package com.github.adejanovski.cassandra.jdbc;
  
  import java.sql.Array;
  import java.sql.Blob;
  import java.sql.CallableStatement;
  import java.sql.Clob;
  import java.sql.NClob;
  import java.sql.PreparedStatement;
  import java.sql.SQLException;
  import java.sql.SQLFeatureNotSupportedException;
  import java.sql.SQLXML;
  import java.sql.Savepoint;
  import java.sql.Struct;
  import java.util.concurrent.Executor;
  import java.util.Map;
  
  abstract class AbstractConnection
  {
      protected static final String NOT_SUPPORTED = "the Cassandra implementation does not support this method";
  
      public Array createArrayOf(String arg0, Object[] arg1) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public Blob createBlob() throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public Clob createClob() throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public NClob createNClob() throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public SQLXML createSQLXML() throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public Struct createStruct(String arg0, Object[] arg1) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      
      
      public CallableStatement prepareCall(String arg0) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
      
      public CallableStatement prepareCall(String arg0, int arg1, int arg2) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public CallableStatement prepareCall(String arg0, int arg1, int arg2, int arg3) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public PreparedStatement prepareStatement(String arg0, int arg1) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public PreparedStatement prepareStatement(String arg0, int[] arg1) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public PreparedStatement prepareStatement(String arg0, String[] arg1) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public void releaseSavepoint(Savepoint arg0) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public void rollback(Savepoint arg0) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public Savepoint setSavepoint() throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
      public Savepoint setSavepoint(String arg0) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
      
      public void setTypeMap(Map<String, Class<?>> arg0) throws SQLException
      {
          throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
      
      public void abort(Executor executor) throws SQLException
      {
      	throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
      {
      	throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  
      public int getNetworkTimeout() throws SQLException
      {
      	throw new SQLFeatureNotSupportedException(NOT_SUPPORTED);
      }
  }
  