private static class FastFindCache.L2Key
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fql
The fql of the query which selected the keyed record.
|
private int |
hash
The precomputed hash code.
|
private java.util.BitSet |
nonIndexedProps
The set of non-indexed properties used in
fql . |
private int |
type
The type of navigation.
|
private java.lang.Object[] |
values
The substitution values.
|
Modifier | Constructor and Description |
---|---|
private |
L2Key(java.lang.String fql,
java.util.BitSet nonIndexedProps,
int type,
java.lang.Object[] values)
The unique constructor builds the immutable key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Test for equality with another object.
|
int |
hashCode()
Obtain the precomputed hash code.
|
private final java.lang.String fql
private final java.util.BitSet nonIndexedProps
fql
.private final int type
QueryConstants
private final java.lang.Object[] values
null
.private final int hash
private L2Key(java.lang.String fql, java.util.BitSet nonIndexedProps, int type, java.lang.Object[] values)
fql
- The fql of the query which selected the keyed record.nonIndexedProps
- The set of non-indexed properties used in fql
. May be null
if
fql
is null
or references no non-indexed properties.type
- The type of navigation. Must be one of FIRST
, LAST
or UNIQUE
values
of the QueryConstants
.values
- The substitution values. May be null
.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The other object.true
if and only if the objects are equals.public int hashCode()
hashCode
in class java.lang.Object