Skip navigation links
A C D F G I M O P Q R S T U 

A

Accessor - Annotation Type in com.datastax.driver.mapping.annotations
An accessor is an interface that defines a set of method to read and write from Cassandra.
all() - Method in class com.datastax.driver.mapping.Result
Returns all the remaining results (entities) in this mapped result set as a list.

C

ClusteringColumn - Annotation Type in com.datastax.driver.mapping.annotations
Annotation for fields that map to a CQL clustering column.
Column - Annotation Type in com.datastax.driver.mapping.annotations
Annotation that allows to specify the name of the CQL column to which the field should be mapped.
com.datastax.driver.mapping - package com.datastax.driver.mapping
 
com.datastax.driver.mapping.annotations - package com.datastax.driver.mapping.annotations
 
Computed - Annotation Type in com.datastax.driver.mapping.annotations
Annotates a "computed" field, which gets filled from a CQL expression in the SELECT query used to retrieve an entity.
consistencyLevel(ConsistencyLevel) - Static method in class com.datastax.driver.mapping.Mapper.Option
Creates a new Option object to add a consistency level value to a mapper operation.
createAccessor(Class<T>) - Method in class com.datastax.driver.mapping.MappingManager
Creates an accessor object based on the provided interface (that must be annotated by a Accessor annotation).

D

Defaults - Class in com.datastax.driver.mapping.annotations
Holds common defaults for the mapping annotations.
Defaults() - Constructor for class com.datastax.driver.mapping.annotations.Defaults
 
