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.

@FunctionalInterface @Deprecated public interface TupleTypeFactory
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 Type
    Method
    Description
    default 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.
  • Method Details

    • create

      default 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.
      Parameters:
      types - must not be null and not contain null elements.
      Returns:
      the TupleType representing the given tuple element types.
    • create

      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.
      Parameters:
      types - must not be null.
      Returns:
      the TupleType representing the given tuple element types.