This project has retired. For details please refer to its
Attic page.
HectorUtils (Apache Gora 0.2.1 API)
org.apache.gora.cassandra.store
Class HectorUtils<K,T extends Persistent>
java.lang.Object
org.apache.gora.cassandra.store.HectorUtils<K,T>
public class HectorUtils<K,T extends Persistent>
- extends Object
|
Field Summary |
static org.slf4j.Logger |
LOG
|
|
Method Summary |
static
|
createColumn(ByteBuffer name,
ByteBuffer value)
|
static
|
createColumn(Integer name,
ByteBuffer value)
|
static
|
createColumn(String name,
ByteBuffer value)
|
static
|
createSuperColumn(String superColumnName,
ByteBuffer columnName,
ByteBuffer columnValue)
|
static
|
createSuperColumn(String superColumnName,
Integer columnName,
ByteBuffer columnValue)
|
static
|
createSuperColumn(String superColumnName,
String columnName,
ByteBuffer columnValue)
|
static
|
deleteSubColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String superColumnName,
ByteBuffer columnName)
|
static
|
insertColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
ByteBuffer columnName,
ByteBuffer columnValue)
|
static
|
insertColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String columnName,
ByteBuffer columnValue)
|
static
|
insertSubColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String superColumnName,
ByteBuffer columnName,
ByteBuffer columnValue)
|
static
|
insertSubColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String superColumnName,
Integer columnName,
ByteBuffer columnValue)
|
static
|
insertSubColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String superColumnName,
String columnName,
ByteBuffer columnValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.slf4j.Logger LOG
HectorUtils
public HectorUtils()
insertColumn
public static <K> void insertColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
ByteBuffer columnName,
ByteBuffer columnValue)
insertColumn
public static <K> void insertColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String columnName,
ByteBuffer columnValue)
createColumn
public static <K> me.prettyprint.hector.api.beans.HColumn<ByteBuffer,ByteBuffer> createColumn(ByteBuffer name,
ByteBuffer value)
createColumn
public static <K> me.prettyprint.hector.api.beans.HColumn<String,ByteBuffer> createColumn(String name,
ByteBuffer value)
createColumn
public static <K> me.prettyprint.hector.api.beans.HColumn<Integer,ByteBuffer> createColumn(Integer name,
ByteBuffer value)
insertSubColumn
public static <K> void insertSubColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String superColumnName,
ByteBuffer columnName,
ByteBuffer columnValue)
insertSubColumn
public static <K> void insertSubColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String superColumnName,
String columnName,
ByteBuffer columnValue)
insertSubColumn
public static <K> void insertSubColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String superColumnName,
Integer columnName,
ByteBuffer columnValue)
deleteSubColumn
public static <K> void deleteSubColumn(me.prettyprint.hector.api.mutation.Mutator<K> mutator,
K key,
String columnFamily,
String superColumnName,
ByteBuffer columnName)
createSuperColumn
public static <K> me.prettyprint.hector.api.beans.HSuperColumn<String,ByteBuffer,ByteBuffer> createSuperColumn(String superColumnName,
ByteBuffer columnName,
ByteBuffer columnValue)
createSuperColumn
public static <K> me.prettyprint.hector.api.beans.HSuperColumn<String,String,ByteBuffer> createSuperColumn(String superColumnName,
String columnName,
ByteBuffer columnValue)
createSuperColumn
public static <K> me.prettyprint.hector.api.beans.HSuperColumn<String,Integer,ByteBuffer> createSuperColumn(String superColumnName,
Integer columnName,
ByteBuffer columnValue)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.