| Package | Description |
|---|---|
| com.impetus.client.cassandra | |
| com.impetus.client.cassandra.datahandler | |
| com.impetus.client.cassandra.thrift |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CassandraClientBase.addRelationsToThriftRow(EntityMetadata metadata,
ThriftRow tf,
List<RelationHolder> relations)
Adds relation foreign key values as thrift column/ value to thrift row.
|
| Modifier and Type | Method and Description |
|---|---|
List<ThriftRow> |
CassandraDataHandlerBase.toIndexThriftRow(Object e,
EntityMetadata m,
String columnFamily)
To index thrift row.
|
Collection<ThriftRow> |
CassandraDataHandler.toThriftRow(Object e,
Object id,
EntityMetadata m,
String columnFamily,
Object columnTTLs)
To thrift row.
|
Collection<ThriftRow> |
CassandraDataHandlerBase.toThriftRow(Object e,
Object id,
EntityMetadata m,
String columnFamily,
Object columnTTLs)
Helper method to convert @Entity to ThriftRow.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
CassandraDataHandler.populateEntity(ThriftRow tr,
EntityMetadata m,
Object entity,
List<String> relationNames,
boolean isWrapReq)
Populate entity.
|
Object |
CassandraDataHandlerBase.populateEntity(ThriftRow tr,
EntityMetadata m,
Object entity,
List<String> relationNames,
boolean isWrapReq)
Populate entity.
|
| Modifier and Type | Method and Description |
|---|---|
ThriftRow |
ThriftDataResultHelper.translateToThriftRow(Map<ByteBuffer,List<org.apache.cassandra.thrift.ColumnOrSuperColumn>> coscResultMap,
boolean isCounterType,
EntityMetadata.Type columnFamilyType,
ThriftRow row)
Translates into thrift row.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
ThriftDataResultHelper.transformThriftResult(org.apache.cassandra.thrift.ColumnOrSuperColumn cosc,
ThriftDataResultHelper.ColumnFamilyType columnFamilyType,
ThriftRow row)
Transform thrift result.
|
static <T> List<T> |
ThriftDataResultHelper.transformThriftResult(List<org.apache.cassandra.thrift.ColumnOrSuperColumn> coscList,
ThriftDataResultHelper.ColumnFamilyType columnFamilyType,
ThriftRow row)
Transforms data retrieved as result via thrift to a List whose content
type is determined by
ThriftDataResultHelper.ColumnFamilyType. |
static <T> Map<ByteBuffer,List<T>> |
ThriftDataResultHelper.transformThriftResult(Map<ByteBuffer,List<org.apache.cassandra.thrift.ColumnOrSuperColumn>> coscResultMap,
ThriftDataResultHelper.ColumnFamilyType columnFamilyType,
ThriftRow row)
Transforms data retrieved as result via thrift to a Map whose content
type is determined by
ThriftDataResultHelper.ColumnFamilyType. |
static <T> Map<ByteBuffer,List<T>> |
ThriftDataResultHelper.transformThriftResult(ThriftDataResultHelper.ColumnFamilyType columnFamilyType,
List<org.apache.cassandra.thrift.KeySlice> keySlices,
ThriftRow row)
Transform thrift result.
|
<T> List<T> |
ThriftDataResultHelper.transformThriftResultAndAddToList(Map<ByteBuffer,List<org.apache.cassandra.thrift.ColumnOrSuperColumn>> coscResultMap,
ThriftDataResultHelper.ColumnFamilyType columnFamilyType,
ThriftRow row)
Transforms data retrieved as result via thrift to a List whose content
type is determined by
ThriftDataResultHelper.ColumnFamilyType. |
ThriftRow |
ThriftDataResultHelper.translateToThriftRow(Map<ByteBuffer,List<org.apache.cassandra.thrift.ColumnOrSuperColumn>> coscResultMap,
boolean isCounterType,
EntityMetadata.Type columnFamilyType,
ThriftRow row)
Translates into thrift row.
|
Copyright © 2015. All Rights Reserved.