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