title: Defining Cassandra IColumn class with new coming class Column
body: <p>I'm having a problem,
  first i was using <strong>cassandra 1.2</strong> and its <strong>IColumn</strong> class, which has been changed with <strong>Column</strong> in <strong>cassandra 2.0</strong>, now my question is, how i can replcae this ColumnClass in my <strong>mapreduce</strong> programm so that i won't get error.. what will be the method to retrieve 
  from:</p>
  
  <pre><code>Mapper&lt;ByteBuffer, SortedMap&lt;ByteBuffer, IColumn&gt;, Text, Text&gt;
  // and its retrieval is something like
  for (IColumn cell : columns.values()) {
       colName = ByteBufferUtil.string(cell.name());
       String colValue = null;
       if (name.contains("int")) {
           colValue = String.valueOf(ByteBufferUtil.toInt(cell.value()));
  }else{
          colValue = ByteBufferUtil.string(cell.value());
  }
  }
  </code></pre>
  
  <p>to</p>
  
  <pre><code>Mapper&lt;ByteBuffer, SortedMap&lt;ByteBuffer, Column&gt;, Text, Text&gt;
  </code></pre>
  
  <p>how i will retrieve the key,value from this?</p>