senna
Class Records

java.lang.Object
  extended by senna.Records

public class Records
extends java.lang.Object

Wrapper for sen_records


Method Summary
 void close()
          call sen_records_close().
 java.lang.String currKey()
          call sen_records_curr_key().
 int currScore()
          call sen_records_curr_score().
 int find(java.lang.String key)
          call sen_records_find().
 java.lang.String next()
          call sen_records_next().
 int nhits()
          call sen_records_nhits().
 void rewind()
          call sen_records_rewind().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public java.lang.String next()
call sen_records_next().

Returns:
next keys or null.

close

public void close()
           throws SennaException
call sen_records_close().

Throws:
SennaException

currScore

public int currScore()
call sen_records_curr_score().

Returns:
curr_score

currKey

public java.lang.String currKey()
call sen_records_curr_key().

Returns:
curr_key

rewind

public void rewind()
            throws SennaException
call sen_records_rewind().

Throws:
SennaException

nhits

public int nhits()
call sen_records_nhits().

Returns:
nhits

find

public int find(java.lang.String key)
call sen_records_find().

Parameters:
key - key
Returns:
score