Package com.mongodb

Class Jep395RecordCodecProvider

java.lang.Object
com.mongodb.Jep395RecordCodecProvider
All Implemented Interfaces:
CodecProvider

public class Jep395RecordCodecProvider extends Object implements CodecProvider
A CodecProvider for Java Records. Delegates to org.bson.codecs.record.RecordCodecProvider. If neither the runtime supports java.lang.Record, which was introduced in Java SE 17, nor org.bson.codecs.record.RecordCodecProvider is available, provides null.
Since:
4.6
  • Constructor Details

    • Jep395RecordCodecProvider

      public Jep395RecordCodecProvider()
  • Method Details