Lines Matching refs:data
15 A DatabaseEntry that holds multiple record number/data pairs returned by a
20 Construct an entry with no data. The object must be configured
33 @param data
36 public MultipleRecnoDataEntry(final byte[] data) {
37 super(data, 0, (data == null) ? 0 : data.length);
43 @param data
50 public MultipleRecnoDataEntry(final byte[] data,
53 super(data, offset, size);
58 * next set of key/data can be returned.
67 Get the next record number/data pair in the returned set. This method
69 {@link com.sleepycat.db.Cursor Cursor} get method with this object as the data parameter.
72 <code>data.getData()<code> will return <code>null</code> for deleted
79 @param data
80 an entry that is set to refer to the next data element in the returned
87 public boolean next(final DatabaseEntry recno, final DatabaseEntry data) {
91 final int keyoff = DbUtil.array2int(this.data, pos);
93 // crack out the key offset and the data offset and length.
98 final int dataoff = DbUtil.array2int(this.data, pos);
100 final int datasz = DbUtil.array2int(this.data, pos);
103 recno.setData(this.data);
107 data.setData(this.data);
108 data.setOffset(dataoff);
109 data.setSize(datasz);