UniqueKeyIndex which can be built as follows:
UniqueKeyIndex<AnrToken, K> uki = UniqueKeyIndex.from(consumer, AnrToken.class)
.usingBean(k);
AnrToken m = uki.findMatch(k);
where K is a class declaring key field paths members, annotated with
FieldPath, and k is an instance of
K that is the key to find the unique AnrToken object.@Deprecated public class AnrTokenPrimaryKeyIndex extends com.netflix.hollow.api.consumer.index.AbstractHollowUniqueKeyIndex<OfflineDirectoryAPI,AnrToken> implements com.netflix.hollow.api.consumer.index.HollowUniqueKeyIndex<AnrToken>
| Constructor and Description |
|---|
AnrTokenPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer)
Deprecated.
|
AnrTokenPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh)
Deprecated.
|
AnrTokenPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh,
java.lang.String... fieldPaths)
Deprecated.
|
AnrTokenPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
java.lang.String... fieldPaths)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AnrToken |
findMatch(java.lang.Object... keys)
Deprecated.
|
public AnrTokenPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer)
public AnrTokenPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh)
public AnrTokenPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
java.lang.String... fieldPaths)
public AnrTokenPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh,
java.lang.String... fieldPaths)
Copyright © 2022. All Rights Reserved.