| Package | Description | 
|---|---|
| com.datastax.driver.mapping | 
| Modifier and Type | Method and Description | 
|---|---|
| static Mapper.Option | Mapper.Option. consistencyLevel(ConsistencyLevel cl)Creates a new Option object to add a consistency level value to a mapper operation. | 
| static Mapper.Option | Mapper.Option. ifNotExists(boolean enabled)Creates a new Option object to specify whether an IF NOT EXISTS clause should be included in
 insert queries. | 
| static Mapper.Option | Mapper.Option. saveNullFields(boolean enabled)Creates a new Option object to specify whether null entity fields should be included in
 insert queries. | 
| static Mapper.Option | Mapper.Option. timestamp(long timestamp)Creates a new Option object to add a timestamp to a mapper operation. | 
| static Mapper.Option | Mapper.Option. tracing(boolean enabled)Creates a new Option object to enable query tracing for a mapper operation. | 
| static Mapper.Option | Mapper.Option. ttl(int ttl)Creates a new Option object to add time-to-live to a mapper operation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Mapper. delete(T entity,
      Mapper.Option... options)Deletes an entity mapped by this mapper using provided options. | 
| ListenableFuture<Void> | Mapper. deleteAsync(T entity,
           Mapper.Option... options)Deletes an entity mapped by this mapper asynchronously using provided options. | 
| Statement | Mapper. deleteQuery(T entity,
           Mapper.Option... options)Creates a query that can be used to delete the provided entity. | 
| void | Mapper. save(T entity,
    Mapper.Option... options)Saves an entity mapped by this mapper and using special options for save. | 
| ListenableFuture<Void> | Mapper. saveAsync(T entity,
         Mapper.Option... options)Save an entity mapped by this mapper asynchronously using special options for save. | 
| Statement | Mapper. saveQuery(T entity,
         Mapper.Option... options)Creates a query that can be used to save the provided entity. | 
| void | Mapper. setDefaultDeleteOptions(Mapper.Option... options)Set the default delete  Mapper.Optionfor this object mapper, that will be used
 in all delete operations unless overridden. | 
| void | Mapper. setDefaultGetOptions(Mapper.Option... options)Set the default get  Mapper.Optionfor this object mapper, that will be used
 in all get operations unless overridden. | 
| void | Mapper. setDefaultSaveOptions(Mapper.Option... options)Set the default save  Mapper.Optionfor this object mapper, that will be used
 in all save operations unless overridden. | 
Copyright © 2012–2017. All rights reserved.