UniqueKeyIndex which can be built as follows:
UniqueKeyIndex<Email, K> uki = UniqueKeyIndex.from(consumer, Email.class)
.usingBean(k);
Email 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 Email object.@Deprecated public class EmailPrimaryKeyIndex extends com.netflix.hollow.api.consumer.index.AbstractHollowUniqueKeyIndex<OfflineDirectoryAPI,Email> implements com.netflix.hollow.api.consumer.index.HollowUniqueKeyIndex<Email>
| Constructor and Description |
|---|
EmailPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer)
Deprecated.
|
EmailPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh)
Deprecated.
|
EmailPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh,
java.lang.String... fieldPaths)
Deprecated.
|
EmailPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
java.lang.String... fieldPaths)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Email |
findMatch(java.lang.Object... keys)
Deprecated.
|
public EmailPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer)
public EmailPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh)
public EmailPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
java.lang.String... fieldPaths)
public EmailPrimaryKeyIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh,
java.lang.String... fieldPaths)
Copyright © 2022. All Rights Reserved.