T - The type of POJO represented by this classpublic class UDTSubClassInfoImpl<T> extends UDTRootClassInfoImpl<T>
UDTSubClassInfoImpl class provides information about a
particular UDT sub-root element POJO class.UDTRootClassInfoImpl.Context, UDTRootClassInfoImpl.POJOContextclazz, constructor, entityAnnotationClass, finalFields, keyspaceKeysByName, keyspaceKeysByType, mgr| Modifier and Type | Method and Description |
|---|---|
int |
getNumTypes() |
T |
getObject(com.datastax.driver.core.Row row,
Map<String,Object> kkeys)
Converts the specified result row into a POJO object defined by this
class information and keyspace key map.
|
T |
getObject(com.datastax.driver.core.Row row,
String type,
Map<String,Object> kkeys)
Converts the specified result row into a POJO object defined by this
class information and keyspace key map.
|
UDTRootClassInfoImpl<? super T> |
getRoot()
Gets the class info for the UDT root entity defined for this subclass.
|
<S extends T> |
getType(Class<S> clazz) |
UDTTypeClassInfoImpl<? extends T> |
getType(String name) |
UDTRootClassInfoImpl.POJOContext |
newContextFromRoot(Object object)
Creates a new context for this subclass info with the given POJO object.
|
java.util.stream.Stream<UDTTypeClassInfoImpl<? extends T>> |
typeImpls()
Gets all type entities defined from this root entity.
|
java.util.stream.Stream<UDTTypeClassInfo<? extends T>> |
types() |
classInfos, getObject, newContext, newContext, objectClasses, toStringgetArgumentTypes, getCodec, getDataType, getElementType, getFirstArgumentType, getMainType, getName, getNumTables, getTableImpl, getTableImpl, getTables, getTablesImpl, getUDTValue, isAlterableTo, isCollection, isFrozen, isTuple, isUserDefined, name, supportsTablesAndIndexes, tables, toCQLequals, getAuditTable, getColumns, getDefaultValue, getEntityAnnotationClass, getInitialObjects, getKeyspace, getKeyspaceKey, getKeyspaceKeyByType, getKeyspaceKeys, getKeyspaceKeyTypes, getNumKeyspaceKeys, getObjectClass, getPrimaryTable, getTable, hashCode, isColumn, isKeyspaceKey, iterator, 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()
null UDT root entity POJO class info defined for
this type entitypublic UDTRootClassInfoImpl.POJOContext newContextFromRoot(Object object)
object - the POJO objectnull newly created context for this subclass infoNullPointerException - if object is nullIllegalArgumentException - if object is not of the
appropriate classpublic T getObject(com.datastax.driver.core.Row row, String type, Map<String,Object> kkeys)
row - the result row to convert into a POJOtype - the POJO type extracted from the specified rowkkeys - a map of keyspace key values to report back into the created
POJOnull
if the type doesn't match this type entity nameNullPointerException - if type or kkeys
is nullObjectConversionException - if unable to convert to a POJOpublic T getObject(com.datastax.driver.core.Row row, Map<String,Object> kkeys)
getObject in class UDTClassInfoImpl<T>row - the result row to convert into a POJOkkeys - a map of keyspace key values to report back into the created
POJOUDTClassInfoImpl.getObject(com.datastax.driver.core.Row, java.util.Map)public <S extends T> UDTTypeClassInfoImpl<S> getType(Class<S> clazz)
getType in interface UDTRootClassInfo<T>getType in class UDTRootClassInfoImpl<T>UDTRootClassInfoImpl.getType(java.lang.Class)public UDTTypeClassInfoImpl<? extends T> getType(String name)
getType in interface UDTRootClassInfo<T>getType in class UDTRootClassInfoImpl<T>UDTRootClassInfoImpl.getType(java.lang.String)public java.util.stream.Stream<UDTTypeClassInfo<? extends T>> types()
types in interface UDTRootClassInfo<T>types in class UDTRootClassInfoImpl<T>UDTRootClassInfoImpl.types()public java.util.stream.Stream<UDTTypeClassInfoImpl<? extends T>> typeImpls()
typeImpls in class UDTRootClassInfoImpl<T>UDTRootClassInfoImpl.typeImpls()public int getNumTypes()
getNumTypes in interface UDTRootClassInfo<T>getNumTypes in class UDTRootClassInfoImpl<T>UDTRootClassInfoImpl.getNumTypes()Copyright (C) 2015-2017 The Helenus Driver Project Authors.