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

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

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

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

        class LegacyNumericDocValuesWrapper : public ::org::apache::lucene::index::NumericDocValues {
         public:
          enum {
            mid_init$_5f590bb220954ebf,
            mid_advance_898568c95ed890a7,
            mid_advanceExact_b9777742cbbb5232,
            mid_cost_062ad918b5794303,
            mid_docID_9135e6328d9d7dfd,
            mid_longValue_062ad918b5794303,
            mid_nextDoc_9135e6328d9d7dfd,
            mid_toString_a6d454b6117bc1ba,
            max_mid
          };

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

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

          LegacyNumericDocValuesWrapper(const ::org::apache::lucene::util::Bits &, const ::org::apache::lucene::index::LegacyNumericDocValues &);

          jint advance(jint) const;
          jboolean advanceExact(jint) const;
          jlong cost() const;
          jint docID() const;
          jlong longValue() const;
          jint nextDoc() const;
          ::java::lang::String toString() const;
        };
      }
    }
  }
}

#include <Python.h>

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

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

#endif