Interface TupleTypeFactory
- All Known Implementing Classes:
CodecRegistryTupleTypeFactory
,SimpleTupleTypeFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
since 3.0
Factory to create
TupleType
given tuple element types
. Primarily internal use.- Since:
- 2.1
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.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
.
-
Method Details
-
create
default com.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
.- Parameters:
types
- must not be null and not contain null elements.- Returns:
- the
TupleType
representing the giventuple element types
.
-
create
com.datastax.oss.driver.api.core.type.TupleType create(List<com.datastax.oss.driver.api.core.type.DataType> types) Deprecated.Create aTupleType
representing the giventuple element types
.- Parameters:
types
- must not be null.- Returns:
- the
TupleType
representing the giventuple element types
.
-