org.apache.cassandra.db.clock
Class AbstractReconciler

java.lang.Object
  extended by org.apache.cassandra.db.clock.AbstractReconciler
Direct Known Subclasses:
TimestampReconciler

public abstract class AbstractReconciler
extends java.lang.Object

Specifies a Reconciler for a ColumnFamily.


Constructor Summary
AbstractReconciler()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
abstract  Column reconcile(Column left, Column right)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReconciler

public AbstractReconciler()
Method Detail

reconcile

public abstract Column reconcile(Column left,
                                 Column right)
Returns:
Reconcile the two columns into one depending on the clock types. For example a strategy could be to keep the one with the highest timestamp.

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 The Apache Software Foundation