Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_pylucene_search_PythonSimpleCollector_H
#define org_apache_pylucene_search_PythonSimpleCollector_H
#include "org/apache/lucene/search/SimpleCollector.h"
namespace java {
namespace lang {
class Class;
class Throwable;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
class Scorer;
}
namespace index {
class LeafReaderContext;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace pylucene {
namespace search {
class PythonSimpleCollector : public ::org::apache::lucene::search::SimpleCollector {
public:
enum {
mid_init$_d7775b228e076e62,
mid_collect_54889bef30791899,
mid_collect_45c82cfdd1cae6f4,
mid_doSetNextReader_cdc1ef7038a55870,
mid_finalize_d7775b228e076e62,
mid_needsScores_c20c2fcd6b89d9a9,
mid_pythonDecRef_d7775b228e076e62,
mid_pythonExtension_062ad918b5794303,
mid_pythonExtension_ea21977c7b14e0c0,
mid_setScorer_227e197c0e123f98,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit PythonSimpleCollector(jobject obj) : ::org::apache::lucene::search::SimpleCollector(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
PythonSimpleCollector(const PythonSimpleCollector& obj) : ::org::apache::lucene::search::SimpleCollector(obj) {}
PythonSimpleCollector();
void collect(jint) const;
void collect(jint, jfloat) const;
void doSetNextReader(const ::org::apache::lucene::index::LeafReaderContext &) const;
void finalize() const;
jboolean needsScores() const;
void pythonDecRef() const;
jlong pythonExtension() const;
void pythonExtension(jlong) const;
void setScorer(const ::org::apache::lucene::search::Scorer &) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace pylucene {
namespace search {
extern PyType_Def PY_TYPE_DEF(PythonSimpleCollector);
extern PyTypeObject *PY_TYPE(PythonSimpleCollector);
class t_PythonSimpleCollector {
public:
PyObject_HEAD
PythonSimpleCollector object;
static PyObject *wrap_Object(const PythonSimpleCollector&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif