apoc.couchbase.document.CouchbaseDocument Maven / Gradle / Ivy
package apoc.couchbase.document;
import java.util.Map;
import org.neo4j.procedure.Procedure;
import com.couchbase.client.java.AsyncBucket;
/**
* This interface defines a Couchbase Document interface
* with valid data types for neo4j procedures.
*
* it represents a Couchbase Server document which is stored in and
* retrieved from a {@link AsyncBucket}.
*
* @since 15.8.2016
* @author inserpio
* @see Procedure
*/
public interface CouchbaseDocument {
String getId();
T getContent();
long getCas();
long getExpiry();
Map getMutationToken();
}