E - The generic type of the elements in the relation.public interface IKeyOrder<E>
| Modifier and Type | Method and Description |
|---|---|
Comparator<E> |
getComparator()
Return the comparator that places elements into the natural order for the
associated index.
|
byte[] |
getFromKey(IKeyBuilder keyBuilder,
IPredicate<E> predicate)
Return the inclusive lower bound which would be used for a query against
this
IKeyOrder for the given IPredicate. |
String |
getIndexName()
The base name for the index.
|
byte[] |
getKey(IKeyBuilder keyBuilder,
E element)
Return the key for an element of the relation.
|
int |
getKeyArity()
Return the #of elements in the key for this natural order.
|
int |
getKeyOrder(int keyPos)
Return the index of the slot in the
IPredicate which appears at
the specified position in the key. |
byte[] |
getToKey(IKeyBuilder keyBuilder,
IPredicate<E> predicate)
Return the exclusive upper bound which would be used for a query against
this
IKeyOrder for the given IPredicate. |
int getKeyArity()
Comparator<E> getComparator()
String getIndexName()
int getKeyOrder(int keyPos)
IPredicate which appears at
the specified position in the key.keyPos - The index into the key that is being generated.IPredicate.byte[] getKey(IKeyBuilder keyBuilder, E element)
keyBuilder - The object which will be used to construct the key.element - An element for the associated relation.IKeyOrder.byte[] getFromKey(IKeyBuilder keyBuilder, IPredicate<E> predicate)
IKeyOrder for the given IPredicate.keyBuilder - The object which will be used to construct the key.predicate - A predicate describing bound and unbound fields for the key.IPredicate.byte[] getToKey(IKeyBuilder keyBuilder, IPredicate<E> predicate)
IKeyOrder for the given IPredicate.keyBuilder - The object which will be used to construct the key.predicate - A predicate describing bound and unbound fields for the key.IPredicate.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.