com.scalar.database.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 library that provides a distributed storage abstraction and client-coordinated distributed transaction manager on the storage.
package com.scalar.database.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);
}