HashIndex
which can be built as follows:
HashIndex<AnrToken, K> uki = HashIndex.from(consumer, AnrToken.class)
.usingBean(k);
Stream<AnrToken> results = uki.findMatches(k);
where K
is a class declaring key field paths members, annotated with
FieldPath
, and k
is an instance of
K
that is the query to find the matching AnrToken
objects.@Deprecated public class OfflineDirectoryAPIHashIndex extends com.netflix.hollow.api.consumer.index.AbstractHollowHashIndex<OfflineDirectoryAPI>
Constructor and Description |
---|
OfflineDirectoryAPIHashIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh,
java.lang.String queryType,
java.lang.String selectFieldPath,
java.lang.String... matchFieldPaths)
Deprecated.
|
OfflineDirectoryAPIHashIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
java.lang.String queryType,
java.lang.String selectFieldPath,
java.lang.String... matchFieldPaths)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<AddressBookRecord> |
findAddressBookRecordMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<AnrToken> |
findAnrTokenMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<DataLocation> |
findDataLocationMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<Date> |
findDateMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<Email> |
findEmailMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<ListOfAnrToken> |
findListOfAnrTokenMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<ListOfEmail> |
findListOfEmailMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<ListOfString> |
findListOfStringMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<OfflineAddressBook> |
findOfflineAddressBookMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<SetOfString> |
findSetOfStringMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<HString> |
findStringMatches(java.lang.Object... keys)
Deprecated.
|
public OfflineDirectoryAPIHashIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer, java.lang.String queryType, java.lang.String selectFieldPath, java.lang.String... matchFieldPaths)
public OfflineDirectoryAPIHashIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer, boolean isListenToDataRefresh, java.lang.String queryType, java.lang.String selectFieldPath, java.lang.String... matchFieldPaths)
public java.lang.Iterable<AnrToken> findAnrTokenMatches(java.lang.Object... keys)
public java.lang.Iterable<Date> findDateMatches(java.lang.Object... keys)
public java.lang.Iterable<ListOfAnrToken> findListOfAnrTokenMatches(java.lang.Object... keys)
public java.lang.Iterable<HString> findStringMatches(java.lang.Object... keys)
public java.lang.Iterable<DataLocation> findDataLocationMatches(java.lang.Object... keys)
public java.lang.Iterable<ListOfString> findListOfStringMatches(java.lang.Object... keys)
public java.lang.Iterable<Email> findEmailMatches(java.lang.Object... keys)
public java.lang.Iterable<ListOfEmail> findListOfEmailMatches(java.lang.Object... keys)
public java.lang.Iterable<AddressBookRecord> findAddressBookRecordMatches(java.lang.Object... keys)
public java.lang.Iterable<SetOfString> findSetOfStringMatches(java.lang.Object... keys)
public java.lang.Iterable<OfflineAddressBook> findOfflineAddressBookMatches(java.lang.Object... keys)
Copyright © 2021. All Rights Reserved.