me.prettyprint.cassandra.model.thrift
Class ThriftConverter

java.lang.Object
  extended by me.prettyprint.cassandra.model.thrift.ThriftConverter

public class ThriftConverter
extends Object

Author:
ran

Constructor Summary
ThriftConverter()
           
 
Method Summary
static org.apache.cassandra.thrift.ConsistencyLevel consistencyLevel(HConsistencyLevel c)
           
static List<org.apache.cassandra.thrift.Column> getColumnList(List<org.apache.cassandra.thrift.ColumnOrSuperColumn> columns)
          Converts a list of ColumnOrSuperColumn to Column
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftConverter

public ThriftConverter()
Method Detail

consistencyLevel

public static org.apache.cassandra.thrift.ConsistencyLevel consistencyLevel(HConsistencyLevel c)

getColumnList

public static List<org.apache.cassandra.thrift.Column> getColumnList(List<org.apache.cassandra.thrift.ColumnOrSuperColumn> columns)
Converts a list of ColumnOrSuperColumn to Column

Parameters:
columns -
Returns:


Copyright © 2011. All Rights Reserved.