Package me.prettyprint.cassandra.serializers

Examples of me.prettyprint.cassandra.serializers.StringSerializer


* @see KeyIterator
*/
public class StringKeyIterator extends KeyIterator<String> {

  public StringKeyIterator(Keyspace keyspace, String columnFamily) {
    super(keyspace, columnFamily, new StringSerializer());
  }
View Full Code Here


        superNameSerializer, nameSerializer);
  }

  public static ColumnQuery<String, String, String> createStringColumnQuery(
      Keyspace keyspace) {
    StringSerializer se = StringSerializer.get();
    return createColumnQuery(keyspace, se, se, se);
  }
View Full Code Here

   * Convienience method for creating a column with a String name and String
   * value
   */
  public static HColumn<String, String> createStringColumn(String name,
      String value) {
    StringSerializer se = StringSerializer.get();
    return createColumn(name, value, se, se);
  }
View Full Code Here

 
  /**
   * Convenient method for creating a counter column with a String name and long value
   */
  public static HCounterColumn<String> createCounterColumn(String name, long value) {
    StringSerializer se = StringSerializer.get();
    return createCounterColumn(name, value, se);
  }
View Full Code Here

TOP

Related Classes of me.prettyprint.cassandra.serializers.StringSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.