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

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

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

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

        class LegacySortedNumericDocValuesWrapper : public ::org::apache::lucene::index::SortedNumericDocValues {
         public:
          enum {
            mid_init$_5e16291feb2d8ef8,
            mid_advance_898568c95ed890a7,
            mid_advanceExact_b9777742cbbb5232,
            mid_cost_062ad918b5794303,
            mid_docID_9135e6328d9d7dfd,
            mid_docValueCount_9135e6328d9d7dfd,
            mid_nextDoc_9135e6328d9d7dfd,
            mid_nextValue_062ad918b5794303,
            max_mid
          };

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

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

          LegacySortedNumericDocValuesWrapper(const ::org::apache::lucene::index::LegacySortedNumericDocValues &, jint);

          jint advance(jint) const;
          jboolean advanceExact(jint) const;
          jlong cost() const;
          jint docID() const;
          jint docValueCount() const;
          jint nextDoc() const;
          jlong nextValue() const;
        };
      }
    }
  }
}

#include <Python.h>

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

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

#endif