code: protected Cassandra.Client getConnection(Object connection)
      {
          if (connection != null)
          {
              return ((IPooledConnection) connection).getAPI();
          }
  
          throw new KunderaException("Invalid configuration!, no available pooled connection found for:"
                  + this.getClass().getSimpleName());
      }
docs: Return cassandra client instance.
  
  @param connection
  the connection
  @return the connection