Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_grouping_AllGroupsCollector_H
#define org_apache_lucene_search_grouping_AllGroupsCollector_H
#include "org/apache/lucene/search/SimpleCollector.h"
namespace java {
namespace lang {
class Class;
}
namespace io {
class IOException;
}
namespace util {
class Collection;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
class Scorer;
namespace grouping {
class GroupSelector;
}
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace grouping {
class AllGroupsCollector : public ::org::apache::lucene::search::SimpleCollector {
public:
enum {
mid_init$_81ff659d70786af1,
mid_collect_54889bef30791899,
mid_getGroupCount_9135e6328d9d7dfd,
mid_getGroups_928c43133c03833e,
mid_needsScores_c20c2fcd6b89d9a9,
mid_setScorer_227e197c0e123f98,
mid_doSetNextReader_cdc1ef7038a55870,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit AllGroupsCollector(jobject obj) : ::org::apache::lucene::search::SimpleCollector(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
AllGroupsCollector(const AllGroupsCollector& obj) : ::org::apache::lucene::search::SimpleCollector(obj) {}
AllGroupsCollector(const ::org::apache::lucene::search::grouping::GroupSelector &);
void collect(jint) const;
jint getGroupCount() const;
::java::util::Collection getGroups() const;
jboolean needsScores() const;
void setScorer(const ::org::apache::lucene::search::Scorer &) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace grouping {
extern PyType_Def PY_TYPE_DEF(AllGroupsCollector);
extern PyTypeObject *PY_TYPE(AllGroupsCollector);
class t_AllGroupsCollector {
public:
PyObject_HEAD
AllGroupsCollector object;
PyTypeObject *parameters[1];
static PyTypeObject **parameters_(t_AllGroupsCollector *self)
{
return (PyTypeObject **) &(self->parameters);
}
static PyObject *wrap_Object(const AllGroupsCollector&);
static PyObject *wrap_jobject(const jobject&);
static PyObject *wrap_Object(const AllGroupsCollector&, PyTypeObject *);
static PyObject *wrap_jobject(const jobject&, PyTypeObject *);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif