Class RowAsJsonConverter

  • All Implemented Interfaces:
    Converter<java.lang.String>, java.io.Serializable

    public class RowAsJsonConverter
    extends java.lang.Object
    implements Converter<java.lang.String>
    See Also:
    Serialized Form
    • Constructor Detail

      • RowAsJsonConverter

        public RowAsJsonConverter()
    • Method Detail

      • getKeyFromResult

        public java.lang.String getKeyFromResult​(java.sql.ResultSet result)
        Specified by:
        getKeyFromResult in interface Converter<java.lang.String>
      • getValueBytes

        public byte[] getValueBytes​(java.sql.ResultSet result,
                                    AttributeDescriptor<java.lang.String> attributeDescriptor)
        Specified by:
        getValueBytes in interface Converter<java.lang.String>