Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_Sort_H
#define org_apache_lucene_search_Sort_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
class IndexSearcher;
class Sort;
class SortField;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
class Sort : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_15535766549bef2d,
mid_init$_0ef6028fd05fec1e,
mid_equals_ac708f0101821708,
mid_getSort_458aa12a8bfbf804,
mid_hashCode_9135e6328d9d7dfd,
mid_needsScores_c20c2fcd6b89d9a9,
mid_rewrite_6951433932370bd4,
mid_setSort_0ef6028fd05fec1e,
mid_setSort_15535766549bef2d,
mid_toString_a6d454b6117bc1ba,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit Sort(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
Sort(const Sort& obj) : ::java::lang::Object(obj) {}
static Sort *INDEXORDER;
static Sort *RELEVANCE;
Sort();
Sort(const JArray< ::org::apache::lucene::search::SortField > &);
Sort(const ::org::apache::lucene::search::SortField &);
jboolean equals(const ::java::lang::Object &) const;
JArray< ::org::apache::lucene::search::SortField > getSort() const;
jint hashCode() const;
jboolean needsScores() const;
Sort rewrite(const ::org::apache::lucene::search::IndexSearcher &) const;
void setSort(const ::org::apache::lucene::search::SortField &) const;
void setSort(const JArray< ::org::apache::lucene::search::SortField > &) const;
::java::lang::String toString() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
extern PyType_Def PY_TYPE_DEF(Sort);
extern PyTypeObject *PY_TYPE(Sort);
class t_Sort {
public:
PyObject_HEAD
Sort object;
static PyObject *wrap_Object(const Sort&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif