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

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

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

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

        class LegacySortedDocValuesWrapper : public ::org::apache::lucene::index::SortedDocValues {
         public:
          enum {
            mid_init$_1db4ee49e85e80bf,
            mid_advance_898568c95ed890a7,
            mid_advanceExact_b9777742cbbb5232,
            mid_cost_062ad918b5794303,
            mid_docID_9135e6328d9d7dfd,
            mid_getValueCount_9135e6328d9d7dfd,
            mid_lookupOrd_0e4174f92283fc0c,
            mid_nextDoc_9135e6328d9d7dfd,
            mid_ordValue_9135e6328d9d7dfd,
            max_mid
          };

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

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

          LegacySortedDocValuesWrapper(const ::org::apache::lucene::index::LegacySortedDocValues &, jint);

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

#include <Python.h>

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

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

#endif