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 CassandraManagedTypes
empty()
Factory method to return an emptyCassandraManagedTypes
object.void
static CassandraManagedTypes
Factory method used to constructCassandraManagedTypes
from the given array oftypes
.static CassandraManagedTypes
from
(ManagedTypes managedTypes) Wraps an existingManagedTypes
object withCassandraManagedTypes
.static CassandraManagedTypes
fromIterable
(Iterable<? extends Class<?>> types) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.domain.ManagedTypes
toList
-
Method Details
-
from
Wraps an existingManagedTypes
object withCassandraManagedTypes
.- Parameters:
managedTypes
-- Returns:
-
from
Factory method used to constructCassandraManagedTypes
from the given array oftypes
.- Parameters:
types
- array oftypes
used to initialize theManagedTypes
; must not be null.- Returns:
- new instance of
CassandraManagedTypes
initialized fromtypes
.
-
fromIterable
- Parameters:
types
-Iterable
oftypes
used to initialize theManagedTypes
; must not be null.- Returns:
- new instance of
CassandraManagedTypes
initialized the given, requiredIterable
oftypes
.
-
empty
Factory method to return an emptyCassandraManagedTypes
object.- Returns:
- an empty
CassandraManagedTypes
object.
-
forEach
- Specified by:
forEach
in interfaceManagedTypes
-