T - The type of POJO represented by this root classpublic class UDTRootClassInfoImpl<T> extends UDTClassInfoImpl<T> implements UDTRootClassInfo<T>
UDTRootClassInfoImpl class provides information about a
particular root element POJO class.| Modifier and Type | Class and Description |
|---|---|
class |
UDTRootClassInfoImpl.Context
The
Context class extends the ClassInfoImpl.Context. |
class |
UDTRootClassInfoImpl.POJOContext
The
POJOContext class provides a specific context for the POJO
as referenced while building an insert or update statement. |
clazz, constructor, entityAnnotationClass, finalFields, keyspaceKeysByName, keyspaceKeysByType, mgr| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<ClassInfoImpl<? extends T>> |
classInfos()
Gets all class infos (including type classes if this is a root class)
for the POJO.
|
int |
getNumTypes() |
T |
getObject(com.datastax.driver.core.UDTValue uval)
Converts the specified UDT value into a POJO object defined by this
class information.
|
<S extends T> |
getType(Class<S> clazz) |
UDTTypeClassInfoImpl<? extends T> |
getType(String name) |
UDTRootClassInfoImpl.Context |
newContext()
Creates a new context for this class info.
|
UDTRootClassInfoImpl.POJOContext |
newContext(T object)
Creates a new context for this class info with the given POJO object.
|
java.util.stream.Stream<Class<? extends T>> |
objectClasses()
Gets all classes (including type classes if this is a root class) for
the POJO represented by this class info object.
|
String |
toString() |
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() |
getArgumentTypes, getCodec, getDataType, getElementType, getFirstArgumentType, getMainType, getName, getNumTables, getObject, 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 java.util.stream.Stream<Class<? extends T>> objectClasses()
objectClasses in class ClassInfoImpl<T>ClassInfoImpl.objectClasses()public java.util.stream.Stream<ClassInfoImpl<? extends T>> classInfos()
classInfos in class ClassInfoImpl<T>ClassInfoImpl.classInfos()public UDTRootClassInfoImpl.Context newContext()
newContext in class ClassInfoImpl<T>null newly created context for this class infoClassInfoImpl.newContext()public UDTRootClassInfoImpl.POJOContext newContext(T object)
newContext in class UDTClassInfoImpl<T>object - the POJO objectnull newly created context for this class infoClassInfoImpl.newContext(java.lang.Object)public <S extends T> UDTTypeClassInfoImpl<S> getType(Class<S> clazz)
getType in interface UDTRootClassInfo<T>UDTRootClassInfo.getType(java.lang.Class)public UDTTypeClassInfoImpl<? extends T> getType(String name)
getType in interface UDTRootClassInfo<T>UDTRootClassInfo.getType(java.lang.String)public java.util.stream.Stream<UDTTypeClassInfo<? extends T>> types()
types in interface UDTRootClassInfo<T>UDTRootClassInfo.types()public java.util.stream.Stream<UDTTypeClassInfoImpl<? extends T>> typeImpls()
public int getNumTypes()
getNumTypes in interface UDTRootClassInfo<T>UDTRootClassInfo.getNumTypes()public 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.