Defaults.NoCodec - Class in com.datastax.driver.mapping.annotations
A fake codec implementation to use as the default in mapping annotations.
delete(T) - Method in class com.datastax.driver.mapping.Mapper
Deletes an entity mapped by this mapper.
delete(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Deletes an entity mapped by this mapper using provided options.
delete(Object...) - Method in class com.datastax.driver.mapping.Mapper
Deletes an entity based on its primary key.
deleteAsync(T) - Method in class com.datastax.driver.mapping.Mapper
Deletes an entity mapped by this mapper asynchronously.
deleteAsync(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Deletes an entity mapped by this mapper asynchronously using provided options.
deleteAsync(Object...) - Method in class com.datastax.driver.mapping.Mapper
Deletes an entity based on its primary key asynchronously.
deleteQuery(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Creates a query that can be used to delete the provided entity.
deleteQuery(T) - Method in class com.datastax.driver.mapping.Mapper
Creates a query that can be used to delete the provided entity.
deleteQuery(Object...) - Method in class com.datastax.driver.mapping.Mapper
Creates a query that can be used to delete an entity given its PRIMARY KEY.

F

Field - Annotation Type in com.datastax.driver.mapping.annotations
Annotation that allows to specify the name of the CQL UDT field to which the Java field should be mapped.
Frozen - Annotation Type in com.datastax.driver.mapping.annotations
Specifies that the field decorated with this annotation maps to a CQL type that is frozen, or contains frozen subtypes.
FrozenKey - Annotation Type in com.datastax.driver.mapping.annotations
Shorthand to specify that the key type of a MAP field is frozen.
FrozenValue - Annotation Type in com.datastax.driver.mapping.annotations
Shorthand to specify that the value type of a collection field is frozen.

G

get(Object...) - Method in class com.datastax.driver.mapping.Mapper
Fetch an entity based on its primary key.
getAsync(Object...) - Method in class com.datastax.driver.mapping.Mapper
Fetch an entity based on its primary key asynchronously.
getExecutionInfo() - Method in class com.datastax.driver.mapping.Result
Returns information on the execution of this query.
getManager() - Method in class com.datastax.driver.mapping.Mapper
The MappingManager managing this mapper.
getQuery(Object...) - Method in class com.datastax.driver.mapping.Mapper
Creates a query to fetch entity given its PRIMARY KEY.
getSession() - Method in class com.datastax.driver.mapping.MappingManager
The underlying Session used by this manager.
getTableMetadata() - Method in class com.datastax.driver.mapping.Mapper
The TableMetadata for this mapper.
getType() - Method in class com.datastax.driver.mapping.Mapper.Option
 

I

isExhausted() - Method in class com.datastax.driver.mapping.Result
Test whether this mapped result set has more results.
iterator() - Method in class com.datastax.driver.mapping.Result
An iterator over the entities of this mapped result set.

M

map(ResultSet) - Method in class com.datastax.driver.mapping.Mapper
Creates a query to fetch entity given its PRIMARY KEY.
mapAliased(ResultSet) - Method in class com.datastax.driver.mapping.Mapper
Deprecated.
you no longer need to specify whether a result set is aliased, it will be detected automatically. Use Mapper.map(ResultSet) instead of this method.
Mapper<T> - Class in com.datastax.driver.mapping
An object handling the mapping of a particular class.
mapper(Class<T>) - Method in class com.datastax.driver.mapping.MappingManager
Creates a Mapper for the provided class (that must be annotated by a Table annotation).
Mapper.Option - Class in com.datastax.driver.mapping
An option for a mapper operation.
MappingManager - Class in com.datastax.driver.mapping
Mapping manager from which to obtain entity mappers.
MappingManager(Session) - Constructor for class com.datastax.driver.mapping.MappingManager
Creates a new MappingManager using the provided Session.
MappingManager(Session, ProtocolVersion) - Constructor for class com.datastax.driver.mapping.MappingManager
Creates a new MappingManager using the provided Session.

O

one() - Method in class com.datastax.driver.mapping.Result
Returns the next result (i.e.
Option(Mapper.Option.Type) - Constructor for class com.datastax.driver.mapping.Mapper.Option
 

P

Param - Annotation Type in com.datastax.driver.mapping.annotations
Provides a name for a parameter of a method in an Accessor interface that can be used to reference to that parameter in method Query.
PartitionKey - Annotation Type in com.datastax.driver.mapping.annotations
Annotation for fields that map to a CQL partition key (or one of it's component if the partition key is composite).

Q

Query - Annotation Type in com.datastax.driver.mapping.annotations
Defines the CQL query that an Accessor method must implement.
QueryParameters - Annotation Type in com.datastax.driver.mapping.annotations
Query parameters to use in the (generated) implementation of a method of an Accessor interface.

R

resetDefaultDeleteOptions() - Method in class com.datastax.driver.mapping.Mapper
Reset the default delete options for this object mapper.
resetDefaultGetOptions() - Method in class com.datastax.driver.mapping.Mapper
Reset the default save options for this object mapper.
resetDefaultSaveOptions() - Method in class com.datastax.driver.mapping.Mapper
Reset the default save options for this object mapper.
Result<T> - Class in com.datastax.driver.mapping
A ResultSet mapped to an entity class.

S

save(T) - Method in class com.datastax.driver.mapping.Mapper
Saves an entity mapped by this mapper.
save(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Saves an entity mapped by this mapper and using special options for save.
saveAsync(T) - Method in class com.datastax.driver.mapping.Mapper
Saves an entity mapped by this mapper asynchronously.
saveAsync(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Save an entity mapped by this mapper asynchronously using special options for save.
saveNullFields(boolean) - Static method in class com.datastax.driver.mapping.Mapper.Option
Creates a new Option object to specify whether null entity fields should be included in insert queries.
saveQuery(T) - Method in class com.datastax.driver.mapping.Mapper
Creates a query that can be used to save the provided entity.
saveQuery(T, Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Creates a query that can be used to save the provided entity.
setDefaultDeleteOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Set the default delete Mapper.Option for this object mapper, that will be used in all delete operations unless overridden.
setDefaultGetOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Set the default get Mapper.Option for this object mapper, that will be used in all get operations unless overridden.
setDefaultSaveOptions(Mapper.Option...) - Method in class com.datastax.driver.mapping.Mapper
Set the default save Mapper.Option for this object mapper, that will be used in all save operations unless overridden.

T

Table - Annotation Type in com.datastax.driver.mapping.annotations
Defines to which table a class must be mapped to.
timestamp(long) - Static method in class com.datastax.driver.mapping.Mapper.Option
Creates a new Option object to add a timestamp to a mapper operation.
tracing(boolean) - Static method in class com.datastax.driver.mapping.Mapper.Option
Creates a new Option object to enable query tracing for a mapper operation.
Transient - Annotation Type in com.datastax.driver.mapping.annotations
Whenever this annotation is added on a field, the field will not be mapped to any column (neither during reads nor writes).
ttl(int) - Static method in class com.datastax.driver.mapping.Mapper.Option
Creates a new Option object to add time-to-live to a mapper operation.

U

UDT - Annotation Type in com.datastax.driver.mapping.annotations
Defines to which User Defined Type a class must be mapped to.
udtCodec(Class<T>) - Method in class com.datastax.driver.mapping.MappingManager
Creates a TypeCodec for the provided class (that must be annotated by a UDT annotation).
A C D F G I M O P Q R S T U 
Skip navigation links