Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_store_MMapDirectory_H
#define org_apache_lucene_store_MMapDirectory_H
#include "org/apache/lucene/store/FSDirectory.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace nio {
namespace file {
class Path;
}
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace store {
class IOContext;
class IndexInput;
class LockFactory;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace store {
class MMapDirectory : public ::org::apache::lucene::store::FSDirectory {
public:
enum {
mid_init$_16fa6ab1867eba67,
mid_init$_271ffbc32dc85086,
mid_init$_e5d9d8a2b844bc58,
mid_init$_92db5eb9653e1e63,
mid_getMaxChunkSize_9135e6328d9d7dfd,
mid_getPreload_c20c2fcd6b89d9a9,
mid_getUseUnmap_c20c2fcd6b89d9a9,
mid_openInput_09fb272fde56ae2b,
mid_setPreload_8a3e0c1a306942cb,
mid_setUseUnmap_8a3e0c1a306942cb,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit MMapDirectory(jobject obj) : ::org::apache::lucene::store::FSDirectory(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
MMapDirectory(const MMapDirectory& obj) : ::org::apache::lucene::store::FSDirectory(obj) {}
static jint DEFAULT_MAX_CHUNK_SIZE;
static ::java::lang::String *UNMAP_NOT_SUPPORTED_REASON;
static jboolean UNMAP_SUPPORTED;
MMapDirectory(const ::java::nio::file::Path &);
MMapDirectory(const ::java::nio::file::Path &, jint);
MMapDirectory(const ::java::nio::file::Path &, const ::org::apache::lucene::store::LockFactory &);
MMapDirectory(const ::java::nio::file::Path &, const ::org::apache::lucene::store::LockFactory &, jint);
jint getMaxChunkSize() const;
jboolean getPreload() const;
jboolean getUseUnmap() const;
::org::apache::lucene::store::IndexInput openInput(const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &) const;
void setPreload(jboolean) const;
void setUseUnmap(jboolean) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace store {
extern PyType_Def PY_TYPE_DEF(MMapDirectory);
extern PyTypeObject *PY_TYPE(MMapDirectory);
class t_MMapDirectory {
public:
PyObject_HEAD
MMapDirectory object;
static PyObject *wrap_Object(const MMapDirectory&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif