| Package | Description |
|---|---|
| com.stratio.deep.entity | |
| com.stratio.deep.utils |
| Modifier and Type | Method and Description |
|---|---|
Cells |
Cells.getIndexCells()
Extracts from this Cells object the cells marked either as partition key or cluster key.
|
Cells |
Cells.getValueCells()
Extracts from this Cells object the cells _NOT_ marked as partition key and _NOT_ marked as
cluster key.
|
| Modifier and Type | Method and Description |
|---|---|
static scala.Tuple2<Cells,Cells> |
Utils.cellList2tuple(Cells cells)
Utility method that converts an IDeepType to tuple of two Cells.
The first Cells element contains the list of Cell elements that represent the key (partition + cluster key). |
static scala.Tuple2<Cells,Cells> |
Utils.cellList2tuple(Cells cells)
Utility method that converts an IDeepType to tuple of two Cells.
The first Cells element contains the list of Cell elements that represent the key (partition + cluster key). |
static <T extends IDeepType> |
Utils.deepType2tuple(T e)
Convers an instance of type
|
static <T extends IDeepType> |
Utils.deepType2tuple(T e)
Convers an instance of type
|
| Modifier and Type | Method and Description |
|---|---|
static scala.Tuple2<Cells,Cells> |
Utils.cellList2tuple(Cells cells)
Utility method that converts an IDeepType to tuple of two Cells.
The first Cells element contains the list of Cell elements that represent the key (partition + cluster key). |
static String |
Utils.createTableQueryGenerator(Cells keys,
Cells values,
String outputKeyspace,
String outputColumnFamily)
Generates a create table cql statement from the given Cells description.
|
static String |
Utils.updateQueryGenerator(Cells keys,
Cells values,
String outputKeyspace,
String outputColumnFamily)
Generates the update query for the provided IDeepType.
|
| Modifier and Type | Method and Description |
|---|---|
static scala.Tuple2<String[],Object[]> |
Utils.prepareTuple4CqlDriver(scala.Tuple2<Cells,Cells> tuple)
Splits columns names and values as required by Datastax java driver to generate an Insert query.
|
static scala.Tuple2<String[],Object[]> |
Utils.prepareTuple4CqlDriver(scala.Tuple2<Cells,Cells> tuple)
Splits columns names and values as required by Datastax java driver to generate an Insert query.
|
Copyright © 2014. All rights reserved.