Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_Term_H
#define org_apache_lucene_index_Term_H
#include "java/lang/Object.h"
namespace org {
namespace apache {
namespace lucene {
namespace util {
class BytesRefBuilder;
class BytesRef;
}
namespace index {
class Term;
}
}
}
}
namespace java {
namespace lang {
class String;
class Class;
class Comparable;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class Term : public ::java::lang::Object {
public:
enum {
mid_init$_d1402cb7ea6d4983,
mid_init$_9bb4c9427a947ae3,
mid_init$_7fa712f91dba9beb,
mid_init$_3dcb316c672415f6,
mid_bytes_0c5811435dd00c85,
mid_compareTo_fc3834f4ec1a2e0c,
mid_equals_ac708f0101821708,
mid_field_a6d454b6117bc1ba,
mid_hashCode_9135e6328d9d7dfd,
mid_text_a6d454b6117bc1ba,
mid_toString_a6d454b6117bc1ba,
mid_toString_5120b99808a4677d,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit Term(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
Term(const Term& obj) : ::java::lang::Object(obj) {}
Term(const ::java::lang::String &);
Term(const ::java::lang::String &, const ::java::lang::String &);
Term(const ::java::lang::String &, const ::org::apache::lucene::util::BytesRefBuilder &);
Term(const ::java::lang::String &, const ::org::apache::lucene::util::BytesRef &);
::org::apache::lucene::util::BytesRef bytes() const;
jint compareTo(const Term &) const;
jboolean equals(const ::java::lang::Object &) const;
::java::lang::String field() const;
jint hashCode() const;
::java::lang::String text() const;
::java::lang::String toString() const;
static ::java::lang::String toString(const ::org::apache::lucene::util::BytesRef &);
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(Term);
extern PyTypeObject *PY_TYPE(Term);
class t_Term {
public:
PyObject_HEAD
Term object;
static PyObject *wrap_Object(const Term&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif