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

A

apply(Cells) - Method in class com.stratio.deep.functions.CellList2TupleFunction
apply(T) - Method in class com.stratio.deep.functions.DeepType2TupleFunction

B

batchSize(int) - Method in class com.stratio.deep.config.GenericDeepJobConfig
bisectFactor(int) - Method in class com.stratio.deep.config.GenericDeepJobConfig
 

C

CassandraCellRDD - Class in com.stratio.deep.rdd
Concrete implementation of a CassandraRDD representing an RDD of Cells element.
CassandraCellRDD(SparkContext, IDeepJobConfig<Cells>) - Constructor for class com.stratio.deep.rdd.CassandraCellRDD
This constructor should not be called explicitly.
Use DeepSparkContext instead to create an RDD.
cassandraEntityRDD(IDeepJobConfig<T>) - Method in class com.stratio.deep.context.DeepSparkContext
Builds a new testentity based CassandraEntityRDD.
CassandraEntityRDD<T extends IDeepType> - Class in com.stratio.deep.rdd
Stratio's implementation of an RDD reading and writing data from and to Apache Cassandra.
CassandraEntityRDD(SparkContext, IDeepJobConfig<T>) - Constructor for class com.stratio.deep.rdd.CassandraEntityRDD
This constructor should not be called explicitly.
Use DeepSparkContext instead to create an RDD.
cassandraGenericRDD(IDeepJobConfig<Cells>) - Method in class com.stratio.deep.context.DeepSparkContext
Builds a new generic (cell based) CassandraGenericRDD.
cassandraJavaRDD(IDeepJobConfig<T>) - Method in class com.stratio.deep.context.DeepSparkContext
Builds a new CassandraJavaRDD.
CassandraJavaRDD<W> - Class in com.stratio.deep.rdd
Commodity RDD implementation that should be used as a Java Wrapper for CassandraEntityRDD.
CassandraJavaRDD(CassandraRDD<W>) - Constructor for class com.stratio.deep.rdd.CassandraJavaRDD
Default constructor.
CassandraRDD<T> - Class in com.stratio.deep.rdd
Base class that abstracts the complexity of interacting with the Cassandra Datastore.
Implementors should only provide a way to convert an object of type T to a Cells element.
CassandraRDD(SparkContext, IDeepJobConfig<T>) - Constructor for class com.stratio.deep.rdd.CassandraRDD
Public constructor that builds a new Cassandra RDD given the context and the configuration file.
CellDeepJobConfig - Class in com.stratio.deep.config
Cell-based configuration object.
CellList2TupleFunction - Class in com.stratio.deep.functions
Function that converts a Cells element to tuple of two Cells.
The first Cells element contains the list of Cell elements that represent the key (partition + cluster key).
CellList2TupleFunction() - Constructor for class com.stratio.deep.functions.CellList2TupleFunction
 
