Index
All Classes and Interfaces|All Packages
A
- add(long) - Method in class org.elasticsearch.swisshash.LongSwissHash
-
Add a
key, returning itsids. - add(long[], long[], int) - Method in class org.elasticsearch.swisshash.LongSwissHash
-
Adds many
keys at once, putting theirids into an array. - add(long, long) - Method in class org.elasticsearch.swisshash.LongLongSwissHash
-
Add a
key, returning itsids. - add(BytesRef) - Method in class org.elasticsearch.swisshash.BytesRefSwissHash
-
Adds a
key, returning itsid.
B
- breaker - Variable in class org.elasticsearch.swisshash.SwissHash
- BytesRefSwissHash - Class in org.elasticsearch.swisshash
-
Assigns
intids toBytesRefs, vending the ids in order they are added. - BytesRefSwissHash.Itr - Class in org.elasticsearch.swisshash
C
- capacity - Variable in class org.elasticsearch.swisshash.SwissHash
- capacity() - Method in class org.elasticsearch.swisshash.SwissHash.Status
-
The size of the
SwissHash. - close() - Method in class org.elasticsearch.swisshash.BytesRefSwissHash
- close() - Method in class org.elasticsearch.swisshash.LongLongSwissHash
- close() - Method in class org.elasticsearch.swisshash.LongSwissHash
F
- find(long) - Method in class org.elasticsearch.swisshash.LongSwissHash
-
Finds an
idby akey. - find(long, long) - Method in class org.elasticsearch.swisshash.LongLongSwissHash
-
Finds an
idby akey1and akey2. - find(BytesRef) - Method in class org.elasticsearch.swisshash.BytesRefSwissHash
-
Finds an
idby akey.
G
- get(long) - Method in class org.elasticsearch.swisshash.LongSwissHash
-
Returns the key at
0 <= id <= size(). - get(long, BytesRef) - Method in class org.elasticsearch.swisshash.BytesRefSwissHash
-
Returns the key at
0 <= id <= size(). - getBytesRefs() - Method in class org.elasticsearch.swisshash.BytesRefSwissHash
-
Returns the key array.
- getInstance() - Static method in class org.elasticsearch.swisshash.SwissHashFactory
- getKey1(long) - Method in class org.elasticsearch.swisshash.LongLongSwissHash
- getKey2(long) - Method in class org.elasticsearch.swisshash.LongLongSwissHash
- growCount - Variable in class org.elasticsearch.swisshash.SwissHash
- growCount() - Method in class org.elasticsearch.swisshash.SwissHash.Status
-
The number of times this
SwissHashhas grown.
I
- id() - Method in class org.elasticsearch.swisshash.SwissHash.Itr
-
The id the iterator is current pointing to.
- iterator() - Method in class org.elasticsearch.swisshash.BytesRefSwissHash
- iterator() - Method in class org.elasticsearch.swisshash.LongLongSwissHash
- iterator() - Method in class org.elasticsearch.swisshash.LongSwissHash
- iterator() - Method in class org.elasticsearch.swisshash.SwissHash
-
Build an iterator to walk all values and ids.
- Itr() - Constructor for class org.elasticsearch.swisshash.BytesRefSwissHash.Itr
- Itr() - Constructor for class org.elasticsearch.swisshash.LongLongSwissHash.Itr
- Itr() - Constructor for class org.elasticsearch.swisshash.LongSwissHash.Itr
- Itr() - Constructor for class org.elasticsearch.swisshash.SwissHash.Itr
K
- key() - Method in class org.elasticsearch.swisshash.LongSwissHash.Itr
-
The key the iterator current points to.
- key(BytesRef) - Method in class org.elasticsearch.swisshash.BytesRefSwissHash.Itr
-
The key the iterator current points to.
- key1() - Method in class org.elasticsearch.swisshash.LongLongSwissHash.Itr
-
The first key the iterator current points to.
- key2() - Method in class org.elasticsearch.swisshash.LongLongSwissHash.Itr
-
The second key the iterator current points to.
- keyId - Variable in class org.elasticsearch.swisshash.SwissHash.Itr
L
- LongLongSwissHash - Class in org.elasticsearch.swisshash
-
Specialization for LongSwissHash, for LongLong.
- LongLongSwissHash.Itr - Class in org.elasticsearch.swisshash
- LongSwissHash - Class in org.elasticsearch.swisshash
-
Assigns
intids tolongs, vending the ids in order they are added. - LongSwissHash.Itr - Class in org.elasticsearch.swisshash
M
N
- newBytesRefSwissHash(PageCacheRecycler, CircuitBreaker, BigArrays) - Method in class org.elasticsearch.swisshash.SwissHashFactory
- newLongLongSwissHash(PageCacheRecycler, CircuitBreaker) - Method in class org.elasticsearch.swisshash.SwissHashFactory
- newLongSwissHash(PageCacheRecycler, CircuitBreaker) - Method in class org.elasticsearch.swisshash.SwissHashFactory
- next() - Method in class org.elasticsearch.swisshash.SwissHash.Itr
-
Advance to the next entry in the
SwissHash, returningfalseif there aren't any more entries.. - nextGrowSize - Variable in class org.elasticsearch.swisshash.SwissHash
- nextGrowSize() - Method in class org.elasticsearch.swisshash.SwissHash.Status
-
When
SwissHash.Status.sizegrows to this number the hash will grow again.
O
- org.elasticsearch.swisshash - module org.elasticsearch.swisshash
- org.elasticsearch.swisshash - package org.elasticsearch.swisshash
R
- ramBytesUsed() - Method in class org.elasticsearch.swisshash.BytesRefSwissHash
- ramBytesUsed() - Method in class org.elasticsearch.swisshash.LongLongSwissHash
- recycler - Variable in class org.elasticsearch.swisshash.SwissHash
S
- size - Variable in class org.elasticsearch.swisshash.SwissHash
- size() - Method in class org.elasticsearch.swisshash.SwissHash
-
How many entries are in the
LongSwissHash. - size() - Method in class org.elasticsearch.swisshash.SwissHash.Status
-
Number of entries added to the
SwissHash. - status() - Method in class org.elasticsearch.swisshash.BytesRefSwissHash
- status() - Method in class org.elasticsearch.swisshash.LongLongSwissHash
- status() - Method in class org.elasticsearch.swisshash.LongSwissHash
- status() - Method in class org.elasticsearch.swisshash.SwissHash
-
Performance information hopefully useful for debugging.
- Status(int, int, int, int) - Constructor for class org.elasticsearch.swisshash.SwissHash.Status
- Status(StreamInput) - Constructor for class org.elasticsearch.swisshash.SwissHash.Status
- SwissHash - Class in org.elasticsearch.swisshash
-
Superclass of table to assign
intids to various key types, vending the ids in order they are added. - SwissHash(PageCacheRecycler, CircuitBreaker, int, float) - Constructor for class org.elasticsearch.swisshash.SwissHash
- SwissHash.Itr - Class in org.elasticsearch.swisshash
-
Iterates the entries in the
SwissHash. - SwissHash.Status - Class in org.elasticsearch.swisshash
-
Performance information about the
SwissHashhopefully useful for debugging. - SwissHashFactory - Class in org.elasticsearch.swisshash
T
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.swisshash.SwissHash.Status
- toXContentFragment(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.swisshash.SwissHash.Status
W
- writeTo(StreamOutput) - Method in class org.elasticsearch.swisshash.SwissHash.Status
All Classes and Interfaces|All Packages