Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_StandardDirectoryReader_H
#define org_apache_lucene_index_StandardDirectoryReader_H
#include "org/apache/lucene/index/DirectoryReader.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace util {
class List;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace index {
class LeafReader;
class IndexReader$CacheHelper;
class IndexCommit;
class SegmentInfos;
}
namespace store {
class Directory;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class StandardDirectoryReader : public ::org::apache::lucene::index::DirectoryReader {
public:
enum {
mid_getIndexCommit_c3b2c34a4addd83a,
mid_getReaderCacheHelper_a813abb8bb368117,
mid_getSegmentInfos_67d42dcc717f1391,
mid_getVersion_062ad918b5794303,
mid_isCurrent_c20c2fcd6b89d9a9,
mid_open_b1a54e1405406bf4,
mid_toString_a6d454b6117bc1ba,
mid_doClose_d7775b228e076e62,
mid_doOpenIfChanged_1facf56765070591,
mid_doOpenIfChanged_f4e351c83a43e04d,
mid_doOpenIfChanged_a41d4e85717e5ee0,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit StandardDirectoryReader(jobject obj) : ::org::apache::lucene::index::DirectoryReader(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
StandardDirectoryReader(const StandardDirectoryReader& obj) : ::org::apache::lucene::index::DirectoryReader(obj) {}
::org::apache::lucene::index::IndexCommit getIndexCommit() const;
::org::apache::lucene::index::IndexReader$CacheHelper getReaderCacheHelper() const;
::org::apache::lucene::index::SegmentInfos getSegmentInfos() const;
jlong getVersion() const;
jboolean isCurrent() const;
static ::org::apache::lucene::index::DirectoryReader open(const ::org::apache::lucene::store::Directory &, const ::org::apache::lucene::index::SegmentInfos &, const ::java::util::List &);
::java::lang::String toString() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(StandardDirectoryReader);
extern PyTypeObject *PY_TYPE(StandardDirectoryReader);
class t_StandardDirectoryReader {
public:
PyObject_HEAD
StandardDirectoryReader object;
PyTypeObject *parameters[1];
static PyTypeObject **parameters_(t_StandardDirectoryReader *self)
{
return (PyTypeObject **) &(self->parameters);
}
static PyObject *wrap_Object(const StandardDirectoryReader&);
static PyObject *wrap_jobject(const jobject&);
static PyObject *wrap_Object(const StandardDirectoryReader&, PyTypeObject *);
static PyObject *wrap_jobject(const jobject&, PyTypeObject *);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif