public abstract class AbstractUDTClassProperty<A> extends Object implements InjectUserAndTupleTypeFactory, InjectBeanFactory, InjectKeyspace, InjectJacksonMapper, InjectRuntimeCodecs, InjectSchemaStrategy
| Modifier and Type | Field and Description |
|---|---|
List<AbstractProperty<A,?,?>> |
componentsProperty |
List<AbstractProperty<A,?,?>> |
constructorInjectedProperty |
Class<?> |
parentEntityClass |
protected Optional<info.archinnov.achilles.type.SchemaNameProvider> |
schemaNameProvider |
Optional<String> |
staticKeyspace |
Optional<InternalNamingStrategy> |
staticNamingStrategy |
Optional<String> |
staticUdtName |
Class<A> |
udtClass |
protected info.archinnov.achilles.type.factory.BeanFactory |
udtFactory |
String |
udtName |
protected UserType |
userType |
protected UserTypeFactory |
userTypeFactory |
| Constructor and Description |
|---|
AbstractUDTClassProperty() |
| Modifier and Type | Method and Description |
|---|---|
UserType |
buildType(boolean frozen,
Optional<CassandraOptions> cassandraOptions) |
protected A |
createBeanFromUDT(UDTValue udtValue) |
protected abstract UDTValue |
createUDTFromBean(A instance,
boolean frozen,
Optional<CassandraOptions> cassandraOptions) |
boolean |
equals(Object o) |
String |
generateSchema(SchemaContext context) |
protected abstract List<AbstractProperty<A,?,?>> |
getComponentsProperty() |
protected abstract List<AbstractProperty<A,?,?>> |
getConstructorInjectedProperty() |
protected abstract Class<?> |
getParentEntityClass() |
protected abstract Optional<String> |
getStaticKeyspace() |
protected abstract Optional<InternalNamingStrategy> |
getStaticNamingStrategy() |
protected abstract Optional<String> |
getStaticUdtName() |
protected abstract Class<A> |
getUdtClass() |
protected abstract String |
getUdtName() |
protected UserType |
getUserType(boolean frozen,
Optional<CassandraOptions> cassandraOptions) |
int |
hashCode() |
void |
inject(info.archinnov.achilles.type.factory.BeanFactory factory) |
void |
inject(com.fasterxml.jackson.databind.ObjectMapper jacksonMapper) |
void |
inject(info.archinnov.achilles.type.SchemaNameProvider schemaNameProvider) |
void |
inject(UserTypeFactory userTypeFactory,
TupleTypeFactory tupleTypeFactory) |
void |
injectKeyspace(String keyspace) |
void |
injectRuntimeCodecs(Map<info.archinnov.achilles.type.codec.CodecSignature<?,?>,info.archinnov.achilles.type.codec.Codec<?,?>> runtimeCodecs) |
protected abstract A |
newInstanceFromCustomConstructor(UDTValue udtValue) |
String |
toString() |
public final Optional<InternalNamingStrategy> staticNamingStrategy
public final String udtName
public final List<AbstractProperty<A,?,?>> componentsProperty
public final List<AbstractProperty<A,?,?>> constructorInjectedProperty
public final Class<?> parentEntityClass
protected info.archinnov.achilles.type.factory.BeanFactory udtFactory
protected UserTypeFactory userTypeFactory
protected UserType userType
protected Optional<info.archinnov.achilles.type.SchemaNameProvider> schemaNameProvider
protected abstract Optional<InternalNamingStrategy> getStaticNamingStrategy()
protected abstract String getUdtName()
protected abstract List<AbstractProperty<A,?,?>> getComponentsProperty()
protected abstract List<AbstractProperty<A,?,?>> getConstructorInjectedProperty()
protected abstract Class<?> getParentEntityClass()
protected abstract UDTValue createUDTFromBean(A instance, boolean frozen, Optional<CassandraOptions> cassandraOptions)
protected abstract A newInstanceFromCustomConstructor(UDTValue udtValue)
protected UserType getUserType(boolean frozen, Optional<CassandraOptions> cassandraOptions)
public UserType buildType(boolean frozen, Optional<CassandraOptions> cassandraOptions)
public String generateSchema(SchemaContext context)
public void inject(info.archinnov.achilles.type.factory.BeanFactory factory)
inject in interface InjectBeanFactorypublic void inject(UserTypeFactory userTypeFactory, TupleTypeFactory tupleTypeFactory)
inject in interface InjectUserAndTupleTypeFactorypublic void inject(com.fasterxml.jackson.databind.ObjectMapper jacksonMapper)
inject in interface InjectJacksonMapperpublic void injectRuntimeCodecs(Map<info.archinnov.achilles.type.codec.CodecSignature<?,?>,info.archinnov.achilles.type.codec.Codec<?,?>> runtimeCodecs)
injectRuntimeCodecs in interface InjectRuntimeCodecspublic void injectKeyspace(String keyspace)
injectKeyspace in interface InjectKeyspacepublic void inject(info.archinnov.achilles.type.SchemaNameProvider schemaNameProvider)
inject in interface InjectSchemaStrategyCopyright © 2012-2021. All Rights Reserved.