checkInitialized() - Method in class com.stratio.deep.config.GenericDeepJobConfig
Checks if this configuration object has been initialized or not.
classTag() - Method in class com.stratio.deep.rdd.CassandraJavaRDD
close() - Method in class com.stratio.deep.config.GenericDeepJobConfig
close() - Method in class com.stratio.deep.cql.DeepCqlRecordWriter
close() - Method in class com.stratio.deep.cql.DeepRecordReader
Closes this input reader object.
columnDefinitions() - Method in class com.stratio.deep.config.GenericDeepJobConfig
columnFamily(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
com.stratio.deep.config - package com.stratio.deep.config
 
com.stratio.deep.context - package com.stratio.deep.context
 
com.stratio.deep.cql - package com.stratio.deep.cql
 
com.stratio.deep.functions - package com.stratio.deep.functions
 
com.stratio.deep.partition.impl - package com.stratio.deep.partition.impl
 
com.stratio.deep.rdd - package com.stratio.deep.rdd
 
compare(String, String) - Method in class com.stratio.deep.partition.impl.DeepPartitionLocationComparator
compareTo(DeepTokenRange) - Method in class com.stratio.deep.cql.DeepTokenRange
compute(Partition, TaskContext) - Method in class com.stratio.deep.rdd.CassandraRDD
Computes the current RDD over the given data partition.
config - Variable in class com.stratio.deep.rdd.CassandraRDD
 
cql3SaveRDDToCassandra(RDD<W>, IDeepJobConfig<W>) - Static method in class com.stratio.deep.rdd.CassandraRDD
Persists the given RDD to the underlying Cassandra datastore using the java cql3 driver.
Beware: this method does not perform a distributed write as CassandraRDD.saveRDDToCassandra(org.apache.spark.rdd.RDD<W>, com.stratio.deep.config.IDeepJobConfig<W>) does, uses the Datastax Java Driver to perform a batch write to the Cassandra server.
This currently scans the partitions one by one, so it will be slow if a lot of partitions are required.
cqlPort(Integer) - Method in class com.stratio.deep.config.GenericDeepJobConfig
create() - Static method in class com.stratio.deep.config.DeepJobConfigFactory
Creates a new cell-based job configuration object.
create(Class<T>) - Static method in class com.stratio.deep.config.DeepJobConfigFactory
Creates an entity-based configuration object.
createKey() - Method in class com.stratio.deep.cql.DeepRecordReader
Creates a new key map.
createOutputTableIfNeeded(RDD<Tuple2<Cells, Cells>>) - Method in class com.stratio.deep.config.GenericDeepJobConfig
Creates the output column family if not exists.
createTableOnWrite(Boolean) - Method in class com.stratio.deep.config.GenericDeepJobConfig
createValue() - Method in class com.stratio.deep.cql.DeepRecordReader
Creates a new value map.
createWriteConfig() - Static method in class com.stratio.deep.config.DeepJobConfigFactory
Creates a new cell-based write suitable job configuration object.
createWriteConfig(Class<T>) - Static method in class com.stratio.deep.config.DeepJobConfigFactory
Creates an entity-based write configuration object.

D

DeepCqlRecordWriter - Class in com.stratio.deep.cql
Handles the distributed write to cassandra in batch.
DeepCqlRecordWriter(TaskContext, IDeepJobConfig) - Constructor for class com.stratio.deep.cql.DeepCqlRecordWriter
Con
DeepJobConfigFactory - Class in com.stratio.deep.config
Factory class for deep configuration objects.
DeepPartition - Class in com.stratio.deep.partition.impl
Object that carries spark's partition information.
DeepPartition(int, int, DeepTokenRange) - Constructor for class com.stratio.deep.partition.impl.DeepPartition
Public constructor.
DeepPartitionLocationComparator - Class in com.stratio.deep.partition.impl
Given a list of names of machines, this comparator tries as much as he can to put the hostname of the local machine on the first position of the list.
DeepPartitionLocationComparator() - Constructor for class com.stratio.deep.partition.impl.DeepPartitionLocationComparator
Default constructor.
DeepPartitionLocationComparator(String) - Constructor for class com.stratio.deep.partition.impl.DeepPartitionLocationComparator
Constucts a comparator using as the name of the local machine the hostname provided.
DeepRecordReader - Class in com.stratio.deep.cql
Implements a cassandra record reader with pagination capabilities.
DeepRecordReader(IDeepJobConfig, DeepTokenRange) - Constructor for class com.stratio.deep.cql.DeepRecordReader
public constructor.
DeepSparkContext - Class in com.stratio.deep.context
Entry point to the Cassandra-aware Spark context.
DeepSparkContext(SparkContext) - Constructor for class com.stratio.deep.context.DeepSparkContext
Overridden superclass constructor.
DeepSparkContext(String, String) - Constructor for class com.stratio.deep.context.DeepSparkContext
Overridden superclass constructor.
DeepSparkContext(String, String, String, String) - Constructor for class com.stratio.deep.context.DeepSparkContext
Overridden superclass constructor.
DeepSparkContext(String, String, String, String[]) - Constructor for class com.stratio.deep.context.DeepSparkContext
Overridden superclass constructor.
DeepSparkContext(String, String, String, String[], Map<String, String>) - Constructor for class com.stratio.deep.context.DeepSparkContext
Overridden superclass constructor.
DeepTokenRange - Class in com.stratio.deep.cql
Wrapper class holding information of a computed token range.
DeepTokenRange(Comparable, Comparable) - Constructor for class com.stratio.deep.cql.DeepTokenRange
Construct a new token range with no replica information.
DeepTokenRange(Comparable, Comparable, List<String>) - Constructor for class com.stratio.deep.cql.DeepTokenRange
Construct a new token range with replica information.
DeepType2TupleFunction<T extends IDeepType> - Class in com.stratio.deep.functions
Function 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).
DeepType2TupleFunction() - Constructor for class com.stratio.deep.functions.DeepType2TupleFunction
 
