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, EnvironmentAware, EnvironmentCapable, 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.- Since:
- 2.1
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasicCassandraPersistentTupleEntity(TypeInformation<T> information) Creates a newBasicCassandraPersistentTupleEntitygivenTypeInformation. -
Method Summary
Methods inherited from class BasicCassandraPersistentEntity
addAssociation, determineKeyspace, determineTableName, doWithAssociations, getEvaluationContext, getEvaluationContext, getKeyspace, getProperty, getTableName, getValueEvaluationContext, getValueEvaluationContext, getVerifier, isCompositePrimaryKey, isUserDefinedType, setApplicationContext, setKeyspace, setNamingStrategy, setTableName, setVerifier, toStringMethods inherited from class BasicPersistentEntity
addPersistentProperty, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEnvironment, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, returnPropertyIfBetterIdPropertyCandidateOrNull, setEnvironment, setEvaluationContextProvider, setPersistentPropertyAccessorFactoryMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CassandraPersistentEntity
getRequiredKeyspace, hasKeyspaceMethods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface PersistentEntity
doWithAll, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
Constructor Details
-
BasicCassandraPersistentTupleEntity
Creates a newBasicCassandraPersistentTupleEntitygivenTypeInformation.- Parameters:
information- must not be null.
-
-
Method Details
-
verify
- Specified by:
verifyin interfaceMutablePersistentEntity<T, CassandraPersistentProperty>- Overrides:
verifyin classBasicCassandraPersistentEntity<T>- Throws:
MappingException
-
isTupleType
public boolean isTupleType()- Specified by:
isTupleTypein interfaceCassandraPersistentEntity<T>- Overrides:
isTupleTypein classBasicCassandraPersistentEntity<T>- Returns:
- true if the type is a mapped tuple type.
- See Also:
-