org.springframework.data.cassandra.repository.MapId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-data-cassandra Show documentation
Show all versions of spring-data-cassandra Show documentation
Cassandra support for Spring Data
package org.springframework.data.cassandra.repository;
import java.io.Serializable;
import java.util.Map;
/**
* Interface that represents the id of a persistent entity, where the keys correspond to the entity's JavaBean
* properties.
*
* @author Matthew T. Adams
*/
public interface MapId extends Serializable, Map {
/**
* Builder method that adds the value for the named property, then returns this
.
*
* @param name The property name containing the value.
* @param value The property value.
* @return this
*/
MapId with(String name, Serializable value);
}