distance(Host) - Method in class com.stratio.deep.cql.LocalMachineLoadBalancingPolicy
Return the HostDistance for the provided host.

E

EntityDeepJobConfig<T extends IDeepType> - Class in com.stratio.deep.config
Class containing the appropiate configuration for a CassandraEntityRDD.
EntityDeepJobConfig(Class<T>, Boolean) - Constructor for class com.stratio.deep.config.EntityDeepJobConfig
Public constructor.
equals(Object) - Method in class com.stratio.deep.cql.DeepTokenRange
equals(Object) - Method in class com.stratio.deep.partition.impl.DeepPartition

F

fetchTableMetadata() - Method in class com.stratio.deep.config.GenericDeepJobConfig
Fetches table metadata from the underlying datastore, using DataStax java driver.
filterByField(String, Serializable) - Method in class com.stratio.deep.config.GenericDeepJobConfig

G

GenericDeepJobConfig<T> - Class in com.stratio.deep.config
Base class for all config implementations providing default implementations for methods defined in IDeepJobConfig.
GenericDeepJobConfig() - Constructor for class com.stratio.deep.config.GenericDeepJobConfig
 
getAdditionalFilters() - Method in class com.stratio.deep.config.GenericDeepJobConfig
getBatchSize() - Method in class com.stratio.deep.config.GenericDeepJobConfig
getBisectFactor() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getColumnFamily() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getComputeCallback(DeepRecordReader, DeepPartition) - Method in class com.stratio.deep.rdd.CassandraRDD
Gets an instance of the callback that will be used on the completion of the computation of this RDD.
getCqlPort() - Method in class com.stratio.deep.config.GenericDeepJobConfig
getEndToken() - Method in class com.stratio.deep.cql.DeepTokenRange
 
getEntityClass() - Method in class com.stratio.deep.config.CellDeepJobConfig
 
getEntityClass() - Method in class com.stratio.deep.config.EntityDeepJobConfig
 
getHost() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getHostname() - Method in class com.stratio.deep.partition.impl.DeepPartitionLocationComparator
 
getInputColumns() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getIsWriteConfig() - Method in class com.stratio.deep.config.GenericDeepJobConfig
getKeyspace() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getPageSize() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getPartitioner(IDeepJobConfig) - Static method in class com.stratio.deep.cql.RangeUtils
Creates a new instance of the cassandra partitioner configured in the configuration object.
getPartitionerClassName() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getPartitions() - Method in class com.stratio.deep.rdd.CassandraRDD
Returns the partitions on which this RDD depends on.
getPassword() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getPreferredLocations(Partition) - Method in class com.stratio.deep.rdd.CassandraRDD
Returns a list of hosts on which the given split resides.
getReadConsistencyLevel() - Method in class com.stratio.deep.config.GenericDeepJobConfig
getReplicas() - Method in class com.stratio.deep.cql.DeepTokenRange
 
getRpcPort() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getSession() - Method in class com.stratio.deep.config.GenericDeepJobConfig
getSplits(IDeepJobConfig) - Static method in class com.stratio.deep.cql.RangeUtils
Returns the token ranges that will be mapped to Spark partitions.
getStartToken() - Method in class com.stratio.deep.cql.DeepTokenRange
 
getTable() - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
getUsername() - Method in class com.stratio.deep.config.GenericDeepJobConfig
getWriteConsistencyLevel() - Method in class com.stratio.deep.config.GenericDeepJobConfig

H

