public class KeyRange
extends java.lang.Object
Database.getKeyRange
method.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
KeyRange() |
public double equal
public double greater
For example, if the value is 0.05, 5% of the keys in the database are greater than the specified key.
public double less
For example, if the value is 0.05, 5% of the keys in the database are less than the specified key.
Copyright (c) 1996, 2017 Oracle and/or its affiliates. All rights reserved.