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 / codecs / Codec.h
Size: Mime:
#ifndef org_apache_lucene_codecs_Codec_H
#define org_apache_lucene_codecs_Codec_H

#include "java/lang/Object.h"

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {
        class PostingsFormat;
        class TermVectorsFormat;
        class StoredFieldsFormat;
        class Codec;
        class PointsFormat;
        class LiveDocsFormat;
        class DocValuesFormat;
        class SegmentInfoFormat;
        class CompoundFormat;
        class NormsFormat;
        class FieldInfosFormat;
      }
      namespace util {
        class NamedSPILoader$NamedSPI;
      }
    }
  }
}
namespace java {
  namespace lang {
    class String;
    class Class;
    class ClassLoader;
  }
  namespace util {
    class Set;
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {

        class Codec : public ::java::lang::Object {
         public:
          enum {
            mid_availableCodecs_0f146b3deb900c94,
            mid_compoundFormat_b978a2b295461573,
            mid_docValuesFormat_cf13247297b208d7,
            mid_fieldInfosFormat_9e196ee308dd376a,
            mid_forName_dddfe999c2aefb58,
            mid_getDefault_76f248b159f8bc56,
            mid_getName_a6d454b6117bc1ba,
            mid_liveDocsFormat_d4acde66c690f13e,
            mid_normsFormat_09e796f7d94251b8,
            mid_pointsFormat_7b7565326e2aab5c,
            mid_postingsFormat_40f5ec5a4fb297ed,
            mid_reloadCodecs_230da0363a6f95d6,
            mid_segmentInfoFormat_e27f711d0b61b917,
            mid_setDefault_eec6443635d05d56,
            mid_storedFieldsFormat_2b53a5a394310616,
            mid_termVectorsFormat_03bb519a71b68f55,
            mid_toString_a6d454b6117bc1ba,
            max_mid
          };

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

          explicit Codec(jobject obj) : ::java::lang::Object(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          Codec(const Codec& obj) : ::java::lang::Object(obj) {}

          static ::java::util::Set availableCodecs();
          ::org::apache::lucene::codecs::CompoundFormat compoundFormat() const;
          ::org::apache::lucene::codecs::DocValuesFormat docValuesFormat() const;
          ::org::apache::lucene::codecs::FieldInfosFormat fieldInfosFormat() const;
          static Codec forName(const ::java::lang::String &);
          static Codec getDefault();
          ::java::lang::String getName() const;
          ::org::apache::lucene::codecs::LiveDocsFormat liveDocsFormat() const;
          ::org::apache::lucene::codecs::NormsFormat normsFormat() const;
          ::org::apache::lucene::codecs::PointsFormat pointsFormat() const;
          ::org::apache::lucene::codecs::PostingsFormat postingsFormat() const;
          static void reloadCodecs(const ::java::lang::ClassLoader &);
          ::org::apache::lucene::codecs::SegmentInfoFormat segmentInfoFormat() const;
          static void setDefault(const Codec &);
          ::org::apache::lucene::codecs::StoredFieldsFormat storedFieldsFormat() const;
          ::org::apache::lucene::codecs::TermVectorsFormat termVectorsFormat() const;
          ::java::lang::String toString() const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {
        extern PyType_Def PY_TYPE_DEF(Codec);
        extern PyTypeObject *PY_TYPE(Codec);

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

#endif