Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_pylucene_index_PythonIndexDeletionPolicy_H
#define org_apache_pylucene_index_PythonIndexDeletionPolicy_H
#include "org/apache/lucene/index/IndexDeletionPolicy.h"
namespace java {
namespace lang {
class Class;
class Throwable;
}
namespace util {
class List;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace index {
class IndexCommit;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace pylucene {
namespace index {
class PythonIndexDeletionPolicy : public ::org::apache::lucene::index::IndexDeletionPolicy {
public:
enum {
mid_init$_d7775b228e076e62,
mid_finalize_d7775b228e076e62,
mid_onCommit_4d1f55ceb80ffea6,
mid_onInit_4d1f55ceb80ffea6,
mid_pythonDecRef_d7775b228e076e62,
mid_pythonExtension_062ad918b5794303,
mid_pythonExtension_ea21977c7b14e0c0,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit PythonIndexDeletionPolicy(jobject obj) : ::org::apache::lucene::index::IndexDeletionPolicy(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
PythonIndexDeletionPolicy(const PythonIndexDeletionPolicy& obj) : ::org::apache::lucene::index::IndexDeletionPolicy(obj) {}
PythonIndexDeletionPolicy();
void finalize() const;
void onCommit(const ::java::util::List &) const;
void onInit(const ::java::util::List &) const;
void pythonDecRef() const;
jlong pythonExtension() const;
void pythonExtension(jlong) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace pylucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(PythonIndexDeletionPolicy);
extern PyTypeObject *PY_TYPE(PythonIndexDeletionPolicy);
class t_PythonIndexDeletionPolicy {
public:
PyObject_HEAD
PythonIndexDeletionPolicy object;
static PyObject *wrap_Object(const PythonIndexDeletionPolicy&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif