Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_spans_SpanQuery_H
#define org_apache_lucene_search_spans_SpanQuery_H
#include "org/apache/lucene/search/Query.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
}
namespace util {
class Map;
class Collection;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
class IndexSearcher;
namespace spans {
class SpanWeight;
}
}
namespace index {
class Term;
class TermContext;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace spans {
class SpanQuery : public ::org::apache::lucene::search::Query {
public:
enum {
mid_init$_d7775b228e076e62,
mid_createWeight_05156080ac8ee83a,
mid_getField_a6d454b6117bc1ba,
mid_getTermContexts_8e84111c6d2cd10b,
mid_getTermContexts_7e49b13fddb8a839,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit SpanQuery(jobject obj) : ::org::apache::lucene::search::Query(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
SpanQuery(const SpanQuery& obj) : ::org::apache::lucene::search::Query(obj) {}
SpanQuery();
::org::apache::lucene::search::spans::SpanWeight createWeight(const ::org::apache::lucene::search::IndexSearcher &, jboolean, jfloat) const;
::java::lang::String getField() const;
static ::java::util::Map getTermContexts(const ::java::util::Collection &);
static ::java::util::Map getTermContexts(const JArray< ::org::apache::lucene::search::spans::SpanWeight > &);
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace spans {
extern PyType_Def PY_TYPE_DEF(SpanQuery);
extern PyTypeObject *PY_TYPE(SpanQuery);
class t_SpanQuery {
public:
PyObject_HEAD
SpanQuery object;
static PyObject *wrap_Object(const SpanQuery&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif