Class BasicKeyValuePersistentEntity<T, P extends KeyValuePersistentProperty<P>>

java.lang.Object
org.springframework.data.mapping.model.BasicPersistentEntity<T,P>
org.springframework.data.keyvalue.core.mapping.BasicKeyValuePersistentEntity<T,P>
Type Parameters:
T -
All Implemented Interfaces:
Iterable<P>, Aware, EnvironmentAware, EnvironmentCapable, KeyValuePersistentEntity<T,P>, MutablePersistentEntity<T,P>, PersistentEntity<T,P>

public class BasicKeyValuePersistentEntity<T, P extends KeyValuePersistentProperty<P>> extends BasicPersistentEntity<T,P> implements KeyValuePersistentEntity<T,P>
KeyValuePersistentEntity implementation that adds specific meta-data such as the keySpace.
Author:
Christoph Strobl, Oliver Gierke, Mark Paluch
  • Constructor Details

    • BasicKeyValuePersistentEntity

      public BasicKeyValuePersistentEntity(org.springframework.data.core.TypeInformation<T> information)
      Parameters:
      information - must not be null.
      Since:
      3.1
    • BasicKeyValuePersistentEntity

      public BasicKeyValuePersistentEntity(org.springframework.data.core.TypeInformation<T> information, @Nullable KeySpaceResolver keySpaceResolver)
      Parameters:
      information - must not be null.
      keySpaceResolver - can be null.
  • Method Details