1 8 9 package com.sleepycat.je.tree; 10 11 import com.sleepycat.je.dbi.DatabaseId; 12 13 17 public class DBINReference extends BINReference { 18 private byte[] dupKey; 19 20 DBINReference(long nodeId, DatabaseId databaseId, 21 byte[] idKey, byte[] dupKey) { 22 super(nodeId, databaseId, idKey); 23 this.dupKey = dupKey; 24 } 25 26 public byte[] getKey() { 27 return dupKey; 28 } 29 30 public byte[] getData() { 31 return idKey; 32 } 33 34 public String toString() { 35 return super.toString() + " dupKey=" + Key.dumpString(dupKey, 0); 36 } 37 } 38 39 | Popular Tags |