A B C D E F G H I K L M N O P Q R S T U V W 

A

AbstractSerializableFunction<T,U> - Class in com.stratio.deep.functions
Abstract base type to create serializable functions of tipe 1.
AbstractSerializableFunction() - Constructor for class com.stratio.deep.functions.AbstractSerializableFunction
 
AbstractSerializableFunction2<T1,T2,R> - Class in com.stratio.deep.functions
Created by luca on 14/04/14.
AbstractSerializableFunction2() - Constructor for class com.stratio.deep.functions.AbstractSerializableFunction2
 
add(Cell) - Method in class com.stratio.deep.entity.Cells
Adds a new Cell object to this Cells instance.
additionalFilterGenerator(Map<String, Serializable>) - Static method in class com.stratio.deep.utils.Utils
Generates the part of the query where clause that will hit the Cassandra's secondary indexes.
AnnotationUtils - Class in com.stratio.deep.utils
Common utility methods to manipulate beans and fields annotated with @DeepEntity and @DeepField.

B

batchQueryGenerator(List<String>) - Static method in class com.stratio.deep.utils.Utils
Returns a CQL batch query wrapping the given statements.
batchSize(int) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Sets the batch size used to write to Cassandra.
bisectFactor(int) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Sets the token range bisect factor.

C

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
Constructs a Cell from a DeepField property.
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.

D

database(String) - Method in interface com.stratio.deep.config.IMongoDeepJobConfig
DeepEntity - Annotation Type in com.stratio.deep.annotations
Annotation to be used whenever we want to define an object to be used as an entity in Deep.
DeepField - Annotation Type in com.stratio.deep.annotations
Maps an object property to a Database column.
deepFieldName(Field) - Static method in class com.stratio.deep.utils.AnnotationUtils
Returns the field name as known by the datastore.
DeepGenericException - Exception in com.stratio.deep.exception
Generic Deep exception.
DeepGenericException() - Constructor for exception com.stratio.deep.exception.DeepGenericException
Default constructor.
DeepGenericException(String) - Constructor for exception com.stratio.deep.exception.DeepGenericException
Public constructor.
DeepGenericException(String, Throwable) - Constructor for exception com.stratio.deep.exception.DeepGenericException
Public constructor.
DeepGenericException(Throwable) - Constructor for exception com.stratio.deep.exception.DeepGenericException
Public constructor.
DeepIllegalAccessException - Exception in com.stratio.deep.exception
Unchecked variant of IllegalAccessException.
DeepIllegalAccessException(String) - Constructor for exception com.stratio.deep.exception.DeepIllegalAccessException
Public constructor.
DeepIllegalAccessException(String, Throwable) - Constructor for exception com.stratio.deep.exception.DeepIllegalAccessException
Public constructor.
DeepIllegalAccessException(Throwable) - Constructor for exception com.stratio.deep.exception.DeepIllegalAccessException
Public constructor.
DeepIndexNotFoundException - Exception in com.stratio.deep.exception
Unchecked exception thrown when trying to define a default filter over a not existent secondary index in Cassandra.
DeepIndexNotFoundException(String) - Constructor for exception com.stratio.deep.exception.DeepIndexNotFoundException
Public constructor.
DeepInstantiationException - Exception in com.stratio.deep.exception
Runtime exception representing an instantiation exception.
DeepInstantiationException() - Constructor for exception com.stratio.deep.exception.DeepInstantiationException
Public constructor.
DeepInstantiationException(String) - Constructor for exception com.stratio.deep.exception.DeepInstantiationException
Public constructor.
DeepInstantiationException(String, Throwable) - Constructor for exception com.stratio.deep.exception.DeepInstantiationException
Public constructor.
DeepInstantiationException(String, Throwable, boolean, boolean) - Constructor for exception com.stratio.deep.exception.DeepInstantiationException
Public constructor.
DeepInstantiationException(Throwable) - Constructor for exception com.stratio.deep.exception.DeepInstantiationException
Public constructor.
DeepIOException - Exception in com.stratio.deep.exception
Unchecked variant of IOException.
DeepIOException() - Constructor for exception com.stratio.deep.exception.DeepIOException
Default constructor.
DeepIOException(String) - Constructor for exception com.stratio.deep.exception.DeepIOException
Public constructor.
DeepIOException(String, Throwable) - Constructor for exception com.stratio.deep.exception.DeepIOException
Public constructor.
DeepIOException(String, Throwable, boolean, boolean) - Constructor for exception com.stratio.deep.exception.DeepIOException
Public constructor.
DeepIOException(Throwable) - Constructor for exception com.stratio.deep.exception.DeepIOException
Public constructor.
DeepKryoRegistrator - Class in com.stratio.deep.serializer
Generic kryo registrator we provide to end users.
DeepKryoRegistrator() - Constructor for class com.stratio.deep.serializer.DeepKryoRegistrator
 