hashCode() - Method in class com.stratio.deep.cql.DeepTokenRange
hashCode() - Method in class com.stratio.deep.partition.impl.DeepPartition
hasNext() - Method in class com.stratio.deep.cql.DeepRecordReader
Returns a boolean indicating if the underlying rowIterator has a new element or not.
host(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig

I

index() - Method in class com.stratio.deep.partition.impl.DeepPartition
Returns the index of the current partition.
init(Cluster, Collection<Host>) - Method in class com.stratio.deep.cql.LocalMachineLoadBalancingPolicy
 
initialize() - Method in class com.stratio.deep.config.EntityDeepJobConfig
initialize() - Method in class com.stratio.deep.config.GenericDeepJobConfig
inputColumns(String...) - Method in class com.stratio.deep.config.GenericDeepJobConfig
isCreateTableOnWrite() - Method in class com.stratio.deep.config.GenericDeepJobConfig
isWriteConfig - Variable in class com.stratio.deep.config.GenericDeepJobConfig
 

K

keyspace(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig

L

LocalMachineLoadBalancingPolicy - Class in com.stratio.deep.cql
Load balancing policy that, unlike round robin, sticks to one host.
LocalMachineLoadBalancingPolicy(InetAddress) - Constructor for class com.stratio.deep.cql.LocalMachineLoadBalancingPolicy
 

N

newQueryPlan(String, Statement) - Method in class com.stratio.deep.cql.LocalMachineLoadBalancingPolicy
Returns the hosts to use for a new query.
next() - Method in class com.stratio.deep.cql.DeepRecordReader
Returns the next element in the underlying rowIterator.

O

onAdd(Host) - Method in class com.stratio.deep.cql.LocalMachineLoadBalancingPolicy
 
onDown(Host) - Method in class com.stratio.deep.cql.LocalMachineLoadBalancingPolicy
 
onRemove(Host) - Method in class com.stratio.deep.cql.LocalMachineLoadBalancingPolicy
 
onUp(Host) - Method in class com.stratio.deep.cql.LocalMachineLoadBalancingPolicy
 

P

pageSize(int) - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
partitioner(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig
password(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig

R

RangeUtils - Class in com.stratio.deep.cql
CqlPagingRecordReader implementation that returns an instance of a DeepRecordReader.
readConsistencyLevel(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig
retrievePartitionKeyValidator() - Method in class com.stratio.deep.cql.DeepCqlRecordWriter
retrieve the key validator from system.schema_columnfamilies table
rpcPort(Integer) - Method in class com.stratio.deep.config.GenericDeepJobConfig

S

saveRDDToCassandra(RDD<W>, IDeepJobConfig<W>) - Static method in class com.stratio.deep.rdd.CassandraRDD
Persists the given RDD of Cells to the underlying Cassandra datastore, using configuration options provided by writeConfig.
saveRDDToCassandra(JavaRDD<W>, IDeepJobConfig<W>) - Static method in class com.stratio.deep.rdd.CassandraRDD
Persists the given JavaRDD to the underlying Cassandra datastore.
session(Session) - Method in class com.stratio.deep.config.GenericDeepJobConfig
setEndToken(Comparable) - Method in class com.stratio.deep.cql.DeepTokenRange
 
setInstancePropertyFromDbName(T, String, Object) - Method in class com.stratio.deep.config.EntityDeepJobConfig
Given an instance of the generic object mapped to this configurtion object, sets the instance property whose name is the name specified by dbName.
setStartToken(Comparable) - Method in class com.stratio.deep.cql.DeepTokenRange
 
splitWrapper() - Method in class com.stratio.deep.partition.impl.DeepPartition
Returns the Cassandra split

T

table(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig
 
toString() - Method in class com.stratio.deep.cql.DeepTokenRange
toString() - Method in class com.stratio.deep.partition.impl.DeepPartition
transformElement(Pair<Map<String, ByteBuffer>, Map<String, ByteBuffer>>) - Method in class com.stratio.deep.rdd.CassandraCellRDD
Transform a row coming from the Cassandra's API to an element of type .
transformElement(Pair<Map<String, ByteBuffer>, Map<String, ByteBuffer>>) - Method in class com.stratio.deep.rdd.CassandraEntityRDD
Transform a row coming from the Cassandra's API to an element of type .
transformElement(Pair<Map<String, ByteBuffer>, Map<String, ByteBuffer>>) - Method in class com.stratio.deep.rdd.CassandraRDD
Transform a row coming from the Cassandra's API to an element of type .

U

username(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig

V

validate() - Method in class com.stratio.deep.config.EntityDeepJobConfig
 

W

write(Cells, Cells) - Method in class com.stratio.deep.cql.DeepCqlRecordWriter
Adds the provided row to a batch.
writeConsistencyLevel(String) - Method in class com.stratio.deep.config.GenericDeepJobConfig
A B C D E F G H I K L N O P R S T U V W 

Copyright © 2014. All rights reserved.