Logo Search packages:      
Sourcecode: xapian-bindings version File versions  Download package

org::xapian::XapianJNI Class Reference

List of all members.


Detailed Description

Static proxy class that gets us access to Xapian.

Although this class is defined as public, it is not meant to be used outside this package. It is available for those that desire lower-level access to Xapian without going through the API classes in this package.

Definition at line 40 of file XapianJNI.java.


Static Public Member Functions

static native long auto_open (String path, int mode) throws XapianError
static native long auto_open (String path) throws XapianError
static native long auto_open_stub (String path) throws XapianError
static native void database_add_database (long dbid, long toadd_id) throws XapianError
static native long database_allterms_begin (long dbid) throws XapianError
static native long database_allterms_end (long dbid) throws XapianError
static native void database_finalize (long dbid)
static native double database_get_avlength (long dbid) throws XapianError
static native int database_get_collection_freq (long dbid, String term) throws XapianError
static native String database_get_description (long dbid) throws XapianError
static native int database_get_doccount (long dbid) throws XapianError
static native double database_get_doclength (long dbid, long assigned_docid) throws XapianError
static native long database_get_document (long dbid, long assigned_docid) throws XapianError, DocNotFoundError
static native long database_get_lastdocid (long dbid) throws XapianError
static native int database_get_termfreq (long dbid, String term) throws XapianError
static native void database_keep_alive (long dbid) throws XapianError
static native long database_new (long dbid) throws XapianError
static native long database_new (String path) throws XapianError
static native long database_new () throws XapianError
static native long database_positionlist_begin (long dbid, long dbdocid, String term) throws XapianError
static native long database_positionlist_end (long dbid, long dbdocid, String term) throws XapianError
static native long database_postlist_begin (long dbid, String term) throws XapianError
static native long database_postlist_end (long dbid, String term) throws XapianError
static native void database_reopen (long dbid) throws XapianError
static native boolean database_term_exists (long dbid, String term) throws XapianError
static native long database_termlist_begin (long dbid, long assigned_docid) throws XapianError
static native long database_termlist_end (long dbid, long assigned_docid) throws XapianError
static native String docment_get_value (long docid, int value_index) throws XapianError
static native void document_add_posting (long docid, String term, int position) throws XapianError, InvalidArgumentError
static native void document_add_term (long docid, String term) throws XapianError, InvalidArgumentError
static void document_add_term_nopos (long docid, String term) throws XapianError, InvalidArgumentError
static native void document_add_value (long docid, int value_index, String value) throws XapianError, InvalidArgumentError
static native void document_clear_terms (long docid) throws XapianError
static native void document_clear_values (long docid) throws XapianError
static native void document_finalize (long docid)
static native String document_get_data (long docid) throws XapianError
static native String document_get_description (long docid) throws XapianError
static native long document_new (long docid) throws XapianError
static native long document_new () throws XapianError
static native void document_remove_posting (long docid, String term, int position) throws XapianError, InvalidArgumentError
static native void document_remove_term (long docid, String term) throws XapianError, InvalidArgumentError
static native void document_remove_value (long docid, int value_index) throws XapianError, InvalidArgumentError
static native void document_set_data (long docid, String data) throws XapianError, InvalidArgumentError
static native int document_termlist_count (long docid) throws XapianError
static native int document_values_count (long docid) throws XapianError
static native void enquire_finalize (long eid)
static native String enquire_get_description (long eid) throws XapianError
static native long enquire_get_eset (long eid, long maxitems, long rsetid, ExpandDecider ed) throws XapianError
static native long enquire_get_eset (long eid, long maxitems, long rsetid, int flags, double k, ExpandDecider ed) throws XapianError
static native long enquire_get_matching_terms_begin (long eid, long dbdocid) throws XapianError
static native long enquire_get_matching_terms_begin_by_msetiterator (long eid, long msetiteratorid) throws XapianError
static native long enquire_get_matching_terms_end (long eid, long dbdocid) throws XapianError
static native long enquire_get_matching_terms_end_by_msetiterator (long eid, long msetiteratorid) throws XapianError
static native long enquire_get_mset (long eid, long first, long maxitems, long rsetid, MatchDecider md) throws XapianError
static native long enquire_get_query (long eid) throws XapianError
static native long enquire_new (long dbid) throws XapianError
static native void enquire_register_match_decider (long eid, String name, MatchDecider md) throws XapianError
static native void enquire_set_collapse_key (long eid, long collapse_key) throws XapianError
static native void enquire_set_cutoff (long eid, int percent_cutoff, double weight_cutoff) throws XapianError
static native void enquire_set_query (long eid, long queryid, int qlen) throws XapianError
static native void enquire_set_query (long eid, long queryid) throws XapianError
static native void enquire_set_sort_forward (long eid, boolean forward) throws XapianError
static native void enquire_set_sorting (long eid, long sort_key, int sort_bands) throws XapianError
static native long eset_begin (long esetid) throws XapianError
static native boolean eset_empty (long esetid) throws XapianError
static native long eset_end (long esetid) throws XapianError
static native void eset_finalize (long esetid)
static native String eset_get_description (long esetid) throws XapianError
static native long eset_get_ebound (long esetid) throws XapianError
static native long eset_new () throws XapianError
static native long eset_size (long esetid) throws XapianError
static native boolean esetiterator_equals (long a, long b) throws XapianError
static native void esetiterator_finalize (long esetiteratorid)
static native String esetiterator_get (long esetiteratorid) throws XapianError
static native String esetiterator_get_description (long esetiteratorid) throws XapianError
static native double esetiterator_get_weight (long esetiteratorid) throws XapianError
static native long esetiterator_new () throws XapianError
static native void esetiterator_next (long esetiteratorid) throws XapianError
static native void esetiterator_prev (long esetiteratorid) throws XapianError
static native long inmemory_open () throws XapianError
static native long mset_back (long msetid) throws XapianError
static native long mset_begin (long msetid) throws XapianError
static native int mset_convert_to_percent (long msetid, double weight) throws XapianError
static native int mset_convert_to_percent (long msetid, long other_msetid) throws XapianError
static native long mset_element (long msetid, long index) throws XapianError
static native boolean mset_empty (long msetid) throws XapianError
static native long mset_end (long msetid) throws XapianError
static native void mset_finalize (long msetid)
static native String mset_get_description (long msetid) throws XapianError
static native int mset_get_firstitem (long msetid) throws XapianError
static native int mset_get_matches_estimated (long msetid) throws XapianError
static native int mset_get_matches_lower_bound (long msetid) throws XapianError
static native int mset_get_matches_upper_bound (long msetid) throws XapianError
static native double mset_get_max_attained (long msetid) throws XapianError
static native double mset_get_max_possible (long msetid) throws XapianError
static native int mset_get_termfreq (long msetid, String term) throws XapianError, InvalidArgumentError
static native double mset_get_termweight (long msetid, String term) throws XapianError, InvalidArgumentError
static native int mset_size (long msetid) throws XapianError
static native boolean msetiterator_equals (long a, long b) throws XapianError
static native void msetiterator_finalize (long msetiteratorid)
static native int msetiterator_get_collapse_count (long msetiteratorid) throws XapianError
static native long msetiterator_get_db_docid (long msetiteratorid) throws XapianError
static native String msetiterator_get_description (long msetiteratorid) throws XapianError
static native long msetiterator_get_document (long msetiteratorid) throws XapianError, DocNotFoundError
static native int msetiterator_get_percent (long msetiteratorid) throws XapianError
static native int msetiterator_get_rank (long msetiteratorid) throws XapianError
static native double msetiterator_get_weight (long msetiteratorid) throws XapianError
static native void msetiterator_next (long msetiteratorid) throws XapianError
static native void msetiterator_prev (long msetiteratorid) throws XapianError
static native long muscat36_open_da (String db, String values, long cache_size) throws XapianError
static long muscat36_open_da (String db, long cache_size) throws XapianError
static long muscat36_open_da (String db) throws XapianError
static native long muscat36_open_da (String r, String t, String values, boolean heavy_duty) throws XapianError
static native long muscat36_open_da (String r, String t, boolean heavy_duty) throws XapianError
static native boolean positioniterator_equals (long a, long b) throws XapianError
static native void positioniterator_finalize (long id)
static native String positioniterator_get_description (long id) throws XapianError
static native long positioniterator_getvalue (long id) throws XapianError
static native void positioniterator_next (long id) throws XapianError
static native long quartz_open (String dir, int action, int block_size) throws XapianError
static long quartz_open (String dir, int action) throws XapianError
static native long quartz_open (String dir) throws XapianError
static native boolean query_empty (long id) throws XapianError
static native void query_finalize (long id)
static native String query_get_description (long id) throws XapianError
static native long query_get_length (long id) throws XapianError
static native long query_new (int operator, long id) throws XapianError
static native long query_new (int operator, long[] queries) throws XapianError
static native long query_new (int operator, String[] terms) throws XapianError
static native long query_new (int operator, String left, String right) throws XapianError
static native long query_new (int operator, long left, long right) throws XapianError
static native long query_new (String term, int wqf, int pos) throws XapianError
static native long query_new (String term, int wqf) throws XapianError
static native long query_new (String term) throws XapianError
static native long query_new () throws XapianError
static native long query_terms_begin (long id) throws XapianError
static native long query_terms_end (long id) throws XapianError
static native long remote_open (String host, int port, int timeout, int connect_timeout) throws XapianError
static long remote_open (String host, int port) throws XapianError
static native long remote_open (String program, String args, int timeout) throws XapianError
static long remote_open (String program, String args) throws XapianError
static native void rset_add_document (long rsetid, long dbdocid) throws XapianError
static native void rset_add_document_via_msetiterator (long rsetid, long msetiteratorid) throws XapianError
static native boolean rset_contains (long rsetid, long dbdocid) throws XapianError
static native boolean rset_contains_via_msetiterator (long rsetid, long msetiteratorid) throws XapianError
static native boolean rset_empty (long rsetid) throws XapianError
static native void rset_finalize (long rsetid)
static native String rset_get_description (long rsetid) throws XapianError
static native long rset_new () throws XapianError
static native void rset_remove_document (long rsetid, long dbdocid) throws XapianError
static native void rset_remove_document_via_msetiterator (long rsetid, long msetiteratorid) throws XapianError
static native long rset_size (long rsetid) throws XapianError
static native void stem_finalize (long stemid)
static native String stem_get_available_languages () throws XapianError
static native String stem_get_description (long stemid) throws XapianError
static native long stem_new (String language) throws XapianError
static native long stem_new () throws XapianError
static native String stem_stem_word (long stemid, String word) throws XapianError
static native boolean termiterator_equals (long a, long b) throws XapianError
static native void termiterator_finalize (long termiteratorid)
static native String termiterator_get_description (long termiteratorid) throws XapianError
static native int termiterator_get_term_freq (long termiteratorid) throws XapianError
static native String termiterator_get_termname (long termiteratorid) throws XapianError
static native long termiterator_get_wdf (long termiteratorid) throws XapianError
static native void termiterator_next (long termiteratorid) throws XapianError
static native long termiterator_positionlist_begin (long termiteratorid) throws XapianError
static native long termiterator_positionlist_end (long termiteratorid) throws XapianError
static native void termiterator_skip_to (long termiteratorid, String term) throws XapianError
static native long writabledatabase_add_document (long dbid, long docid) throws DatabaseError, DatabaseCorruptError, DatabaseLockError, XapianError
static native void writabledatabase_begin_transaction (long dbid) throws UnimplementedError, InvalidOperationError, XapianError
static native void writabledatabase_cancel_transaction (long dbid) throws DatabaseError, DatabaseCorruptError, InvalidOperationError, UnimplementedError, XapianError
static native void writabledatabase_commit_transaction (long dbid) throws DatabaseError, DatabaseCorruptError, InvalidOperationError, UnimplementedError, XapianError
static native void writabledatabase_delete_document (long dbid, long assigned_docid) throws DatabaseError, DatabaseCorruptError, DatabaseLockError, XapianError
static native void writabledatabase_finalize (long dbid)
static native void writabledatabase_flush (long dbid) throws DatabaseError, DatabaseCorruptError, DatabaseLockError, XapianError
static native String writabledatabase_get_description (long dbid) throws XapianError
static native long writabledatabase_new (String path, int mode) throws XapianError
static native long writabledatabase_new () throws XapianError
static native void writabledatabase_replace_document (long dbid, long assigned_docid, long docid) throws DatabaseError, DatabaseCorruptError, DatabaseLockError, XapianError

Static Public Attributes

static final int DB_CREATE = 2
static final int DB_CREATE_OR_OPEN = 1
static final int DB_CREATE_OR_OVERWRITE = 3
static final int DB_OPEN = 4

Static Package Functions

 [static initializer]

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index