DeepNoSuchFieldException - Exception in com.stratio.deep.exception
Unchecked variant of NoSuchFieldException.
DeepNoSuchFieldException(String, Throwable) - Constructor for exception com.stratio.deep.exception.DeepNoSuchFieldException
Public constructor.
DeepNoSuchFieldException(Throwable) - Constructor for exception com.stratio.deep.exception.DeepNoSuchFieldException
Public constructor.
DeepNoSuchFieldException(String) - Constructor for exception com.stratio.deep.exception.DeepNoSuchFieldException
Public constructor.
deepType2tuple(T) - Static method in class com.stratio.deep.utils.Utils
Convers an instance of type to a tuple of ( Map, List ).
DEFAULT_BATCH_SIZE - Static variable in class com.stratio.deep.utils.Constants
 
DEFAULT_BISECT_FACTOR - Static variable in class com.stratio.deep.utils.Constants
 
DEFAULT_CASSANDRA_CQL_PORT - Static variable in class com.stratio.deep.utils.Constants
 
DEFAULT_CASSANDRA_HOST - Static variable in class com.stratio.deep.utils.Constants
 
DEFAULT_CASSANDRA_RPC_PORT - Static variable in class com.stratio.deep.utils.Constants
 
DEFAULT_MAX_PAGE_SIZE - Static variable in class com.stratio.deep.utils.Constants
 
DEFAULT_PAGE_SIZE - Static variable in class com.stratio.deep.utils.Constants
 

E

equals(Object) - Method in class com.stratio.deep.entity.Cell
Two Cell are considered equal if and only if the following properties are equal: cellName cellValue isClusterKey isPartitionKey validator
equals(Object) - Method in class com.stratio.deep.entity.Cells
equals(Object) - Method in class com.stratio.deep.entity.CellValidator
equals(Object) - Method in class com.stratio.deep.utils.Pair

F

filterByField(String, Serializable) - Method in interface com.stratio.deep.config.IDeepJobConfig
Adds a new filter for the Cassandra underlying datastore.
Once a new filter has been added, all subsequent queries generated to the underlying datastore will include the filter on the specified column called filterColumnName.
filterDeepFields(Class) - Static method in class com.stratio.deep.utils.AnnotationUtils
Utility method that filters out all the fields _not_ annotated with the DeepField annotation.
filterKeyFields(Class) - Static method in class com.stratio.deep.utils.AnnotationUtils
Return a pair of Field[] whose left element is the array of keys fields.
findGetter(String, Class) - Static method in class com.stratio.deep.utils.Utils
Resolves the getter name for the property whose name is 'propertyName' whose type is 'valueType' in the entity bean whose class is 'entityClass'.
findSetter(String, Class, Class) - Static method in class com.stratio.deep.utils.Utils
Resolves the setter name for the property whose name is 'propertyName' whose type is 'valueType' in the entity bean whose class is 'entityClass'.

G

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.

H

hashCode() - Method in class com.stratio.deep.entity.Cell
hashCode() - Method in class com.stratio.deep.entity.Cells
hashCode() - Method in class com.stratio.deep.entity.CellValidator
hashCode() - Method in class com.stratio.deep.utils.Pair
host(String) - Method in interface com.stratio.deep.config.IDeepJobConfig
Sets the datastore hostname
host(List<String>) - Method in interface com.stratio.deep.config.IMongoDeepJobConfig
Sets the list of available Mongo hosts.

I

ICassandraDeepJobConfig<T> - Interface in com.stratio.deep.config
Defines the public methods that each Stratio Deep Cassandra configuration object should implement.
IDeepJobConfig<T,S extends IDeepJobConfig> - Interface in com.stratio.deep.config
Defines the public methods that each Stratio Deep configuration object should implement.
IDeepType - Interface in com.stratio.deep.entity
Marker interface that should be implemented by all those beans that need to be used with StratioDeep.
IMongoDeepJobConfig<T> - Interface in com.stratio.deep.config
Defines the public methods that each Stratio Deep MongoDB configuration object should implement.
inetAddressFromLocation(String) - Static method in class com.stratio.deep.utils.Utils
Returns the inet address for the specified location.
initialize() - Method in interface com.stratio.deep.config.IDeepJobConfig
Initialized the current configuration object.
inputColumns(String...) - Method in interface com.stratio.deep.config.IDeepJobConfig
Defines a projection over the CF columns.
isClusterKey() - Method in class com.stratio.deep.entity.Cell
 
isCreateTableOnWrite() - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Returns whether or not in this configuration object we specify to automatically create the output column family.
isEmpty() - Method in class com.stratio.deep.entity.Cells
 
isKey(DeepField) - Static method in class com.stratio.deep.utils.AnnotationUtils
Returns true is given field is part of the table key.
isPartitionKey() - Method in class com.stratio.deep.entity.Cell
 
iterator() - Method in class com.stratio.deep.entity.Cells

K

keyspace(String) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Sets Cassandra Keyspace.

