static class FastFindCache.Key
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
indexId
The id of the index used when executing the query.
|
private FastFindCache.L2Key |
k2
The key for the second level cache, composed of type of query (one of
FIRST , LAST or
UNIQUE constants of the QueryConstants , the optional FQL predicate used in query and
the optional substitution values. |
private long |
tableId
An computed value that uniquely identifies the DMO table and, in case temp-table the multiplex.
|
Modifier | Constructor and Description |
---|---|
private |
Key(RecordBuffer buffer,
int indexId,
java.lang.String fql,
java.util.BitSet properties,
int type,
java.lang.Object[] values)
Creates the immutable key object for accessing values in cache.
|
private final long tableId
private final int indexId
private final FastFindCache.L2Key k2
FIRST
, LAST
or
UNIQUE
constants of the QueryConstants
, the optional FQL predicate used in query and
the optional substitution values.private Key(RecordBuffer buffer, int indexId, java.lang.String fql, java.util.BitSet properties, int type, java.lang.Object[] values)
buffer
- The buffer that holds the record. Used for obtaining the DMO uid and multiplex (for
temp-tables).indexId
- The id of the index used when executing the query.fql
- The fql of the query which selected the keyed record.properties
- The set of properties used in fql
.type
- The type of navigation. Must be one of FIRST
, LAST
or UNIQUE
values
of the QueryConstants
.values
- The substitution values. May be null
.