Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_util_BitSetIterator_H
#define org_apache_lucene_util_BitSetIterator_H
#include "org/apache/lucene/search/DocIdSetIterator.h"
namespace org {
namespace apache {
namespace lucene {
namespace util {
class BitSet;
class SparseFixedBitSet;
class FixedBitSet;
}
}
}
}
namespace java {
namespace lang {
class Class;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace util {
class BitSetIterator : public ::org::apache::lucene::search::DocIdSetIterator {
public:
enum {
mid_init$_e729b147f0706412,
mid_advance_898568c95ed890a7,
mid_cost_062ad918b5794303,
mid_docID_9135e6328d9d7dfd,
mid_getBitSet_f53ffd8ff07caea9,
mid_getFixedBitSetOrNull_f7ff22fa0e6876c7,
mid_getSparseFixedBitSetOrNull_f64d8413fb453411,
mid_nextDoc_9135e6328d9d7dfd,
mid_setDocId_54889bef30791899,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit BitSetIterator(jobject obj) : ::org::apache::lucene::search::DocIdSetIterator(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
BitSetIterator(const BitSetIterator& obj) : ::org::apache::lucene::search::DocIdSetIterator(obj) {}
BitSetIterator(const ::org::apache::lucene::util::BitSet &, jlong);
jint advance(jint) const;
jlong cost() const;
jint docID() const;
::org::apache::lucene::util::BitSet getBitSet() const;
static ::org::apache::lucene::util::FixedBitSet getFixedBitSetOrNull(const ::org::apache::lucene::search::DocIdSetIterator &);
static ::org::apache::lucene::util::SparseFixedBitSet getSparseFixedBitSetOrNull(const ::org::apache::lucene::search::DocIdSetIterator &);
jint nextDoc() const;
void setDocId(jint) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace util {
extern PyType_Def PY_TYPE_DEF(BitSetIterator);
extern PyTypeObject *PY_TYPE(BitSetIterator);
class t_BitSetIterator {
public:
PyObject_HEAD
BitSetIterator object;
static PyObject *wrap_Object(const BitSetIterator&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif