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 / index / LegacyBinaryDocValuesWrapper.h
Size: Mime:
#ifndef org_apache_lucene_index_LegacyBinaryDocValuesWrapper_H
#define org_apache_lucene_index_LegacyBinaryDocValuesWrapper_H

#include "org/apache/lucene/index/BinaryDocValues.h"

namespace java {
  namespace lang {
    class Class;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        class Bits;
        class BytesRef;
      }
      namespace index {
        class LegacyBinaryDocValues;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace index {

        class LegacyBinaryDocValuesWrapper : public ::org::apache::lucene::index::BinaryDocValues {
         public:
          enum {
            mid_init$_17b7484ebd9cd169,
            mid_advance_898568c95ed890a7,
            mid_advanceExact_b9777742cbbb5232,
            mid_binaryValue_0c5811435dd00c85,
            mid_cost_062ad918b5794303,
            mid_docID_9135e6328d9d7dfd,
            mid_nextDoc_9135e6328d9d7dfd,
            max_mid
          };

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

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

          LegacyBinaryDocValuesWrapper(const ::org::apache::lucene::util::Bits &, const ::org::apache::lucene::index::LegacyBinaryDocValues &);

          jint advance(jint) const;
          jboolean advanceExact(jint) const;
          ::org::apache::lucene::util::BytesRef binaryValue() const;
          jlong cost() const;
          jint docID() const;
          jint nextDoc() const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace index {
        extern PyType_Def PY_TYPE_DEF(LegacyBinaryDocValuesWrapper);
        extern PyTypeObject *PY_TYPE(LegacyBinaryDocValuesWrapper);

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

#endif