public enum SimpleTupleTypeFactory extends Enum<SimpleTupleTypeFactory> implements TupleTypeFactory
Enum Constant and Description |
---|
DEFAULT
Default
SimpleTupleTypeFactory using newest protocol versions and the default CodecRegistry . |
Modifier and Type | Method and Description |
---|---|
com.datastax.oss.driver.api.core.type.TupleType |
create(com.datastax.oss.driver.api.core.type.DataType... types)
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)
Create a
TupleType representing the given tuple element types . |
static SimpleTupleTypeFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleTupleTypeFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleTupleTypeFactory DEFAULT
SimpleTupleTypeFactory
using newest protocol versions and the default CodecRegistry
.public static SimpleTupleTypeFactory[] values()
for (SimpleTupleTypeFactory c : SimpleTupleTypeFactory.values()) System.out.println(c);
public static SimpleTupleTypeFactory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic 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.