Mapper

The mapper generates the boilerplate to execute queries and convert the results into application-level objects.

The DSE mapper is published as two artifacts that reflect their OSS counterparts:

  • dse-java-driver-mapper-processor module (only needed at compile time):

    <dependency>
      <groupId>com.datastax.dse</groupId>
      <artifactId>dse-java-driver-mapper-processor</artifactId>
      <version>${driver.version}</version>
    </dependency>
    
  • dse-java-driver-mapper-runtime (regular runtime dependency):

    <dependency>
      <groupId>com.datastax.dse</groupId>
      <artifactId>dse-java-driver-mapper-runtime</artifactId>
      <version>${driver.version}</version>
    </dependency>
    

Refer to the OSS mapper manual for detailed explanations on how to configure those dependencies in your build.

At this time, the DSE mapper offers support for one specific feature: reactive requests.