Package | Description |
---|---|
com.datastax.oss.driver.api.mapper |
Modifier and Type | Method and Description |
---|---|
MapperBuilder<MapperT> |
MapperBuilder.withCustomState(Object key,
Object value)
Stores custom state that will be propagated to
MapperContext.getCustomState() . |
MapperBuilder<MapperT> |
MapperBuilder.withDefaultKeyspace(CqlIdentifier keyspaceId)
Specifies a default keyspace that will be used for all DAOs built with this mapper (unless they
specify their own keyspace).
|
MapperBuilder<MapperT> |
MapperBuilder.withDefaultKeyspace(String keyspaceName)
Shortcut for
withDefaultKeyspace(CqlIdentifier.fromCql(keyspaceName)) . |
Copyright © 2017–2020. All rights reserved.