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