com.scalar.db.api.MutationCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalardb Show documentation
Show all versions of scalardb Show documentation
A universal transaction manager that achieves database-agnostic transactions and distributed transactions that span multiple databases
package com.scalar.db.api;
import java.util.List;
import javax.annotation.Nonnull;
/**
* An abstraction for mutation condition.
*
* @author Hiroyuki Yamada
*/
public interface MutationCondition {
/**
* Returns the list of conditions.
*
* @return a list of conditions
*/
@Nonnull
List getExpressions();
/**
* Visits the specified visitor
*
* @param visitor a visitor object to visit
*/
void accept(MutationConditionVisitor visitor);
}