public class DirectoryDeserializer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_DIR_PROP
system property used to override the filesystem folder holding hollow
directory data.
|
protected com.netflix.hollow.api.consumer.HollowConsumer |
consumer |
protected com.netflix.hollow.api.consumer.index.UniqueKeyIndex<AddressBookRecord,java.lang.String> |
distinguishedNameIndex |
protected com.netflix.hollow.core.index.HollowHashIndex |
kindIndex |
protected com.netflix.hollow.api.consumer.index.UniqueKeyIndex<AddressBookRecord,java.lang.Long> |
minimalIndex |
protected com.netflix.hollow.api.consumer.index.UniqueKeyIndex<AddressBookRecord,java.lang.String> |
uidIndex |
Constructor and Description |
---|
DirectoryDeserializer(java.io.File dir) |
DirectoryDeserializer(java.lang.String domain) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AddressBookRecord> |
all() |
static java.lang.String |
baseDataDir() |
java.util.Optional<AddressBookRecord> |
byDistinguishedName(java.lang.String distinguishedName) |
java.util.Optional<AddressBookRecord> |
byEmail(java.lang.String email) |
SearchResults |
byKind(java.util.List<java.lang.String> kinds,
int offset,
int limit,
SerializedDirectorySearch search) |
java.util.List<AddressBookRecord> |
byKind(java.lang.String kind) |
java.util.Optional<AddressBookRecord> |
byMinimalId(long minimalId) |
java.util.List<AddressBookRecord> |
byNameOrEmailPrefix(java.lang.String value) |
java.util.Optional<AddressBookRecord> |
byUid(java.lang.String uid) |
java.util.Optional<OfflineAddressBook> |
root() |
java.util.List<AddressBookRecord> |
search(java.util.List<java.util.function.Predicate<? super AddressBookRecord>> predicates) |
java.util.List<AddressBookRecord> |
search(Query query) |
protected com.netflix.hollow.api.consumer.HollowConsumer.AnnouncementWatcher |
watcher(HollowContext ctx) |
public static final java.lang.String BASE_DIR_PROP
protected com.netflix.hollow.api.consumer.index.UniqueKeyIndex<AddressBookRecord,java.lang.String> uidIndex
protected com.netflix.hollow.api.consumer.index.UniqueKeyIndex<AddressBookRecord,java.lang.String> distinguishedNameIndex
protected com.netflix.hollow.api.consumer.index.UniqueKeyIndex<AddressBookRecord,java.lang.Long> minimalIndex
protected com.netflix.hollow.core.index.HollowHashIndex kindIndex
protected final com.netflix.hollow.api.consumer.HollowConsumer consumer
public DirectoryDeserializer(java.lang.String domain)
public DirectoryDeserializer(java.io.File dir)
public static final java.lang.String baseDataDir()
protected com.netflix.hollow.api.consumer.HollowConsumer.AnnouncementWatcher watcher(HollowContext ctx)
public java.util.Collection<AddressBookRecord> all()
public java.util.Optional<OfflineAddressBook> root()
public java.util.List<AddressBookRecord> search(java.util.List<java.util.function.Predicate<? super AddressBookRecord>> predicates)
public java.util.Optional<AddressBookRecord> byDistinguishedName(java.lang.String distinguishedName)
public java.util.Optional<AddressBookRecord> byUid(java.lang.String uid)
public java.util.Optional<AddressBookRecord> byMinimalId(long minimalId)
public java.util.List<AddressBookRecord> byNameOrEmailPrefix(java.lang.String value)
public java.util.Optional<AddressBookRecord> byEmail(java.lang.String email)
public java.util.List<AddressBookRecord> byKind(java.lang.String kind)
public SearchResults byKind(java.util.List<java.lang.String> kinds, int offset, int limit, SerializedDirectorySearch search)
public java.util.List<AddressBookRecord> search(Query query)
Copyright © 2021. All Rights Reserved.