Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_TermContext_H
#define org_apache_lucene_index_TermContext_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace index {
class Term;
class IndexReaderContext;
class TermState;
class TermContext;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class TermContext : public ::java::lang::Object {
public:
enum {
mid_init$_82242e17d0f82573,
mid_init$_60e307a2a199ab30,
mid_accumulateStatistics_e7822e9c668e5510,
mid_build_28fd07b13b7c5412,
mid_clear_d7775b228e076e62,
mid_docFreq_9135e6328d9d7dfd,
mid_get_2caf4bf31fca4f02,
mid_register_1e38e8a9f8340554,
mid_register_2c0ab0f20eb42d48,
mid_toString_a6d454b6117bc1ba,
mid_totalTermFreq_062ad918b5794303,
mid_wasBuiltFor_1be398c19a27ad75,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit TermContext(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
TermContext(const TermContext& obj) : ::java::lang::Object(obj) {}
TermContext(const ::org::apache::lucene::index::IndexReaderContext &);
TermContext(const ::org::apache::lucene::index::IndexReaderContext &, const ::org::apache::lucene::index::TermState &, jint, jint, jlong);
void accumulateStatistics(jint, jlong) const;
static TermContext build(const ::org::apache::lucene::index::IndexReaderContext &, const ::org::apache::lucene::index::Term &);
void clear() const;
jint docFreq() const;
::org::apache::lucene::index::TermState get(jint) const;
void register$(const ::org::apache::lucene::index::TermState &, jint) const;
void register$(const ::org::apache::lucene::index::TermState &, jint, jint, jlong) const;
::java::lang::String toString() const;
jlong totalTermFreq() const;
jboolean wasBuiltFor(const ::org::apache::lucene::index::IndexReaderContext &) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(TermContext);
extern PyTypeObject *PY_TYPE(TermContext);
class t_TermContext {
public:
PyObject_HEAD
TermContext object;
static PyObject *wrap_Object(const TermContext&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif