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