public class CassandraUserTypePersistentEntity<T> extends BasicCassandraPersistentEntity<T>
PersistentEntity for a mapped user-defined type (UDT). A mapped UDT consists
of a set of fields. Each field requires a data type that can be either a simple Cassandra type or an UDT.UserDefinedTypehasIdProperty, hasVersionPropertyhasIdProperty, hasVersionProperty| Constructor and Description |
|---|
CassandraUserTypePersistentEntity(TypeInformation<T> typeInformation,
CassandraPersistentEntityMetadataVerifier verifier,
UserTypeResolver resolver)
Create a new
CassandraUserTypePersistentEntity. |
| Modifier and Type | Method and Description |
|---|---|
protected CqlIdentifier |
determineTableName() |
com.datastax.driver.core.UserType |
getUserType() |
boolean |
isUserDefinedType() |
addAssociation, doWithAssociations, getTableName, getVerifier, isCompositePrimaryKey, setApplicationContext, setForceQuote, setTableName, setVerifier, verifyaddPersistentProperty, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isVersionProperty, iterator, returnPropertyIfBetterIdPropertyCandidateOrNull, setPersistentPropertyAccessorFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isVersionPropertyforEach, iterator, spliteratorpublic CassandraUserTypePersistentEntity(TypeInformation<T> typeInformation, CassandraPersistentEntityMetadataVerifier verifier, UserTypeResolver resolver)
CassandraUserTypePersistentEntity.typeInformation - must not be null.verifier - must not be null.resolver - must not be null.protected CqlIdentifier determineTableName()
determineTableName in class BasicCassandraPersistentEntity<T>public boolean isUserDefinedType()
isUserDefinedType in interface CassandraPersistentEntity<T>isUserDefinedType in class BasicCassandraPersistentEntity<T>UserDefinedTypepublic com.datastax.driver.core.UserType getUserType()
getUserType in interface CassandraPersistentEntity<T>getUserType in class BasicCassandraPersistentEntity<T>UserType if the type is a mapped user defined type, otherwise null.UserDefinedTypeCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.