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 / GroupReducer.h
Size: Mime:
#ifndef org_apache_lucene_search_grouping_GroupReducer_H
#define org_apache_lucene_search_grouping_GroupReducer_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Class;
  }
  namespace io {
    class IOException;
  }
  namespace util {
    class Collection;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        class Collector;
        class Scorer;
        namespace grouping {
          class SearchGroup;
        }
      }
      namespace index {
        class LeafReaderContext;
      }
    }
  }
}
template<class T> class JArray;

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

          class GroupReducer : public ::java::lang::Object {
           public:
            enum {
              mid_init$_d7775b228e076e62,
              mid_collect_a55d535f308eb795,
              mid_getCollector_777372b27e275d35,
              mid_needsScores_c20c2fcd6b89d9a9,
              mid_setGroups_056491ce59c66210,
              mid_setNextReader_cdc1ef7038a55870,
              mid_setScorer_227e197c0e123f98,
              mid_newCollector_71eb0ef445aa2932,
              max_mid
            };

            static ::java::lang::Class *class$;
            static jmethodID *mids$;
            static bool live$;
            static jclass initializeClass(bool);

            explicit GroupReducer(jobject obj) : ::java::lang::Object(obj) {
              if (obj != NULL && mids$ == NULL)
                env->getClass(initializeClass);
            }
            GroupReducer(const GroupReducer& obj) : ::java::lang::Object(obj) {}

            GroupReducer();

            void collect(const ::java::lang::Object &, jint) const;
            ::org::apache::lucene::search::Collector getCollector(const ::java::lang::Object &) const;
            jboolean needsScores() const;
            void setGroups(const ::java::util::Collection &) const;
            void setNextReader(const ::org::apache::lucene::index::LeafReaderContext &) 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(GroupReducer);
          extern PyTypeObject *PY_TYPE(GroupReducer);

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

#endif