Class CassandraManagedTypes
java.lang.Object
org.springframework.data.cassandra.CassandraManagedTypes
- All Implemented Interfaces:
ManagedTypes
Cassandra-specific extension to
ManagedTypes.- Since:
- 4.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionstatic CassandraManagedTypesempty()Factory method to return an emptyCassandraManagedTypesobject.voidstatic CassandraManagedTypesFactory method used to constructCassandraManagedTypesfrom the given array oftypes.static CassandraManagedTypesfrom(ManagedTypes managedTypes) Wraps an existingManagedTypesobject withCassandraManagedTypes.static CassandraManagedTypesfromIterable(Iterable<? extends Class<?>> types) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.domain.ManagedTypes
toList
-
Method Details
-
from
Wraps an existingManagedTypesobject withCassandraManagedTypes.- Parameters:
managedTypes-- Returns:
-
from
Factory method used to constructCassandraManagedTypesfrom the given array oftypes.- Parameters:
types- array oftypesused to initialize theManagedTypes; must not be null.- Returns:
- new instance of
CassandraManagedTypesinitialized fromtypes.
-
fromIterable
- Parameters:
types-Iterableoftypesused to initialize theManagedTypes; must not be null.- Returns:
- new instance of
CassandraManagedTypesinitialized the given, requiredIterableoftypes.
-
empty
Factory method to return an emptyCassandraManagedTypesobject.- Returns:
- an empty
CassandraManagedTypesobject.
-
forEach
- Specified by:
forEachin interfaceManagedTypes
-