- Cell - Class in com.stratio.deep.entity
-
Generic abstraction for cassandra's columns.
- cellList2tuple(Cells) - Static method in class com.stratio.deep.utils.Utils
-
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).
- Cells - Class in com.stratio.deep.entity
-
Represents a tuple inside the Cassandra's datastore.
- Cells() - Constructor for class com.stratio.deep.entity.Cells
-
Default constructor.
- Cells(Cell...) - Constructor for class com.stratio.deep.entity.Cells
-
Builds a new Cells object containing the provided cells.
- CellValidator - Class in com.stratio.deep.entity
-
Defines a serializable CellValidator.
- cellValidator(Field) - Static method in class com.stratio.deep.entity.CellValidator
-
Factory method that builds a CellValidator from an IDeepType field.
- cellValidator(DataType) - Static method in class com.stratio.deep.entity.CellValidator
-
Factory method that builds a CellValidator from a DataType object.
- cellValidator(T) - Static method in class com.stratio.deep.entity.CellValidator
-
Generates a CellValidator for a generic instance of an object.
- CellValidator.Kind - Enum in com.stratio.deep.entity
-
Possible types of CellValidator.
- collection(String) - Method in interface com.stratio.deep.config.IMongoDeepJobConfig
- columnDefinitions() - Method in interface com.stratio.deep.config.IDeepJobConfig
-
Fetches table metadata from the underlying datastore and generates a Map
where the key is the column name, and the value
is the Cell containing column's metadata.
- columnFamily(String) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Sets the cassandra CF from which data will be read from.
- com.stratio.deep.annotations - package com.stratio.deep.annotations
-
- com.stratio.deep.config - package com.stratio.deep.config
-
- com.stratio.deep.entity - package com.stratio.deep.entity
-
- com.stratio.deep.exception - package com.stratio.deep.exception
-
- com.stratio.deep.functions - package com.stratio.deep.functions
-
- com.stratio.deep.serializer - package com.stratio.deep.serializer
-
- com.stratio.deep.utils - package com.stratio.deep.utils
-
- Constants - Class in com.stratio.deep.utils
-
Class holding several public Deep constants
- cqlPort(Integer) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Sets cassandra host rpcPort.
- create(Cell, Object) - Static method in class com.stratio.deep.entity.Cell
-
Factory method, creates a new Cell from its value and metadata information
- create(Cell, ByteBuffer) - Static method in class com.stratio.deep.entity.Cell
-
Factory method, creates a new Cell from its value and metadata information
- create(String, Object) - Static method in class com.stratio.deep.entity.Cell
-
Factory method, builds a new Cell (isPartitionKey = false and isClusterKey = false).
- create(String) - Static method in class com.stratio.deep.entity.Cell
-
Factory method, builds a new Cell (isPartitionKey = false and isClusterKey = false) with value = null.
- create(String, Object, Boolean, Boolean) - Static method in class com.stratio.deep.entity.Cell
-
Factory method, creates a new Cell.
- create(String, DataType, Boolean, Boolean) - Static method in class com.stratio.deep.entity.Cell
-
Factory method, creates a new metadata Cell, i.e.
- create(E, Field) - Static method in class com.stratio.deep.entity.Cell
-
- create(L, R) - Static method in class com.stratio.deep.utils.Pair
-
Creates a new immutable pair of objects.
- createTableOnWrite(Boolean) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Whether or not to create the output column family on write.
.
- createTableQueryGenerator(Cells, Cells, String, String) - Static method in class com.stratio.deep.utils.Utils
-
Generates a create table cql statement from the given Cells description.
- getAbstractType() - Method in class com.stratio.deep.entity.CellValidator
-
Generates the cassandra marshaller (AbstractType) for this CellValidator.
- getAdditionalFilters() - Method in interface com.stratio.deep.config.IDeepJobConfig
-
Returns the map of additional filters specified by the user.
- getAllFields(Class) - Static method in class com.stratio.deep.utils.Utils
-
Return the set of fields declared at all level of class hierachy
- getBatchSize() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns the batch size used for writing objects to the underying Cassandra datastore.
- getBeanFieldValue(IDeepType, Field) - Static method in class com.stratio.deep.utils.AnnotationUtils
-
Returns the value of the fields deepField in the instance entity of type T.
- getBisectFactor() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
- getBsonFromObject(T) - Static method in class com.stratio.deep.utils.UtilMongoDB
-
converts from an entity class with deep's anotations to BsonObject
- getCellByIdx(int) - Method in class com.stratio.deep.entity.Cells
-
Returns the cell at position idx.
- getCellByName(String) - Method in class com.stratio.deep.entity.Cells
-
Returns the Cell whose name is cellName, or null if this Cells object contains no cell whose
name is cellName.
- getCellName() - Method in class com.stratio.deep.entity.Cell
-
- getCells() - Method in class com.stratio.deep.entity.Cells
-
- getCellValidator() - Method in class com.stratio.deep.entity.Cell
-
- getCellValue() - Method in class com.stratio.deep.entity.Cell
-
Returns the composed cell value.
- getCellValues() - Method in class com.stratio.deep.entity.Cells
-
Converts every Cell contained in this object to an ArrayBuffer.
- getColumnFamily() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns the name of the configured column family.
- getCqlPort() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
CQL port where the remote Cassandra cluster is listening to.
- getCqlTypeName() - Method in class com.stratio.deep.entity.CellValidator
-
- getDecomposedCellValue() - Method in class com.stratio.deep.entity.Cell
-
Returns the cell value as a ByteBuffer, performs the conversion using the
configured validator.
- getDecomposedCellValues() - Method in class com.stratio.deep.entity.Cells
-
Converts every Cell contained in this object to an ArrayBuffer.
- getEntityClass() - Method in interface com.stratio.deep.config.IDeepJobConfig
-
Returns the underlying testentity class used to map the Cassandra
Column family.
- getGenericTypes(Field) - Static method in class com.stratio.deep.utils.AnnotationUtils
-
Returns the list of generic types associated to the provided field (if any).
- getHadoopConfiguration() - Method in interface com.stratio.deep.config.IMongoDeepJobConfig
-
- getHost() - Method in interface com.stratio.deep.config.IDeepJobConfig
-
Returns the hostname of the cassandra server.
- getId(T) - Static method in class com.stratio.deep.utils.UtilMongoDB
-
returns the id value annotated with @DeepField(fieldName = "_id")
- getIndexCells() - Method in class com.stratio.deep.entity.Cells
-
Extracts from this Cells object the cells marked either as partition key or cluster key.
- getInputColumns() - Method in interface com.stratio.deep.config.IDeepJobConfig
-
Returns the list of column names that will
be fetched from the underlying datastore.
- getIsWriteConfig() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns whether this configuration config is suitable for writing out data to the datastore.
- getKeyspace() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns the name of the keyspace.
- getObjectFromBson(Class<T>, BSONObject) - Static method in class com.stratio.deep.utils.UtilMongoDB
-
converts from BsonObject to an entity class with deep's anotations
- getPageSize() - Method in interface com.stratio.deep.config.IDeepJobConfig
-
Returns the maximum number of rows that will be retrieved when fetching data pages from Cassandra.
- getPartitionerClassName() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns the partitioner class name.
- getPassword() - Method in interface com.stratio.deep.config.IDeepJobConfig
-
Returns the password needed to authenticate
to the remote datastore cluster.
- getReadConsistencyLevel() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns the configured read consistency level.
- getRpcPort() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
RPC port where the remote Cassandra cluster is listening to.
- getSession() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns the session opened to the cassandra server.
- getTable() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns the name of the configured column family.
- getUsername() - Method in interface com.stratio.deep.config.IDeepJobConfig
-
Returns the username used to authenticate to the cassandra server.
- getValidatorClassName() - Method in class com.stratio.deep.entity.CellValidator
-
Getter for validatorClassName.
- getValidatorTypes() - Method in class com.stratio.deep.entity.CellValidator
-
Getter for validatorTypes.
- getValueCells() - Method in class com.stratio.deep.entity.Cells
-
Extracts from this Cells object the cells _NOT_ marked as partition key and _NOT_ marked as
cluster key.
- getValueType(DataType) - Static method in class com.stratio.deep.entity.Cell
-
Calculates the Cassandra validator type given the value class type.
There's a shortcoming in the case of an UUID.
- getValueType(Object) - Static method in class com.stratio.deep.entity.Cell
-
Calculates the Cassandra marshaller given the cell value.
- getValueType() - Method in class com.stratio.deep.entity.Cell
-
Returns the Java type corresponding to the current Cell.
- getWriteConsistencyLevel() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
-
Returns the configured write consistency level.