I have this structure in Java to be stored in berkeley DB using TupleSerialBinding:
public class SampleValues implements Serializable, MarshalledEntity {
private static final long serialVersionUID = 1L;
protected double min;
protected double max;
protected ArrayList<Double> values = new ArrayList<Double>();
}
The key is the min value which is created using a class to make an EntryBinding. After I create an EntityBinding based on SamplesValues
I didn't find how to store the "values array" using TupleSerialBinding.
The values of min and max are stored, but the values array is not.