org.hypergraphdb
Interface HGOrderedSearchable<KeyType,ValueType>

All Superinterfaces:
HGSearchable<KeyType,ValueType>
All Known Subinterfaces:
HGSortIndex<KeyType,ValueType>
All Known Implementing Classes:
BooleanType, ByteType, CharType, DefaultBiIndexImpl, DefaultIndexImpl, DoubleType, FloatType, HGHandleType, IntType, LongType, NumericTypeBase, PrimitiveTypeBase, ShortType, StringType

public interface HGOrderedSearchable<KeyType,ValueType>
extends HGSearchable<KeyType,ValueType>

The HGOrderedSearchable interface specifies that an object can be viewed as an ordered collection from where a range of values can be obtained based on a key and comparison operator.

Author:
Borislav Iordanov

Method Summary
 HGSearchResult<ValueType> findGT(KeyType key)
          Return a range of all values strictly greater than the specified key.
 HGSearchResult<ValueType> findGTE(KeyType key)
          Return a range of all values greater than or equal to the specified key.
 HGSearchResult<ValueType> findLT(KeyType key)
          Return a range of all values strictly less than the specified key.
 HGSearchResult<ValueType> findLTE(KeyType key)
          Return a range of all values less than or equal to the specified key.
 
Methods inherited from interface org.hypergraphdb.HGSearchable
find
 

Method Detail

findLT

HGSearchResult<ValueType> findLT(KeyType key)

Return a range of all values strictly less than the specified key.

Parameters:
key - The search key.
Returns:
An HGSearchResult over the resulting range of values.

findGT

HGSearchResult<ValueType> findGT(KeyType key)

Return a range of all values strictly greater than the specified key.

Parameters:
key - The search key.
Returns:
An HGSearchResult over the resulting range of values.

findLTE

HGSearchResult<ValueType> findLTE(KeyType key)

Return a range of all values less than or equal to the specified key.

Parameters:
key - The search key.
Returns:
An HGSearchResult over the resulting range of values.

findGTE

HGSearchResult<ValueType> findGTE(KeyType key)

Return a range of all values greater than or equal to the specified key.

Parameters:
key - The search key.
Returns:
An HGSearchResult over the resulting range of values.