Class CachingCassandraPersistentProperty

java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<CassandraPersistentProperty>
org.springframework.data.cassandra.core.mapping.BasicCassandraPersistentProperty
org.springframework.data.cassandra.core.mapping.CachingCassandraPersistentProperty
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, CassandraPersistentProperty, org.springframework.data.mapping.PersistentProperty<CassandraPersistentProperty>

public class CachingCassandraPersistentProperty extends BasicCassandraPersistentProperty
BasicCassandraPersistentProperty that pre-computes primary key and embedded flags.
Since:
3.1.4
Author:
Mark Paluch, Aleksei Zotov
  • Constructor Summary

    Constructors
    Constructor
    Description
    CachingCassandraPersistentProperty(org.springframework.data.mapping.model.Property property, CassandraPersistentEntity<?> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    findAnnotatedType(Class<? extends Annotation> annotationType)
    Find an AnnotatedType by annotationType derived from the property type.
    The ordering (ascending or descending) for the column.
    boolean
    Whether the property is a cluster key column.
    boolean
    Whether the property is a composite primary key.
    boolean
     
    boolean
    Whether the property is a partition key column.
    boolean
    Whether the property is a partition key column or a cluster key column
    boolean
    Whether the property maps to a static column.

    Methods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty

    findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isIdProperty, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess

    Methods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty

    equals, getActualType, getActualTypeInformation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypeInformation, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.data.cassandra.core.mapping.CassandraPersistentProperty

    getRequiredColumnName, getRequiredOrdinal, hasOrdinal, setColumnName

    Methods inherited from interface org.springframework.data.mapping.PersistentProperty

    findAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociationTargetType, getAssociationTargetTypeInformation, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypeInformation, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccess