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
Modifier and TypeFieldDescriptionstatic final CodecRegistryTupleTypeFactory
Deprecated.DefaultCodecRegistryTupleTypeFactory
using default protocol versions and the defaultCodecRegistry
. -
Constructor Summary
ConstructorDescriptionCodecRegistryTupleTypeFactory
(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.TupleType
create
(com.datastax.oss.driver.api.core.type.DataType... types) Deprecated.Create aTupleType
representing the giventuple element types
.com.datastax.oss.driver.api.core.type.TupleType
Deprecated.Create aTupleType
representing the giventuple element types
.
-
Field Details
-
DEFAULT
Deprecated.DefaultCodecRegistryTupleTypeFactory
using 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:TupleTypeFactory
Create aTupleType
representing the giventuple element types
.- Specified by:
create
in interfaceTupleTypeFactory
- Parameters:
types
- must not be null and not contain null elements.- Returns:
- the
TupleType
representing 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:TupleTypeFactory
Create aTupleType
representing the giventuple element types
.- Specified by:
create
in interfaceTupleTypeFactory
- Parameters:
types
- must not be null.- Returns:
- the
TupleType
representing the giventuple element types
.
-
SimpleTupleTypeFactory
instead.