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 / idversion / IDVersionPostingsFormat.h
Size: Mime:
#ifndef org_apache_lucene_codecs_idversion_IDVersionPostingsFormat_H
#define org_apache_lucene_codecs_idversion_IDVersionPostingsFormat_H

#include "org/apache/lucene/codecs/PostingsFormat.h"

namespace org {
  namespace apache {
    namespace lucene {
      namespace index {
        class SegmentReadState;
        class SegmentWriteState;
      }
      namespace codecs {
        class FieldsProducer;
        class FieldsConsumer;
      }
      namespace util {
        class BytesRef;
      }
    }
  }
}
namespace java {
  namespace lang {
    class Class;
  }
  namespace io {
    class IOException;
  }
}
template<class T> class JArray;

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

          class IDVersionPostingsFormat : public ::org::apache::lucene::codecs::PostingsFormat {
           public:
            enum {
              mid_init$_d7775b228e076e62,
              mid_init$_3addb8559d77fc6e,
              mid_bytesToLong_d41ba00d94651f92,
              mid_fieldsConsumer_40ff4c16eb2f2120,
              mid_fieldsProducer_6e8edd99a0469dda,
              mid_longToBytes_bc43d5f119bdfd43,
              max_mid
            };

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

            explicit IDVersionPostingsFormat(jobject obj) : ::org::apache::lucene::codecs::PostingsFormat(obj) {
              if (obj != NULL && mids$ == NULL)
                env->getClass(initializeClass);
            }
            IDVersionPostingsFormat(const IDVersionPostingsFormat& obj) : ::org::apache::lucene::codecs::PostingsFormat(obj) {}

            static jlong MAX_VERSION;
            static jlong MIN_VERSION;

            IDVersionPostingsFormat();
            IDVersionPostingsFormat(jint, jint);

            static jlong bytesToLong(const ::org::apache::lucene::util::BytesRef &);
            ::org::apache::lucene::codecs::FieldsConsumer fieldsConsumer(const ::org::apache::lucene::index::SegmentWriteState &) const;
            ::org::apache::lucene::codecs::FieldsProducer fieldsProducer(const ::org::apache::lucene::index::SegmentReadState &) const;
            static void longToBytes(jlong, const ::org::apache::lucene::util::BytesRef &);
          };
        }
      }
    }
  }
}

#include <Python.h>

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

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

#endif