DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Berkeley DB
version 4.4.20

com.sleepycat.db
Class KeyRange

java.lang.Object
  extended bycom.sleepycat.db.KeyRange

public class KeyRange
extends Object

An object that returns status from the Database.getKeyRange method.


Field Summary
 double equal
          Zero if there is no matching key, and non-zero otherwise.
 double greater
          A value between 0 and 1, the proportion of keys greater than the specified key.
 double less
          A value between 0 and 1, the proportion of keys less than the specified key.
 
Constructor Summary
KeyRange()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

equal

public double equal
Zero if there is no matching key, and non-zero otherwise.


greater

public double greater
A value between 0 and 1, the proportion of keys greater than the specified key.

For example, if the value is 0.05, 5% of the keys in the database are greater than the specified key.


less

public double less
A value between 0 and 1, the proportion of keys less than the specified key.

For example, if the value is 0.05, 5% of the keys in the database are less than the specified key.

Constructor Detail

KeyRange

public KeyRange()

Berkeley DB
version 4.4.20

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.