Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_pylucene_analysis_PythonAnalyzer_H
#define org_apache_pylucene_analysis_PythonAnalyzer_H
#include "org/apache/lucene/analysis/Analyzer.h"
namespace java {
namespace lang {
class String;
class Class;
class Throwable;
}
namespace io {
class Reader;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
class Analyzer$TokenStreamComponents;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace pylucene {
namespace analysis {
class PythonAnalyzer : public ::org::apache::lucene::analysis::Analyzer {
public:
enum {
mid_init$_d7775b228e076e62,
mid_createComponents_07ccfb9673646cab,
mid_finalize_d7775b228e076e62,
mid_initReader_ebdb45f0ef42522a,
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 PythonAnalyzer(jobject obj) : ::org::apache::lucene::analysis::Analyzer(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
PythonAnalyzer(const PythonAnalyzer& obj) : ::org::apache::lucene::analysis::Analyzer(obj) {}
PythonAnalyzer();
::org::apache::lucene::analysis::Analyzer$TokenStreamComponents createComponents(const ::java::lang::String &) const;
void finalize() const;
::java::io::Reader initReader(const ::java::lang::String &, const ::java::io::Reader &) const;
void pythonDecRef() const;
jlong pythonExtension() const;
void pythonExtension(jlong) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace pylucene {
namespace analysis {
extern PyType_Def PY_TYPE_DEF(PythonAnalyzer);
extern PyTypeObject *PY_TYPE(PythonAnalyzer);
class t_PythonAnalyzer {
public:
PyObject_HEAD
PythonAnalyzer object;
static PyObject *wrap_Object(const PythonAnalyzer&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif