T - The type of POJO represented by this root classpublic class RootClassInfoImpl<T> extends ClassInfoImpl<T> implements RootClassInfo<T>
RootClassInfoImpl class provides information about a
particular root element POJO class.| Modifier and Type | Class and Description |
|---|---|
class |
RootClassInfoImpl.Context
The
Context class extends the ClassInfoImpl.Context. |
class |
RootClassInfoImpl.POJOContext
The
POJOContext class extends the
ClassInfoImpl.POJOContext. |
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.Row row,
Map<String,Object> kkeys)
Converts the specified result row into a POJO object defined by this
class information and keyspace key map.
|
<S extends T> |
getType(Class<S> clazz) |
TypeClassInfoImpl<? extends T> |
getType(String name) |
RootClassInfoImpl.Context |
newContext()
Creates a new context for this class info.
|
RootClassInfoImpl.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<TypeClassInfoImpl<? extends T>> |
typeImpls()
Gets all type entities defined from this root entity.
|
java.util.stream.Stream<TypeClassInfo<? extends T>> |
types() |
equals, getAuditTable, getColumns, getDefaultValue, getEntityAnnotationClass, getInitialObjects, getKeyspace, getKeyspaceKey, getKeyspaceKeyByType, getKeyspaceKeys, getKeyspaceKeyTypes, getNumKeyspaceKeys, getNumTables, getObject, getObjectClass, getPrimaryTable, getTable, getTableImpl, getTables, getTablesImpl, hashCode, isColumn, isKeyspaceKey, iterator, supportsTablesAndIndexes, tables, tablesImpl, udts, validateColumn, validateColumnAndValue, validateColumnOrKeyspaceKey, validateColumns, validateColumns, validateKeyspaceKeyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAuditTable, 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 RootClassInfoImpl.Context newContext()
newContext in class ClassInfoImpl<T>null newly created context for this class infoClassInfoImpl.newContext()public RootClassInfoImpl.POJOContext newContext(T object)
newContext in class ClassInfoImpl<T>object - the POJO objectnull newly created context for this class infoClassInfoImpl.newContext(java.lang.Object)public <S extends T> TypeClassInfoImpl<S> getType(Class<S> clazz)
getType in interface RootClassInfo<T>RootClassInfo.getType(java.lang.Class)public TypeClassInfoImpl<? extends T> getType(String name)
getType in interface RootClassInfo<T>RootClassInfo.getType(java.lang.String)public java.util.stream.Stream<TypeClassInfo<? extends T>> types()
types in interface RootClassInfo<T>RootClassInfo.types()public java.util.stream.Stream<TypeClassInfoImpl<? extends T>> typeImpls()
public int getNumTypes()
getNumTypes in interface RootClassInfo<T>RootClassInfo.getNumTypes()public T getObject(com.datastax.driver.core.Row row, Map<String,Object> kkeys)
getObject in class ClassInfoImpl<T>row - the result row to convert into a POJOkkeys - a map of keyspace key values to report back into the created
POJOClassInfoImpl.getObject(com.datastax.driver.core.Row, java.util.Map)public String toString()
toString in class ClassInfoImpl<T>Object.toString()Copyright (C) 2015-2017 The Helenus Driver Project Authors.