L

left - Variable in class com.stratio.deep.utils.Pair
 

M

MAP_ABSTRACT_TYPE_CLASS_TO_ABSTRACT_TYPE - Static variable in class com.stratio.deep.utils.AnnotationUtils
Static map of associations between cassandra marshaller Class objects and their instance.
MAP_ABSTRACT_TYPE_CLASSNAME_TO_JAVA_TYPE - Static variable in class com.stratio.deep.utils.AnnotationUtils
Static map of associations between a cassandra marshaller fully qualified class name and the corresponding Java class.
MAP_JAVA_TYPE_TO_ABSTRACT_TYPE - Static variable in class com.stratio.deep.utils.AnnotationUtils
Static map of associations between Class objects and the equivalent Cassandra marshaller.
marshaller() - Method in class com.stratio.deep.entity.Cell
 
marshallerClassName() - Method in class com.stratio.deep.entity.Cell
 
marshallerInstance(T) - Static method in class com.stratio.deep.utils.Utils
Returns an instance of the Cassandra validator that matches the provided object.

N

newTypeInstance(Class<T>) - Static method in class com.stratio.deep.utils.Utils
Creates a new instance of the given class.
newTypeInstance(String, Class<T>) - Static method in class com.stratio.deep.utils.Utils
Creates a new instance of the given class name.

O

objectToKind(T) - Static method in enum com.stratio.deep.entity.CellValidator.Kind
Returns the Kind associated to the provided object instance.

P

pageSize(int) - Method in interface com.stratio.deep.config.IDeepJobConfig
Sets the number of rows to retrieve for each page of data fetched from Cassandra.
Defaults to 1000 rows.
Pair<L,R> - Class in com.stratio.deep.utils
Common utility class wrapping a pair of objects.
partitioner(String) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Let's the user specify an alternative partitioner class.
password(String) - Method in interface com.stratio.deep.config.IDeepJobConfig
Sets the password to use to login to Cassandra.
prepareTuple4CqlDriver(Tuple2<Cells, Cells>) - Static method in class com.stratio.deep.utils.Utils
Splits columns names and values as required by Datastax java driver to generate an Insert query.

Q

quote(String) - Static method in class com.stratio.deep.utils.Utils
Quoting for working with uppercase

R

readConsistencyLevel(String) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Sets read consistency level.
readPreference(String) - Method in interface com.stratio.deep.config.IMongoDeepJobConfig
Configures the 'readPreference' MongoDB's config property.
registerClasses(Kryo) - Method in class com.stratio.deep.serializer.DeepKryoRegistrator
remove(String) - Method in class com.stratio.deep.entity.Cells
Removes the cell with the given cell name.
replaceByName(Cell) - Method in class com.stratio.deep.entity.Cells
Replaces the cell having the same name that the given one with the given Cell object.
replicaSet(String) - Method in interface com.stratio.deep.config.IMongoDeepJobConfig
right - Variable in class com.stratio.deep.utils.Pair
 
rpcPort(Integer) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Sets cassandra host rpcPort.

S

session(Session) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Sets the session to use.
singleQuote(String) - Static method in class com.stratio.deep.utils.Utils
Quoting for working with uppercase
size() - Method in class com.stratio.deep.entity.Cells
Returns the number of cell(s) this object contains.

T

table(String) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Sets the underlying datastore table or collection from which data will be read from.
toString() - Method in class com.stratio.deep.entity.Cell
toString() - Method in class com.stratio.deep.entity.Cells
toString() - Method in class com.stratio.deep.entity.CellValidator

U

updateQueryGenerator(Cells, Cells, String, String) - Static method in class com.stratio.deep.utils.Utils
Generates the update query for the provided IDeepType.
username(String) - Method in interface com.stratio.deep.config.IDeepJobConfig
/** Sets the username to use to login to Cassandra.
UtilMongoDB - Class in com.stratio.deep.utils
Created by rcrespo on 12/06/14.
UtilMongoDB() - Constructor for class com.stratio.deep.utils.UtilMongoDB
 
Utils - Class in com.stratio.deep.utils
Utility class providing useful methods to manipulate the conversion between ByteBuffers maps coming from the underlying Cassandra API to instances of a concrete javabean.

V

validatorClassToKind(Class<? extends AbstractType>) - Static method in enum com.stratio.deep.entity.CellValidator.Kind
Returns the Kind associated to the provided Cassandra validator class.
validatorKind() - Method in class com.stratio.deep.entity.CellValidator
Getter for validatorKind.
valueOf(String) - Static method in enum com.stratio.deep.entity.CellValidator.Kind
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.stratio.deep.entity.CellValidator.Kind
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeConsistencyLevel(String) - Method in interface com.stratio.deep.config.ICassandraDeepJobConfig
Sets write consistency level.
A B C D E F G H I K L M N O P Q R S T U V W 

Copyright © 2014. All rights reserved.