Class BasicCassandraPersistentTupleEntity<T>
java.lang.Object
org.springframework.data.mapping.model.BasicPersistentEntity<T,CassandraPersistentProperty>
org.springframework.data.cassandra.core.mapping.BasicCassandraPersistentEntity<T>
org.springframework.data.cassandra.core.mapping.BasicCassandraPersistentTupleEntity<T>
- All Implemented Interfaces:
Iterable<CassandraPersistentProperty>
,Aware
,ApplicationContextAware
,CassandraPersistentEntity<T>
,MutablePersistentEntity<T,
,CassandraPersistentProperty> PersistentEntity<T,
CassandraPersistentProperty>
Cassandra Tuple-specific
PersistentEntity
for a mapped tuples. Mapped tuples
are nested level entities that can be referred from a CassandraPersistentEntity
.-
Constructor Summary
ConstructorsConstructorDescriptionBasicCassandraPersistentTupleEntity
(TypeInformation<T> information) Creates a newBasicCassandraPersistentTupleEntity
givenTypeInformation
. -
Method Summary
Methods inherited from class org.springframework.data.cassandra.core.mapping.BasicCassandraPersistentEntity
addAssociation, determineTableName, doWithAssociations, getProperty, getTableName, getVerifier, isCompositePrimaryKey, isUserDefinedType, setApplicationContext, setForceQuote, setNamingStrategy, setTableName, setVerifier
Methods inherited from class org.springframework.data.mapping.model.BasicPersistentEntity
addPersistentProperty, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEvaluationContext, getEvaluationContext, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, returnPropertyIfBetterIdPropertyCandidateOrNull, setEvaluationContextProvider, setPersistentPropertyAccessorFactory
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.cassandra.core.mapping.CassandraPersistentEntity
setTableName
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAll, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
Constructor Details
-
BasicCassandraPersistentTupleEntity
Creates a newBasicCassandraPersistentTupleEntity
givenTypeInformation
.- Parameters:
information
- must not be null.
-
-
Method Details
-
verify
- Specified by:
verify
in interfaceMutablePersistentEntity<T,
CassandraPersistentProperty> - Overrides:
verify
in classBasicCassandraPersistentEntity<T>
- Throws:
MappingException
-
isTupleType
public boolean isTupleType()- Specified by:
isTupleType
in interfaceCassandraPersistentEntity<T>
- Overrides:
isTupleType
in classBasicCassandraPersistentEntity<T>
- Returns:
- true if the type is a mapped tuple type.
- See Also:
-