Lines Matching refs:data
15 A DatabaseEntry that holds multiple key/data pairs returned by a single
20 Construct an entry with no data. The object must be configured
33 @param data
36 public MultipleKeyDataEntry(final byte[] data) {
37 super(data, 0, (data == null) ? 0 : data.length);
43 @param data
50 public MultipleKeyDataEntry(final byte[] data,
53 super(data, offset, size);
58 * next set of key/data can be returned.
67 Get the next key/data pair in the returned set. This method may only
69 {@link com.sleepycat.db.Cursor Cursor} get method with this object as the data parameter.
75 @param data
76 an entry that is set to refer to the next data element in the returned
83 public boolean next(final DatabaseEntry key, final DatabaseEntry data) {
87 final int keyoff = DbUtil.array2int(this.data, pos);
89 // crack out the key and data offsets and lengths.
94 final int keysz = DbUtil.array2int(this.data, pos);
96 final int dataoff = DbUtil.array2int(this.data, pos);
98 final int datasz = DbUtil.array2int(this.data, pos);
101 key.setData(this.data);
105 data.setData(this.data);
106 data.setOffset(dataoff);
107 data.setSize(datasz);