K
- type of the record key associated with Index
.V
- type of the record value associated with Index
.public static interface CorfuTable.IndexRegistry<K,V> extends Iterable<CorfuTable.Index<K,V,? extends Comparable<?>>>
CorfuTable.Index
.Modifier and Type | Field and Description |
---|---|
static CorfuTable.IndexRegistry<?,?> |
EMPTY |
Modifier and Type | Method and Description |
---|---|
static <K,V> CorfuTable.IndexRegistry<K,V> |
empty()
Obtain a static
CorfuTable.IndexRegistry with no registered CorfuTable.IndexFunction s. |
<I extends Comparable<?>> |
get(CorfuTable.IndexName name)
Obtain the
CorfuTable.IndexFunction via its registered CorfuTable.IndexName . |
forEach, iterator, spliterator
static final CorfuTable.IndexRegistry<?,?> EMPTY
<I extends Comparable<?>> Optional<CorfuTable.Index<K,V,I>> get(CorfuTable.IndexName name)
CorfuTable.IndexFunction
via its registered CorfuTable.IndexName
.name
- name of the IndexKey
previously registered.CorfuTable.IndexFunction
registered to the lookup name.static <K,V> CorfuTable.IndexRegistry<K,V> empty()
CorfuTable.IndexRegistry
with no registered CorfuTable.IndexFunction
s.K
- type of the record key associated with Index
.V
- type of the record value associated with Index
.CorfuTable.IndexRegistry
.Copyright © 2019 CorfuDB. All rights reserved.