T - The type of POJO represented by this classpublic class UDTTypeClassInfoImpl<T> extends UDTClassInfoImpl<T> implements UDTTypeClassInfo<T>
UDTTypeClassInfoImpl class provides information about a
particular POJO class.UDTClassInfoImpl.POJOContextClassInfoImpl.Contextclazz, constructor, entityAnnotationClass, finalFields, keyspaceKeysByName, keyspaceKeysByType, mgr| Modifier and Type | Method and Description |
|---|---|
T |
getObject(com.datastax.driver.core.UDTValue uval)
Converts the specified UDT value into a POJO object defined by this
class information.
|
T |
getObject(com.datastax.driver.core.UDTValue uval,
String type)
Converts the specified UDT value into a POJO object defined by this
class information.
|
UDTRootClassInfoImpl<? super T> |
getRoot() |
String |
getType() |
boolean |
isDynamic() |
UDTClassInfoImpl.POJOContext |
newContextFromRoot(Object object)
Creates a new context for this class info with the given POJO object.
|
String |
toString() |
getArgumentTypes, getCodec, getDataType, getElementType, getFirstArgumentType, getMainType, getName, getNumTables, getObject, getTableImpl, getTableImpl, getTables, getTablesImpl, getUDTValue, isAlterableTo, isCollection, isFrozen, isTuple, isUserDefined, name, newContext, supportsTablesAndIndexes, tables, toCQLclassInfos, equals, getAuditTable, getColumns, getDefaultValue, getEntityAnnotationClass, getInitialObjects, getKeyspace, getKeyspaceKey, getKeyspaceKeyByType, getKeyspaceKeys, getKeyspaceKeyTypes, getNumKeyspaceKeys, getObjectClass, getPrimaryTable, getTable, hashCode, isColumn, isKeyspaceKey, iterator, newContext, objectClasses, tablesImpl, udts, validateColumn, validateColumnAndValue, validateColumnOrKeyspaceKey, validateColumns, validateColumns, validateKeyspaceKeyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamegetAuditTable, getInitialObjects, getKeyspace, getKeyspaceKey, getKeyspaceKeyByType, getNumKeyspaceKeys, getNumTables, getObjectClass, getPrimaryTable, getTable, getTables, iterator, supportsTablesAndIndexes, tablesforEach, spliteratorpublic UDTRootClassInfoImpl<? super T> getRoot()
getRoot in interface UDTTypeClassInfo<T>TypeClassInfo.getRoot()public String getType()
getType in interface UDTTypeClassInfo<T>UDTTypeClassInfo.getType()public boolean isDynamic()
isDynamic in interface UDTTypeClassInfo<T>TypeClassInfo.isDynamic()public UDTClassInfoImpl.POJOContext newContextFromRoot(Object object)
object - the POJO objectnull newly created context for this class infoNullPointerException - if object is nullIllegalArgumentException - if object is not of the
appropriate classpublic T getObject(com.datastax.driver.core.UDTValue uval, String type)
uval - the UDT value to convert into a POJOtype - the POJO type extracted from the specified UDT valuenull
if the type doesn't match this type entity nameNullPointerException - if type is nullObjectConversionException - if unable to convert to a POJOpublic T getObject(com.datastax.driver.core.UDTValue uval)
getObject in class UDTClassInfoImpl<T>uval - the UDT value to convert into a POJOUDTClassInfoImpl.getObject(com.datastax.driver.core.UDTValue)public String toString()
toString in class UDTClassInfoImpl<T>Object.toString()Copyright (C) 2015-2017 The Helenus Driver Project Authors.