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

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

namespace org {
  namespace apache {
    namespace lucene {
      namespace index {
        class SortedDocValues;
        class IndexReader$CacheHelper;
        class BinaryDocValues;
        class PostingsEnum;
        class Term;
        class SortedNumericDocValues;
        class FieldInfos;
        class LeafMetaData;
        class Terms;
        class SortedSetDocValues;
        class LeafReaderContext;
        class NumericDocValues;
        class PointValues;
      }
      namespace util {
        class Bits;
      }
    }
  }
}
namespace java {
  namespace lang {
    class Class;
    class String;
  }
  namespace io {
    class IOException;
  }
}
template<class T> class JArray;

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

        class LeafReader : public ::org::apache::lucene::index::IndexReader {
         public:
          enum {
            mid_checkIntegrity_d7775b228e076e62,
            mid_docFreq_fc3834f4ec1a2e0c,
            mid_getBinaryDocValues_30d59ed5dea41c75,
            mid_getContext_e533b51134c5f311,
            mid_getCoreCacheHelper_a813abb8bb368117,
            mid_getDocCount_8a3ef3a507fbe37b,
            mid_getFieldInfos_15c57a59cd24ddb2,
            mid_getLiveDocs_62de8b2c07a61ba9,
            mid_getMetaData_6404bcb63f0cc85f,
            mid_getNormValues_155234d2af55b5e3,
            mid_getNumericDocValues_155234d2af55b5e3,
            mid_getPointValues_b80cf180a90f0c27,
            mid_getSortedDocValues_826a6aade1314201,
            mid_getSortedNumericDocValues_ef2f9068afb9a2eb,
            mid_getSortedSetDocValues_acabec611f2826fa,
            mid_getSumDocFreq_ce399713da39cd21,
            mid_getSumTotalTermFreq_ce399713da39cd21,
            mid_postings_eeba4f54bcaeb2c1,
            mid_postings_bdf6cc4a9dfa95d2,
            mid_terms_20505e497919c534,
            mid_totalTermFreq_76dd1cc5e3a26652,
            max_mid
          };

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

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

          void checkIntegrity() const;
          jint docFreq(const ::org::apache::lucene::index::Term &) const;
          ::org::apache::lucene::index::BinaryDocValues getBinaryDocValues(const ::java::lang::String &) const;
          ::org::apache::lucene::index::LeafReaderContext getContext() const;
          ::org::apache::lucene::index::IndexReader$CacheHelper getCoreCacheHelper() const;
          jint getDocCount(const ::java::lang::String &) const;
          ::org::apache::lucene::index::FieldInfos getFieldInfos() const;
          ::org::apache::lucene::util::Bits getLiveDocs() const;
          ::org::apache::lucene::index::LeafMetaData getMetaData() const;
          ::org::apache::lucene::index::NumericDocValues getNormValues(const ::java::lang::String &) const;
          ::org::apache::lucene::index::NumericDocValues getNumericDocValues(const ::java::lang::String &) const;
          ::org::apache::lucene::index::PointValues getPointValues(const ::java::lang::String &) const;
          ::org::apache::lucene::index::SortedDocValues getSortedDocValues(const ::java::lang::String &) const;
          ::org::apache::lucene::index::SortedNumericDocValues getSortedNumericDocValues(const ::java::lang::String &) const;
          ::org::apache::lucene::index::SortedSetDocValues getSortedSetDocValues(const ::java::lang::String &) const;
          jlong getSumDocFreq(const ::java::lang::String &) const;
          jlong getSumTotalTermFreq(const ::java::lang::String &) const;
          ::org::apache::lucene::index::PostingsEnum postings(const ::org::apache::lucene::index::Term &) const;
          ::org::apache::lucene::index::PostingsEnum postings(const ::org::apache::lucene::index::Term &, jint) const;
          ::org::apache::lucene::index::Terms terms(const ::java::lang::String &) const;
          jlong totalTermFreq(const ::org::apache::lucene::index::Term &) const;
        };
      }
    }
  }
}

#include <Python.h>

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

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

#endif