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 / store / NativeUnixDirectory.h
Size: Mime:
#ifndef org_apache_lucene_store_NativeUnixDirectory_H
#define org_apache_lucene_store_NativeUnixDirectory_H

#include "org/apache/lucene/store/FSDirectory.h"

namespace java {
  namespace lang {
    class Class;
    class String;
  }
  namespace nio {
    namespace file {
      class Path;
    }
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        class IOContext;
        class IndexOutput;
        class IndexInput;
        class LockFactory;
        class Directory;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {

        class NativeUnixDirectory : public ::org::apache::lucene::store::FSDirectory {
         public:
          enum {
            mid_init$_9f71592260220d6c,
            mid_init$_c35607dde82836c3,
            mid_init$_7d27b865f65f56a3,
            mid_createOutput_fcd40afc63179f73,
            mid_openInput_09fb272fde56ae2b,
            max_mid
          };

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

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

          static jint DEFAULT_MERGE_BUFFER_SIZE;
          static jlong DEFAULT_MIN_BYTES_DIRECT;

          NativeUnixDirectory(const ::java::nio::file::Path &, const ::org::apache::lucene::store::Directory &);
          NativeUnixDirectory(const ::java::nio::file::Path &, const ::org::apache::lucene::store::LockFactory &, const ::org::apache::lucene::store::Directory &);
          NativeUnixDirectory(const ::java::nio::file::Path &, jint, jlong, const ::org::apache::lucene::store::LockFactory &, const ::org::apache::lucene::store::Directory &);

          ::org::apache::lucene::store::IndexOutput createOutput(const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &) const;
          ::org::apache::lucene::store::IndexInput openInput(const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        extern PyType_Def PY_TYPE_DEF(NativeUnixDirectory);
        extern PyTypeObject *PY_TYPE(NativeUnixDirectory);

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

#endif