K
- type of the record key associated with IndexKey
.V
- type of the record value associated with IndexKey
.I
- type of the index value computed using the IndexKey
.public static class CorfuTable.Index<K,V,I extends Comparable<?>> extends Object
CorfuTable.IndexFunction
mapping a value to single
secondary index value, or a multi indexer CorfuTable.MultiValueIndexFunction
mapping a value to multiple secondary index values.Constructor and Description |
---|
Index(CorfuTable.IndexName name,
CorfuTable.IndexFunction<K,V,I> indexFunction) |
Index(CorfuTable.IndexName name,
CorfuTable.MultiValueIndexFunction<K,V,I> indexFunction) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CorfuTable.IndexFunction<K,V,I> |
getIndexFunction() |
CorfuTable.MultiValueIndexFunction<K,V,I> |
getMultiValueIndexFunction() |
CorfuTable.IndexName |
getName() |
int |
hashCode() |
public Index(CorfuTable.IndexName name, CorfuTable.IndexFunction<K,V,I> indexFunction)
public Index(CorfuTable.IndexName name, CorfuTable.MultiValueIndexFunction<K,V,I> indexFunction)
public CorfuTable.IndexName getName()
public CorfuTable.IndexFunction<K,V,I> getIndexFunction()
public CorfuTable.MultiValueIndexFunction<K,V,I> getMultiValueIndexFunction()
Copyright © 2019 CorfuDB. All rights reserved.