public interface MapperResultProducerService
This class is loaded with the Java Service Provider Interface mechanism, you must reference it
via a service descriptor: create a file META-INF/services/com.datastax.oss.driver.api.mapper.result.MapperResultProducerService
, with
one or more lines, each referencing the name of an implementing class.
Modifier and Type | Method and Description |
---|---|
Iterable<MapperResultProducer> |
getProducers()
Returns the producers provided by this service.
|
Iterable<MapperResultProducer> getProducers()
Note that order matters, the producers will be tried from left to right until one matches.
If there is some overlap between your producers' canProduce()
implementations, put the most specific ones first.
Copyright © 2017–2022. All rights reserved.