• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/util/keyrange/

Lines Matching defs:range

20  * A cursor-like interface that enforces a key range.  The method signatures
24 * <p>This is not a fully general implementation of a range cursor and should
26 * generally useful range cursor some day.</p>
40 * The range is always non-null, but may be unbounded meaning that it is
43 private KeyRange range;
46 * The pkRange may be non-null only if the range is a single-key range
47 * and the cursor is a secondary cursor. It further restricts the range of
59 * The privXxx entries are used only when the range is bounded. We read
62 * range. In that case we return NOTFOUND and we want to leave the entry
74 * successfully but the key is out of range, we have no way to set the
75 * underlying cursor to uninitialized. A range cursor always starts in the
81 * Creates a range cursor with a duplicate range.
83 public RangeCursor(KeyRange range,
89 if (pkRange != null && !range.singleKey) {
92 this.range = range;
103 * Create a cloned range cursor. The caller must clone the underlying
131 if (range.hasBound()) {
157 * When an unbounded range is used, this method is called to use the
264 if (!range.hasBound()) {
271 KeyRange.copy(range.beginKey, privKey);
299 } else if (range.singleKey) {
300 KeyRange.copy(range.beginKey, privKey);
307 if (range.beginKey == null) {
310 KeyRange.copy(range.beginKey, privKey);
313 !range.beginInclusive &&
314 range.compare(privKey, range.beginKey) == 0) {
319 !range.check(privKey)) {
336 if (!range.hasBound()) {
345 KeyRange.copy(range.beginKey, privKey);
360 KeyRange.copy(range.beginKey, privKey);
379 } else if (range.endKey == null) {
382 KeyRange.copy(range.endKey, privKey);
385 if (range.endInclusive &&
386 range.compare(range.endKey, privKey) == 0) {
402 !range.checkBegin(privKey, true)) {
421 if (!range.hasBound()) {
444 } else if (range.singleKey) {
453 !range.check(privKey)) {
473 if (!range.hasBound()) {
479 if (range.singleKey) {
487 !range.check(privKey)) {
507 if (!range.hasBound()) {
530 } else if (range.singleKey) {
539 !range.check(privKey)) {
559 if (!range.hasBound()) {
565 if (range.singleKey) {
573 !range.check(privKey)) {
590 if (!range.hasBound()) {
596 if (!range.check(key)) {
626 if (!range.hasBound()) {
632 if (!range.check(key) ||
655 if (!range.hasBound()) {
666 (!range.check(privKey) ||
683 if (!range.hasBound()) {
699 (!range.check(privKey) ||
716 if (!range.hasBound()) {
722 if (!range.check(key)) {
742 if (!range.hasBound()) {
775 if (!range.hasBound()) {