Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_PrefixQuery_H
#define org_apache_lucene_search_PrefixQuery_H
#include "org/apache/lucene/search/AutomatonQuery.h"
namespace org {
namespace apache {
namespace lucene {
namespace util {
namespace automaton {
class Automaton;
}
class BytesRef;
}
namespace index {
class Term;
}
}
}
}
namespace java {
namespace lang {
class String;
class Class;
class Object;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
class PrefixQuery : public ::org::apache::lucene::search::AutomatonQuery {
public:
enum {
mid_init$_36f98207de53ae96,
mid_equals_ac708f0101821708,
mid_getPrefix_8f857151e66a564e,
mid_hashCode_9135e6328d9d7dfd,
mid_toAutomaton_4f7337698a4c1514,
mid_toString_b6b89aa915f3be5f,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit PrefixQuery(jobject obj) : ::org::apache::lucene::search::AutomatonQuery(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
PrefixQuery(const PrefixQuery& obj) : ::org::apache::lucene::search::AutomatonQuery(obj) {}
PrefixQuery(const ::org::apache::lucene::index::Term &);
jboolean equals(const ::java::lang::Object &) const;
::org::apache::lucene::index::Term getPrefix() const;
jint hashCode() const;
static ::org::apache::lucene::util::automaton::Automaton toAutomaton(const ::org::apache::lucene::util::BytesRef &);
::java::lang::String toString(const ::java::lang::String &) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
extern PyType_Def PY_TYPE_DEF(PrefixQuery);
extern PyTypeObject *PY_TYPE(PrefixQuery);
class t_PrefixQuery {
public:
PyObject_HEAD
PrefixQuery object;
static PyObject *wrap_Object(const PrefixQuery&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif