Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Field and Description |
---|---|
protected UserType |
TypeCodec.AbstractUDTCodec.definition |
Modifier and Type | Method and Description |
---|---|
UserType |
UserType.copy(boolean newFrozen) |
UserType |
UDTValue.getType()
The UDT this is a value of.
|
UserType |
KeyspaceMetadata.getUserType(String name)
Returns the definition for a user defined type (UDT) in this keyspace.
|
Modifier and Type | Method and Description |
---|---|
Collection<UserType> |
KeyspaceMetadata.getUserTypes()
Returns the user types defined in this keyspace.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaChangeListenerBase.onUserTypeAdded(UserType type) |
void |
SchemaChangeListener.onUserTypeAdded(UserType type)
Called when a user-defined type has been added.
|
void |
SchemaChangeListenerBase.onUserTypeChanged(UserType current,
UserType previous) |
void |
SchemaChangeListener.onUserTypeChanged(UserType current,
UserType previous)
Called when a user-defined type has changed.
|
void |
SchemaChangeListenerBase.onUserTypeRemoved(UserType type) |
void |
SchemaChangeListener.onUserTypeRemoved(UserType type)
Called when a user-defined type has been removed.
|
static TypeCodec<UDTValue> |
TypeCodec.userType(UserType type)
Return a newly-created codec for the given user-defined CQL type.
|
Constructor and Description |
---|
AbstractUDTCodec(UserType definition,
Class<T> javaClass) |
AbstractUDTCodec(UserType definition,
TypeToken<T> javaType) |
Copyright © 2012–2018. All rights reserved.