Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / search / grouping / FirstPassGroupingCollector.h
Size: Mime:
#ifndef org_apache_lucene_search_grouping_FirstPassGroupingCollector_H
#define org_apache_lucene_search_grouping_FirstPassGroupingCollector_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 Sort;
        class Scorer;
        namespace grouping {
          class SearchGroup;
          class GroupSelector;
        }
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        namespace grouping {

          class FirstPassGroupingCollector : public ::org::apache::lucene::search::SimpleCollector {
           public:
            enum {
              mid_init$_3edc2335b883a5c1,
              mid_collect_54889bef30791899,
              mid_getGroupSelector_efdfad7771d8dafd,
              mid_getTopGroups_ae4f13e3347cb27e,
              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 FirstPassGroupingCollector(jobject obj) : ::org::apache::lucene::search::SimpleCollector(obj) {
              if (obj != NULL && mids$ == NULL)
                env->getClass(initializeClass);
            }
            FirstPassGroupingCollector(const FirstPassGroupingCollector& obj) : ::org::apache::lucene::search::SimpleCollector(obj) {}

            FirstPassGroupingCollector(const ::org::apache::lucene::search::grouping::GroupSelector &, const ::org::apache::lucene::search::Sort &, jint);

            void collect(jint) const;
            ::org::apache::lucene::search::grouping::GroupSelector getGroupSelector() const;
            ::java::util::Collection getTopGroups(jint, jboolean) 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(FirstPassGroupingCollector);
          extern PyTypeObject *PY_TYPE(FirstPassGroupingCollector);

          class t_FirstPassGroupingCollector {
          public:
            PyObject_HEAD
            FirstPassGroupingCollector object;
            PyTypeObject *parameters[1];
            static PyTypeObject **parameters_(t_FirstPassGroupingCollector *self)
            {
              return (PyTypeObject **) &(self->parameters);
            }
            static PyObject *wrap_Object(const FirstPassGroupingCollector&);
            static PyObject *wrap_jobject(const jobject&);
            static PyObject *wrap_Object(const FirstPassGroupingCollector&, PyTypeObject *);
            static PyObject *wrap_jobject(const jobject&, PyTypeObject *);
            static void install(PyObject *module);
            static void initialize(PyObject *module);
          };
        }
      }
    }
  }
}

#endif