public class StringIndexer extends Object implements CorfuTable.IndexRegistry<String,String>
Modifier and Type | Field and Description |
---|---|
static CorfuTable.IndexName |
BY_FIRST_CHAR |
static CorfuTable.IndexName |
BY_VALUE |
EMPTY
Constructor and Description |
---|
StringIndexer() |
Modifier and Type | Method and Description |
---|---|
Optional<CorfuTable.Index<String,String,? extends Comparable<?>>> |
get(CorfuTable.IndexName name)
Obtain the
CorfuTable.IndexFunction via its registered CorfuTable.IndexName . |
Iterator<CorfuTable.Index<String,String,? extends Comparable<?>>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty
forEach, spliterator
public static final CorfuTable.IndexName BY_VALUE
public static final CorfuTable.IndexName BY_FIRST_CHAR
public Iterator<CorfuTable.Index<String,String,? extends Comparable<?>>> iterator()
iterator
in interface Iterable<CorfuTable.Index<String,String,? extends Comparable<?>>>
public Optional<CorfuTable.Index<String,String,? extends Comparable<?>>> get(CorfuTable.IndexName name)
CorfuTable.IndexRegistry
CorfuTable.IndexFunction
via its registered CorfuTable.IndexName
.get
in interface CorfuTable.IndexRegistry<String,String>
name
- name of the IndexKey
previously registered.CorfuTable.IndexFunction
registered to the lookup name.Copyright © 2019 CorfuDB. All rights reserved.