Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_spans_SpanBoostQuery_H
#define org_apache_lucene_search_spans_SpanBoostQuery_H
#include "org/apache/lucene/search/spans/SpanQuery.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;
namespace spans {
class SpanWeight;
}
class Query;
}
namespace index {
class IndexReader;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace spans {
class SpanBoostQuery : public ::org::apache::lucene::search::spans::SpanQuery {
public:
enum {
mid_init$_8de9b606b61a17ce,
mid_createWeight_05156080ac8ee83a,
mid_equals_ac708f0101821708,
mid_getBoost_2d3e9e78eeb8f24f,
mid_getField_a6d454b6117bc1ba,
mid_getQuery_a0dd47998481bed6,
mid_hashCode_9135e6328d9d7dfd,
mid_rewrite_ec4c0ff28b6bc68b,
mid_toString_b6b89aa915f3be5f,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit SpanBoostQuery(jobject obj) : ::org::apache::lucene::search::spans::SpanQuery(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
SpanBoostQuery(const SpanBoostQuery& obj) : ::org::apache::lucene::search::spans::SpanQuery(obj) {}
SpanBoostQuery(const ::org::apache::lucene::search::spans::SpanQuery &, jfloat);
::org::apache::lucene::search::spans::SpanWeight createWeight(const ::org::apache::lucene::search::IndexSearcher &, jboolean, jfloat) const;
jboolean equals(const ::java::lang::Object &) const;
jfloat getBoost() const;
::java::lang::String getField() const;
::org::apache::lucene::search::spans::SpanQuery getQuery() const;
jint hashCode() const;
::org::apache::lucene::search::Query rewrite(const ::org::apache::lucene::index::IndexReader &) const;
::java::lang::String toString(const ::java::lang::String &) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace spans {
extern PyType_Def PY_TYPE_DEF(SpanBoostQuery);
extern PyTypeObject *PY_TYPE(SpanBoostQuery);
class t_SpanBoostQuery {
public:
PyObject_HEAD
SpanBoostQuery object;
static PyObject *wrap_Object(const SpanBoostQuery&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif