public final class ThriftDataHandler extends CassandraDataHandlerBase implements CassandraDataHandler
generator, kunderaMetadata, thriftTranslator| Constructor and Description |
|---|
ThriftDataHandler(ThriftClient thriftClient,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
TimestampGenerator generator)
Instantiates a new thrift data handler.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
fromThriftRow(Class<?> clazz,
EntityMetadata m,
Object rowKey,
List<String> relationNames,
boolean isWrapReq,
org.apache.cassandra.thrift.ConsistencyLevel consistencyLevel)
From thrift row.
|
<E> E |
fromThriftRow(Class<E> clazz,
EntityMetadata m,
DataRow<org.apache.cassandra.thrift.SuperColumn> tr)
From thrift row.
|
fromThriftRow, getForeignKeysFromJoinTable, getThriftColumnValue, populateEmbeddedRecursive, populateEntity, toIndexThriftRow, toThriftRowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromThriftRow, populateEntity, toThriftRowpublic ThriftDataHandler(ThriftClient thriftClient, EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata, TimestampGenerator generator)
thriftClient - the thrift clientkunderaMetadata - the kundera metadatagenerator - the generatorpublic Object fromThriftRow(Class<?> clazz, EntityMetadata m, Object rowKey, List<String> relationNames, boolean isWrapReq, org.apache.cassandra.thrift.ConsistencyLevel consistencyLevel) throws Exception
CassandraDataHandlerBasefromThriftRow in interface CassandraDataHandlerfromThriftRow in class CassandraDataHandlerBaseclazz - the clazzm - the mrowKey - the row keyrelationNames - the relation namesisWrapReq - the is wrap reqconsistencyLevel - the consistency levelException - the exceptionpublic <E> E fromThriftRow(Class<E> clazz, EntityMetadata m, DataRow<org.apache.cassandra.thrift.SuperColumn> tr) throws Exception
CassandraDataHandlerBasefromThriftRow in interface CassandraDataHandlerfromThriftRow in class CassandraDataHandlerBaseE - the element typeclazz - the clazzm - the mtr - the crException - the exceptionCopyright © 2015. All Rights Reserved.