HashIndex
which can be built as follows:
HashIndex<HString, K> uki = HashIndex.from(consumer, HString.class)
.usingBean(k);
Stream<HString> results = uki.findMatches(k);
where K
is a class declaring key field paths members, annotated with
FieldPath
, and k
is an instance of
K
that is the query to find the matching HString
objects.@Deprecated public class TokensAPIHashIndex extends com.netflix.hollow.api.consumer.index.AbstractHollowHashIndex<TokensAPI>
Constructor and Description |
---|
TokensAPIHashIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
boolean isListenToDataRefresh,
java.lang.String queryType,
java.lang.String selectFieldPath,
java.lang.String... matchFieldPaths)
Deprecated.
|
TokensAPIHashIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer,
java.lang.String queryType,
java.lang.String selectFieldPath,
java.lang.String... matchFieldPaths)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<HString> |
findStringMatches(java.lang.Object... keys)
Deprecated.
|
java.lang.Iterable<Token> |
findTokenMatches(java.lang.Object... keys)
Deprecated.
|
public TokensAPIHashIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer, java.lang.String queryType, java.lang.String selectFieldPath, java.lang.String... matchFieldPaths)
public TokensAPIHashIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer, boolean isListenToDataRefresh, java.lang.String queryType, java.lang.String selectFieldPath, java.lang.String... matchFieldPaths)
Copyright © 2021. All Rights Reserved.