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

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Exception;
    class String;
    class Class;
  }
  namespace nio {
    namespace file {
      class Path;
    }
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace index {
        class SegmentInfos;
      }
    }
  }
}
template<class T> class JArray;

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

        class IndexSplitter : public ::java::lang::Object {
         public:
          enum {
            mid_init$_16fa6ab1867eba67,
            mid_listSegments_d7775b228e076e62,
            mid_main_0351455f15f07047,
            mid_remove_0351455f15f07047,
            mid_split_851c85e67a7dc167,
            max_mid
          };

          enum {
            fid_infos,
            max_fid
          };

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

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

          ::org::apache::lucene::index::SegmentInfos _get_infos() const;

          IndexSplitter(const ::java::nio::file::Path &);

          void listSegments() const;
          static void main(const JArray< ::java::lang::String > &);
          void remove(const JArray< ::java::lang::String > &) const;
          void split(const ::java::nio::file::Path &, const JArray< ::java::lang::String > &) const;
        };
      }
    }
  }
}

#include <Python.h>

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

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

#endif