Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_document_FloatPoint_H
#define org_apache_lucene_document_FloatPoint_H
#include "org/apache/lucene/document/Field.h"
namespace java {
namespace lang {
class String;
class Class;
class Float;
class Number;
}
namespace util {
class Collection;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class BytesRef;
}
namespace search {
class Query;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace document {
class FloatPoint : public ::org::apache::lucene::document::Field {
public:
enum {
mid_init$_aaab4dd71ee1c2f5,
mid_decodeDimension_4cfe3ffd31eff482,
mid_encodeDimension_e22ac720ba3c29f6,
mid_newExactQuery_b6506bb8ab5d6bec,
mid_newRangeQuery_cca563369885a8f0,
mid_newRangeQuery_a38707f03f4704b4,
mid_newSetQuery_53500b89e89ef08e,
mid_newSetQuery_5726d5d41f76f4e0,
mid_nextDown_e85a842e54fca33a,
mid_nextUp_e85a842e54fca33a,
mid_numericValue_1bfed88e11cf6a79,
mid_setBytesValue_56afe0077fbf95be,
mid_setFloatValue_735109f3a68e4236,
mid_setFloatValues_bddd2248fee67a77,
mid_toString_a6d454b6117bc1ba,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit FloatPoint(jobject obj) : ::org::apache::lucene::document::Field(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
FloatPoint(const FloatPoint& obj) : ::org::apache::lucene::document::Field(obj) {}
FloatPoint(const ::java::lang::String &, const JArray< jfloat > &);
static jfloat decodeDimension(const JArray< jbyte > &, jint);
static void encodeDimension(jfloat, const JArray< jbyte > &, jint);
static ::org::apache::lucene::search::Query newExactQuery(const ::java::lang::String &, jfloat);
static ::org::apache::lucene::search::Query newRangeQuery(const ::java::lang::String &, const JArray< jfloat > &, const JArray< jfloat > &);
static ::org::apache::lucene::search::Query newRangeQuery(const ::java::lang::String &, jfloat, jfloat);
static ::org::apache::lucene::search::Query newSetQuery(const ::java::lang::String &, const JArray< jfloat > &);
static ::org::apache::lucene::search::Query newSetQuery(const ::java::lang::String &, const ::java::util::Collection &);
static jfloat nextDown(jfloat);
static jfloat nextUp(jfloat);
::java::lang::Number numericValue() const;
void setBytesValue(const ::org::apache::lucene::util::BytesRef &) const;
void setFloatValue(jfloat) const;
void setFloatValues(const JArray< jfloat > &) const;
::java::lang::String toString() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace document {
extern PyType_Def PY_TYPE_DEF(FloatPoint);
extern PyTypeObject *PY_TYPE(FloatPoint);
class t_FloatPoint {
public:
PyObject_HEAD
FloatPoint object;
static PyObject *wrap_Object(const FloatPoint&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif