com.netflix.astyanax.thrift
Class AbstractThriftColumnMutationImpl

java.lang.Object
  extended by com.netflix.astyanax.thrift.AbstractThriftColumnMutationImpl
All Implemented Interfaces:
ColumnMutation

public abstract class AbstractThriftColumnMutationImpl
extends Object
implements ColumnMutation


Field Summary
protected  Clock clock
           
protected  ByteBuffer column
           
protected  ByteBuffer key
           
 
Constructor Summary
AbstractThriftColumnMutationImpl(ByteBuffer key, ByteBuffer column, Clock clock)
           
 
Method Summary
protected abstract  Execution<Void> insertValue(ByteBuffer value, Integer ttl)
           
 Execution<Void> putEmptyColumn(Integer ttl)
           
 Execution<Void> putValue(boolean value, Integer ttl)
           
 Execution<Void> putValue(byte[] value, Integer ttl)
           
 Execution<Void> putValue(ByteBuffer value, Integer ttl)
           
 Execution<Void> putValue(Date value, Integer ttl)
           
 Execution<Void> putValue(double value, Integer ttl)
           
 Execution<Void> putValue(int value, Integer ttl)
           
 Execution<Void> putValue(long value, Integer ttl)
           
 Execution<Void> putValue(String value, Integer ttl)
           
<T> Execution<Void>
putValue(T value, Serializer<T> serializer, Integer ttl)
           
 Execution<Void> putValue(UUID value, Integer ttl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.netflix.astyanax.ColumnMutation
deleteColumn, deleteCounterColumn, incrementCounterColumn, setConsistencyLevel, withRetryPolicy
 

Field Detail

key

protected final ByteBuffer key

column

protected final ByteBuffer column

clock

protected final Clock clock
Constructor Detail

AbstractThriftColumnMutationImpl

public AbstractThriftColumnMutationImpl(ByteBuffer key,
                                        ByteBuffer column,
                                        Clock clock)
Method Detail

putValue

public Execution<Void> putValue(String value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public Execution<Void> putValue(byte[] value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public Execution<Void> putValue(int value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public Execution<Void> putValue(long value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public Execution<Void> putValue(boolean value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public Execution<Void> putValue(ByteBuffer value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public Execution<Void> putValue(Date value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public Execution<Void> putValue(double value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public Execution<Void> putValue(UUID value,
                                Integer ttl)
Specified by:
putValue in interface ColumnMutation

putValue

public <T> Execution<Void> putValue(T value,
                                    Serializer<T> serializer,
                                    Integer ttl)
Specified by:
putValue in interface ColumnMutation

putEmptyColumn

public Execution<Void> putEmptyColumn(Integer ttl)
Specified by:
putEmptyColumn in interface ColumnMutation

insertValue

protected abstract Execution<Void> insertValue(ByteBuffer value,
                                               Integer ttl)


Copyright © 2012. All Rights Reserved.