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 / codecs / FieldsConsumer.h
Size: Mime:
#ifndef org_apache_lucene_codecs_FieldsConsumer_H
#define org_apache_lucene_codecs_FieldsConsumer_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Class;
  }
  namespace io {
    class IOException;
    class Closeable;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace index {
        class Fields;
        class MergeState;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {

        class FieldsConsumer : public ::java::lang::Object {
         public:
          enum {
            mid_close_d7775b228e076e62,
            mid_merge_56bbbcbab40e765d,
            mid_write_eb6c8bcebf87a246,
            max_mid
          };

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

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

          void close() const;
          void merge(const ::org::apache::lucene::index::MergeState &) const;
          void write(const ::org::apache::lucene::index::Fields &) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {
        extern PyType_Def PY_TYPE_DEF(FieldsConsumer);
        extern PyTypeObject *PY_TYPE(FieldsConsumer);

        class t_FieldsConsumer {
        public:
          PyObject_HEAD
          FieldsConsumer object;
          static PyObject *wrap_Object(const FieldsConsumer&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif