Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_suggest_document_ContextQuery_H
#define org_apache_lucene_search_suggest_document_ContextQuery_H
#include "org/apache/lucene/search/suggest/document/CompletionQuery.h"
namespace java {
namespace lang {
class String;
class Class;
class Object;
class CharSequence;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
class IndexSearcher;
class Weight;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace suggest {
namespace document {
class ContextQuery : public ::org::apache::lucene::search::suggest::document::CompletionQuery {
public:
enum {
mid_init$_802986f24d37539d,
mid_addAllContexts_d7775b228e076e62,
mid_addContext_0fb90178ba9dbd15,
mid_addContext_b25058d48414d00c,
mid_addContext_b1a1e8cbd1569c51,
mid_createWeight_68609b1af132dcdc,
mid_equals_ac708f0101821708,
mid_hashCode_9135e6328d9d7dfd,
mid_toString_b6b89aa915f3be5f,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ContextQuery(jobject obj) : ::org::apache::lucene::search::suggest::document::CompletionQuery(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ContextQuery(const ContextQuery& obj) : ::org::apache::lucene::search::suggest::document::CompletionQuery(obj) {}
ContextQuery(const ::org::apache::lucene::search::suggest::document::CompletionQuery &);
void addAllContexts() const;
void addContext(const ::java::lang::CharSequence &) const;
void addContext(const ::java::lang::CharSequence &, jfloat) const;
void addContext(const ::java::lang::CharSequence &, jfloat, jboolean) const;
::org::apache::lucene::search::Weight createWeight(const ::org::apache::lucene::search::IndexSearcher &, jboolean, jfloat) const;
jboolean equals(const ::java::lang::Object &) const;
jint hashCode() const;
::java::lang::String toString(const ::java::lang::String &) const;
};
}
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace suggest {
namespace document {
extern PyType_Def PY_TYPE_DEF(ContextQuery);
extern PyTypeObject *PY_TYPE(ContextQuery);
class t_ContextQuery {
public:
PyObject_HEAD
ContextQuery object;
static PyObject *wrap_Object(const ContextQuery&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
}
#endif