Skip navigation links
A B C D F G H I J L M N O P Q R S T U V W 

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.
addTransientPropertyNames(String...) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Adds new values to the existing set of transient property names.
addTransientPropertyNames(Collection<String>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Adds new values to the existing set of transient property names.
all() - Method in class com.datastax.driver.mapping.Result
 

B

build() - Method in class com.datastax.driver.mapping.MappingConfiguration.Builder
Builds a new instance of MappingConfiguration with this builder's settings.
builder() - Static method in class com.datastax.driver.mapping.MappingConfiguration
Returns a new MappingConfiguration.Builder instance.
Builder() - Constructor for class com.datastax.driver.mapping.MappingConfiguration.Builder
 

C

CamelCase(String...) - Constructor for class com.datastax.driver.mapping.NamingConventions.CamelCase
 
CharDelimitedNamingConvention(String, boolean) - Constructor for class com.datastax.driver.mapping.NamingConventions.CharDelimitedNamingConvention
 
ClusteringColumn - Annotation Type in com.datastax.driver.mapping.annotations
Annotation for properties 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 property 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" property, 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).
createMappedProperty(Class<?>, String, String, Field, Method, Method, Map<Class<? extends Annotation>, Annotation>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Creates a MappedProperty instance.

D

DefaultHierarchyScanStrategy - Class in com.datastax.driver.mapping
DefaultHierarchyScanStrategy() - Constructor for class com.datastax.driver.mapping.DefaultHierarchyScanStrategy
Creates a new instance with defaults: the common ancestor is Object excluded, which implies that every ancestor of a mapped class, except Object itself, will be scanned for annotations.
DefaultHierarchyScanStrategy(Class<?>, boolean) - Constructor for class com.datastax.driver.mapping.DefaultHierarchyScanStrategy
Creates a new instance with the given highest common ancestor.
DefaultNamingStrategy - Class in com.datastax.driver.mapping
A naming strategy that builds upon two naming conventions for the Java and Cassandra side.
DefaultNamingStrategy() - Constructor for class com.datastax.driver.mapping.DefaultNamingStrategy
Builds a new instance with the default conventions, namely lower camel case for the Java convention, and lower case for the Cassandra convention.
DefaultNamingStrategy(NamingConvention, NamingConvention) - Constructor for class com.datastax.driver.mapping.DefaultNamingStrategy
Builds a new instance.
DefaultPropertyMapper - Class in com.datastax.driver.mapping
The default PropertyMapper used by the mapper.
DefaultPropertyMapper() - Constructor for class com.datastax.driver.mapping.DefaultPropertyMapper
 
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

fetchMoreResults() - Method in class com.datastax.driver.mapping.Result
 
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 or bean property should be mapped.
filterClassHierarchy(Class<?>) - Method in class com.datastax.driver.mapping.DefaultHierarchyScanStrategy
 
filterClassHierarchy(Class<?>) - Method in interface com.datastax.driver.mapping.HierarchyScanStrategy
Computes the ancestors of the given base class, optionally filtering out any ancestor that should not be scanned.
filterClassHierarchy(Class<?>) - Method in class com.datastax.driver.mapping.MappedClassesOnlyHierarchyScanStrategy
 
Frozen - Annotation Type in com.datastax.driver.mapping.annotations
Specifies that the property 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 property is frozen.
FrozenValue - Annotation Type in com.datastax.driver.mapping.annotations
Shorthand to specify that the value type of a collection property is frozen.

G

get(Object...) - Method in class com.datastax.driver.mapping.Mapper
Fetch an entity based on its primary key.
getAllExecutionInfo() - Method in class com.datastax.driver.mapping.Result
 
getAsync(Object...) - Method in class com.datastax.driver.mapping.Mapper
Fetch an entity based on its primary key asynchronously.
getAvailableWithoutFetching() - Method in class com.datastax.driver.mapping.Result
 
getConfiguration() - Method in class com.datastax.driver.mapping.MappingManager
Returns the configuration used by this manager.
getCustomCodec() - Method in interface com.datastax.driver.mapping.MappedProperty
Returns the codec to use to serialize and deserialize this property.
getExecutionInfo() - Method in class com.datastax.driver.mapping.Result
 
getManager() - Method in class com.datastax.driver.mapping.Mapper
The MappingManager managing this mapper.
getMappedName() - Method in interface com.datastax.driver.mapping.MappedProperty
Returns the name of the table column or UDT field that this property maps to.
getPosition() - Method in interface com.datastax.driver.mapping.MappedProperty
Returns this property's zero-based position among partition key columns or clustering columns.
getPropertyMapper() - Method in class com.datastax.driver.mapping.MappingConfiguration
Returns the PropertyMapper.
getPropertyName() - Method in interface com.datastax.driver.mapping.MappedProperty
Returns this property's name.
getPropertyType() - Method in interface com.datastax.driver.mapping.MappedProperty
Returns this property's type.
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
Deprecated.
This method is public for backward compatibility only. It should not be accessible since it leaks a package-private type.
getValue(Object) - Method in interface com.datastax.driver.mapping.MappedProperty
Reads the current value of this property in the given entity.
getValue() - Method in class com.datastax.driver.mapping.Word
 

H

HierarchyScanStrategy - Interface in com.datastax.driver.mapping
A strategy to determine which ancestors of mapped classes should be scanned for mapped properties.

I

ifNotExists(boolean) - Static method in class com.datastax.driver.mapping.Mapper.Option
Creates a new Option object to specify whether an IF NOT EXISTS clause should be included in insert queries.
inferMappedName(Class<?>, String, Map<Class<? extends Annotation>, Annotation>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Infers the Cassandra object name corresponding to given the property name.
isAbbreviation() - Method in class com.datastax.driver.mapping.Word
 
isClusteringColumn() - Method in interface com.datastax.driver.mapping.MappedProperty
Returns true if this property is a clustering column, false otherwise.
isComputed() - Method in interface com.datastax.driver.mapping.MappedProperty
Returns true if this property is computed, i.e.
isExhausted() - Method in class com.datastax.driver.mapping.Result
 
isFieldScanAllowed() - Method in enum com.datastax.driver.mapping.PropertyAccessStrategy
Returns true if field scan is allowed, false otherwise.
isFullyFetched() - Method in class com.datastax.driver.mapping.Result
 
isGetterSetterScanAllowed() - Method in enum com.datastax.driver.mapping.PropertyAccessStrategy
Returns true if getter and setter scan is allowed, false otherwise.
isPartitionKey() - Method in interface com.datastax.driver.mapping.MappedProperty
Returns true if this property is part of the table's partition key, false otherwise.
isTransient(String, Field, Method, Method, Map<Class<? extends Annotation>, Annotation>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Returns true if the given property is transient, false otherwise.
iterator() - Method in class com.datastax.driver.mapping.Result
 

J

join(List<Word>) - Method in interface com.datastax.driver.mapping.NamingConvention
Receive an ordered list of Word objects and returns a result property name.
join(List<Word>) - Method in class com.datastax.driver.mapping.NamingConventions.CharDelimitedNamingConvention
 
join(List<Word>) - Method in class com.datastax.driver.mapping.NamingConventions.LowerCamelCase
 
join(List<Word>) - Method in class com.datastax.driver.mapping.NamingConventions.SingleWordNamingConvention
 
join(List<Word>) - Method in class com.datastax.driver.mapping.NamingConventions.UpperCamelCase
 

L

locateGetter(Class<?>, PropertyDescriptor) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Locates a getter method for the given mapped class and given property.
locateSetter(Class<?>, PropertyDescriptor) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Locates a setter method for the given mapped class and given property.
LOWER_CAMEL_CASE - Static variable in class com.datastax.driver.mapping.NamingConventions
Represents the default Camel case naming convention, with a lower cased first letter.
LOWER_CASE - Static variable in class com.datastax.driver.mapping.NamingConventions
Represents a naming convention where all letters are lower cased, and words are not separated by any special character.
LOWER_LISP_CASE - Static variable in class com.datastax.driver.mapping.NamingConventions
Represents Lisp case naming convention, meaning all letters are lower cased, and words are separated by a dash sign ("-").
LOWER_SNAKE_CASE - Static variable in class com.datastax.driver.mapping.NamingConventions
Represents snake case naming convention, meaning all letters are lower cased, and words are separated by an underscore ("_").
LowerCamelCase(boolean, String...) - Constructor for class com.datastax.driver.mapping.NamingConventions.LowerCamelCase
 
LowerCamelCase(String...) - Constructor for class com.datastax.driver.mapping.NamingConventions.LowerCamelCase
 
LowerCamelCase(boolean) - Constructor for class com.datastax.driver.mapping.NamingConventions.LowerCamelCase
 

M

map(ResultSet) - Method in class com.datastax.driver.mapping.Mapper
Maps the rows from a ResultSet into the class this is a mapper of.
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.
mapAsync(ResultSetFuture) - Method in class com.datastax.driver.mapping.Mapper
Asynchronously maps the rows from a ResultSetFuture into the class this is a mapper of.
MappedClassesOnlyHierarchyScanStrategy - Class in com.datastax.driver.mapping
A HierarchyScanStrategy that excludes all ancestors of mapped classes, thus restricting class scan to the mapped classes themselves.
MappedClassesOnlyHierarchyScanStrategy() - Constructor for class com.datastax.driver.mapping.MappedClassesOnlyHierarchyScanStrategy
 
MappedProperty<T> - Interface in com.datastax.driver.mapping
A Java property that is mapped to either a table column, a user-defined type (UDT) field, or a CQL expression such as "ttl(col1)".
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.
MappingConfiguration - Class in com.datastax.driver.mapping
The configuration to use for the mappers.
MappingConfiguration.Builder - Class in com.datastax.driver.mapping
Builder for MappingConfiguration instances.
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 with default MapperConfiguration.
MappingManager(Session, ProtocolVersion) - Constructor for class com.datastax.driver.mapping.MappingManager
Creates a new MappingManager using the provided Session with default MapperConfiguration.
MappingManager(Session, MappingConfiguration) - Constructor for class com.datastax.driver.mapping.MappingManager
Creates a new MappingManager using the provided Session with custom configuration to be inherited to each instantiated mapper.
MappingManager(Session, MappingConfiguration, ProtocolVersion) - Constructor for class com.datastax.driver.mapping.MappingManager
Creates a new MappingManager using the provided Session with default MapperConfiguration.
mapTable(Class<?>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
 
mapTable(Class<?>) - Method in interface com.datastax.driver.mapping.PropertyMapper
Maps the given table class.
mapUdt(Class<?>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
 
mapUdt(Class<?>) - Method in interface com.datastax.driver.mapping.PropertyMapper
Maps the given UDT class.

N

NamingConvention - Interface in com.datastax.driver.mapping
Represent a naming convention (e.g.
NamingConventions - Class in com.datastax.driver.mapping
Implementations of industry common naming conventions.
NamingConventions() - Constructor for class com.datastax.driver.mapping.NamingConventions
 
NamingConventions.CamelCase - Class in com.datastax.driver.mapping
 
NamingConventions.CharDelimitedNamingConvention - Class in com.datastax.driver.mapping
 
NamingConventions.LowerCamelCase - Class in com.datastax.driver.mapping
Represents Camel case naming convention with a lower cased first letter.
NamingConventions.SingleWordNamingConvention - Class in com.datastax.driver.mapping
 
NamingConventions.UpperCamelCase - Class in com.datastax.driver.mapping
Represents Camel case naming convention with an upper cased first letter.
NamingStrategy - Interface in com.datastax.driver.mapping
Determines how Java property names are translated to Cassandra column/field names for a mapped class.

O

one() - Method in class com.datastax.driver.mapping.Result
 
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 properties that map to a CQL partition key (or one of it's component if the partition key is composite).
PropertyAccessStrategy - Enum in com.datastax.driver.mapping
A strategy to determine how mapped properties are discovered, and how to access them.
PropertyMapper - Interface in com.datastax.driver.mapping
A pluggable component that maps Java properties to a Cassandra objects.
PropertyTransienceStrategy - Enum in com.datastax.driver.mapping
A strategy to determine which properties are transient, and which aren't.

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 result set whose rows are 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.
setHierarchyScanStrategy(HierarchyScanStrategy) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Sets the hierarchy scan strategy to use.
setNamingStrategy(NamingStrategy) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Sets the naming strategy to use.
setPropertyAccessStrategy(PropertyAccessStrategy) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Sets the property access strategy to use.
setPropertyTransienceStrategy(PropertyTransienceStrategy) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
setTransientPropertyNames(Set<String>) - Method in class com.datastax.driver.mapping.DefaultPropertyMapper
Sets transient property names.
setValue(Object, T) - Method in interface com.datastax.driver.mapping.MappedProperty
Writes the given value to this property in the given entity.
SingleWordNamingConvention(boolean) - Constructor for class com.datastax.driver.mapping.NamingConventions.SingleWordNamingConvention
 
split(String) - Method in interface com.datastax.driver.mapping.NamingConvention
Receive a property name value and returns an ordered list of Word objects.
split(String) - Method in class com.datastax.driver.mapping.NamingConventions.CamelCase
 
split(String) - Method in class com.datastax.driver.mapping.NamingConventions.CharDelimitedNamingConvention
 
split(String) - Method in class com.datastax.driver.mapping.NamingConventions.SingleWordNamingConvention
 

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.
toCassandraName(String) - Method in class com.datastax.driver.mapping.DefaultNamingStrategy
 
toCassandraName(String) - Method in interface com.datastax.driver.mapping.NamingStrategy
Infers a Cassandra column/field name from a Java property name.
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 property, the property 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).
UPPER_CAMEL_CASE - Static variable in class com.datastax.driver.mapping.NamingConventions
Represents the default Camel case naming convention, with an upper cased first letter.
UPPER_CASE - Static variable in class com.datastax.driver.mapping.NamingConventions
Represents a naming convention where all letters are upper cased, and words are not separated by any special character.
UPPER_LISP_CASE - Static variable in class com.datastax.driver.mapping.NamingConventions
Represents Lisp case naming convention, meaning all letters are upper cased, and words are separated by a dash sign ("-").
UPPER_SNAKE_CASE - Static variable in class com.datastax.driver.mapping.NamingConventions
Represents snake case naming convention, meaning all letters are upper cased, and words are separated by an underscore ("_").
UpperCamelCase(boolean, String...) - Constructor for class com.datastax.driver.mapping.NamingConventions.UpperCamelCase
 
UpperCamelCase(String...) - Constructor for class com.datastax.driver.mapping.NamingConventions.UpperCamelCase
 
UpperCamelCase(boolean) - Constructor for class com.datastax.driver.mapping.NamingConventions.UpperCamelCase
 

V

valueOf(String) - Static method in enum com.datastax.driver.mapping.PropertyAccessStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datastax.driver.mapping.PropertyTransienceStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.datastax.driver.mapping.PropertyAccessStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datastax.driver.mapping.PropertyTransienceStrategy
Returns an array containing the constants of this enum type, in the order they are declared.

W

withPropertyMapper(PropertyMapper) - Method in class com.datastax.driver.mapping.MappingConfiguration.Builder
Sets the property access strategy to use.
Word - Class in com.datastax.driver.mapping
Represents a single-individual word in a property name.
Word(String, boolean) - Constructor for class com.datastax.driver.mapping.Word
 
Word(String) - Constructor for class com.datastax.driver.mapping.Word
 
A B C D F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2012–2017. All rights reserved.