Class CodecRegistryTupleTypeFactory

java.lang.Object
org.springframework.data.cassandra.core.mapping.CodecRegistryTupleTypeFactory
All Implemented Interfaces:
TupleTypeFactory

@Deprecated public class CodecRegistryTupleTypeFactory extends Object implements TupleTypeFactory
Deprecated.
since 3.0, use SimpleTupleTypeFactory instead.
CodecRegistry-based TupleTypeFactory using SimpleTupleTypeFactory.create(DataType...) to create tuple types. tuple types.
Since:
2.1
Author:
Mark Paluch
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated.
    Default CodecRegistryTupleTypeFactory using default protocol versions and the default CodecRegistry.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CodecRegistryTupleTypeFactory(com.datastax.oss.driver.api.core.ProtocolVersion protocolVersion, com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistry codecRegistry)
    Deprecated.
  • Method Summary

    Modifier and Type
    Method
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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.
      Creates a new CodecRegistryTupleTypeFactory given ProtocolVersion and CodecRegistry.
      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 a TupleType representing the given tuple element types.
      Specified by:
      create in interface TupleTypeFactory
      Parameters:
      types - must not be null and not contain null elements.
      Returns:
      the TupleType representing the given tuple 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 a TupleType representing the given tuple element types.
      Specified by:
      create in interface TupleTypeFactory
      Parameters:
      types - must not be null.
      Returns:
      the TupleType representing the given tuple element types.