Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_TermAutomatonQuery_H
#define org_apache_lucene_search_TermAutomatonQuery_H
#include "org/apache/lucene/search/Query.h"
namespace java {
namespace lang {
class String;
class Class;
class Object;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
class IndexSearcher;
class Weight;
}
namespace util {
class BytesRef;
}
namespace index {
class IndexReader;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
class TermAutomatonQuery : public ::org::apache::lucene::search::Query {
public:
enum {
mid_init$_d1402cb7ea6d4983,
mid_addAnyTransition_3addb8559d77fc6e,
mid_addTransition_5dacef5856eb4f74,
mid_addTransition_401407a252b62f63,
mid_createState_9135e6328d9d7dfd,
mid_createWeight_68609b1af132dcdc,
mid_equals_ac708f0101821708,
mid_finish_d7775b228e076e62,
mid_finish_54889bef30791899,
mid_hashCode_9135e6328d9d7dfd,
mid_rewrite_ec4c0ff28b6bc68b,
mid_setAccept_25ba4d10ce4820e3,
mid_toDot_a6d454b6117bc1ba,
mid_toString_b6b89aa915f3be5f,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit TermAutomatonQuery(jobject obj) : ::org::apache::lucene::search::Query(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
TermAutomatonQuery(const TermAutomatonQuery& obj) : ::org::apache::lucene::search::Query(obj) {}
TermAutomatonQuery(const ::java::lang::String &);
void addAnyTransition(jint, jint) const;
void addTransition(jint, jint, const ::java::lang::String &) const;
void addTransition(jint, jint, const ::org::apache::lucene::util::BytesRef &) const;
jint createState() const;
::org::apache::lucene::search::Weight createWeight(const ::org::apache::lucene::search::IndexSearcher &, jboolean, jfloat) const;
jboolean equals(const ::java::lang::Object &) const;
void finish() const;
void finish(jint) const;
jint hashCode() const;
::org::apache::lucene::search::Query rewrite(const ::org::apache::lucene::index::IndexReader &) const;
void setAccept(jint, jboolean) const;
::java::lang::String toDot() const;
::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(TermAutomatonQuery);
extern PyTypeObject *PY_TYPE(TermAutomatonQuery);
class t_TermAutomatonQuery {
public:
PyObject_HEAD
TermAutomatonQuery object;
static PyObject *wrap_Object(const TermAutomatonQuery&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif