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