Module spring.data.cassandra
Class CodecRegistryTupleTypeFactory
java.lang.Object
org.springframework.data.cassandra.core.mapping.CodecRegistryTupleTypeFactory
- All Implemented Interfaces:
TupleTypeFactory
Deprecated.
CodecRegistry-based TupleTypeFactory using SimpleTupleTypeFactory.create(DataType...) to
create tuple types. tuple types.- Since:
- 2.1
- Author:
- Mark Paluch
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CodecRegistryTupleTypeFactoryDeprecated.DefaultCodecRegistryTupleTypeFactoryusing default protocol versions and the defaultCodecRegistry. -
Constructor Summary
ConstructorsConstructorDescriptionCodecRegistryTupleTypeFactory(com.datastax.oss.driver.api.core.ProtocolVersion protocolVersion, com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistry codecRegistry) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncom.datastax.oss.driver.api.core.type.TupleTypecreate(com.datastax.oss.driver.api.core.type.DataType... types) Deprecated.Create aTupleTyperepresenting the giventuple element types.com.datastax.oss.driver.api.core.type.TupleTypeDeprecated.Create aTupleTyperepresenting the giventuple element types.
-
Field Details
-
DEFAULT
Deprecated.DefaultCodecRegistryTupleTypeFactoryusing default protocol versions and the defaultCodecRegistry.
-
-
Constructor Details
-
CodecRegistryTupleTypeFactory
@Deprecated public CodecRegistryTupleTypeFactory(com.datastax.oss.driver.api.core.ProtocolVersion protocolVersion, com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistry codecRegistry) Deprecated.- Parameters:
protocolVersion- must not be null.codecRegistry- must not be null.
-
-
Method Details
-
create
public com.datastax.oss.driver.api.core.type.TupleType create(com.datastax.oss.driver.api.core.type.DataType... types) Deprecated.Description copied from interface:TupleTypeFactoryCreate aTupleTyperepresenting the giventuple element types.- Specified by:
createin interfaceTupleTypeFactory- Parameters:
types- must not be null and not contain null elements.- Returns:
- the
TupleTyperepresenting the giventuple element types.
-
create
public com.datastax.oss.driver.api.core.type.TupleType create(List<com.datastax.oss.driver.api.core.type.DataType> types) Deprecated.Description copied from interface:TupleTypeFactoryCreate aTupleTyperepresenting the giventuple element types.- Specified by:
createin interfaceTupleTypeFactory- Parameters:
types- must not be null.- Returns:
- the
TupleTyperepresenting the giventuple element types.
-
SimpleTupleTypeFactoryinstead.