public class SimpleTupleTypeFactory extends Object implements TupleTypeFactory
Constructor and Description |
---|
SimpleTupleTypeFactory(com.datastax.driver.core.Cluster cluster)
Creates a new
SimpleTupleTypeFactory given Cluster . |
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.TupleType |
create(List<com.datastax.driver.core.DataType> types)
Create a
TupleType representing the given tuple element types . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public SimpleTupleTypeFactory(com.datastax.driver.core.Cluster cluster)
SimpleTupleTypeFactory
given Cluster
.cluster
- must not be null.public com.datastax.driver.core.TupleType create(List<com.datastax.driver.core.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–2020 Pivotal Software, Inc.. All rights reserved.