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.withDefaultExecutionProfile(DriverExecutionProfile executionProfile)
Specifies a default execution profile name that will be used for all DAOs built with this
mapper (unless they specify their own execution profile).
|
MapperBuilder<MapperT> |
MapperBuilder.withDefaultExecutionProfileName(String executionProfileName)
Specifies a default execution profile name that will be used for all DAOs built with this
mapper (unless they specify their own execution profile).
|
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)) . |
MapperBuilder<MapperT> |
MapperBuilder.withSchemaValidationEnabled(boolean enableSchemaValidation)
Whether to validate mapped entities against the database schema.
|
Copyright © 2017–2022. All rights reserved.