SimpleTupleTypeFactory
instead.@Deprecated public class CodecRegistryTupleTypeFactory extends Object implements TupleTypeFactory
CodecRegistry
-based TupleTypeFactory
using
TupleType#of(ProtocolVersion, CodecRegistry, DataType...)
to create tuple types. tuple
types
.Modifier and Type | Field and Description |
---|---|
static CodecRegistryTupleTypeFactory |
DEFAULT
Deprecated.
Default
CodecRegistryTupleTypeFactory using default protocol versions and the default
CodecRegistry . |
Constructor and Description |
---|
CodecRegistryTupleTypeFactory(com.datastax.oss.driver.api.core.ProtocolVersion protocolVersion,
com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistry codecRegistry)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.datastax.oss.driver.api.core.type.TupleType |
create(com.datastax.oss.driver.api.core.type.DataType... types)
Deprecated.
Create a
TupleType representing the given tuple element types . |
com.datastax.oss.driver.api.core.type.TupleType |
create(List<com.datastax.oss.driver.api.core.type.DataType> types)
Deprecated.
Create a
TupleType representing the given tuple element types . |
public static final CodecRegistryTupleTypeFactory DEFAULT
CodecRegistryTupleTypeFactory
using default protocol versions and the default
CodecRegistry
.@Deprecated public CodecRegistryTupleTypeFactory(com.datastax.oss.driver.api.core.ProtocolVersion protocolVersion, com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistry codecRegistry)
protocolVersion
- must not be null.codecRegistry
- must not be null.public com.datastax.oss.driver.api.core.type.TupleType create(com.datastax.oss.driver.api.core.type.DataType... types)
TupleTypeFactory
TupleType
representing the given tuple element types
.create
in interface TupleTypeFactory
types
- must not be null and not contain null elements.TupleType
representing the given tuple element types
.public com.datastax.oss.driver.api.core.type.TupleType create(List<com.datastax.oss.driver.api.core.type.DataType> types)
TupleTypeFactory
TupleType
representing the given tuple element types
.create
in interface TupleTypeFactory
types
- must not be null.TupleType
representing the given tuple element types
.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.