Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_queries_function_valuesource_ConstValueSource_H
#define org_apache_lucene_queries_function_valuesource_ConstValueSource_H
#include "org/apache/lucene/queries/function/valuesource/ConstNumberSource.h"
namespace java {
namespace lang {
class String;
class Class;
class Object;
class Number;
}
namespace io {
class IOException;
}
namespace util {
class Map;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace index {
class LeafReaderContext;
}
namespace queries {
namespace function {
class FunctionValues;
}
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace queries {
namespace function {
namespace valuesource {
class ConstValueSource : public ::org::apache::lucene::queries::function::valuesource::ConstNumberSource {
public:
enum {
mid_init$_735109f3a68e4236,
mid_description_a6d454b6117bc1ba,
mid_equals_ac708f0101821708,
mid_getBool_c20c2fcd6b89d9a9,
mid_getDouble_ab5a92c6a29be348,
mid_getFloat_2d3e9e78eeb8f24f,
mid_getInt_9135e6328d9d7dfd,
mid_getLong_062ad918b5794303,
mid_getNumber_1bfed88e11cf6a79,
mid_getValues_0041a7aeb8edd48e,
mid_hashCode_9135e6328d9d7dfd,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ConstValueSource(jobject obj) : ::org::apache::lucene::queries::function::valuesource::ConstNumberSource(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ConstValueSource(const ConstValueSource& obj) : ::org::apache::lucene::queries::function::valuesource::ConstNumberSource(obj) {}
ConstValueSource(jfloat);
::java::lang::String description() const;
jboolean equals(const ::java::lang::Object &) const;
jboolean getBool() const;
jdouble getDouble() const;
jfloat getFloat() const;
jint getInt() const;
jlong getLong() const;
::java::lang::Number getNumber() const;
::org::apache::lucene::queries::function::FunctionValues getValues(const ::java::util::Map &, const ::org::apache::lucene::index::LeafReaderContext &) const;
jint hashCode() const;
};
}
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace queries {
namespace function {
namespace valuesource {
extern PyType_Def PY_TYPE_DEF(ConstValueSource);
extern PyTypeObject *PY_TYPE(ConstValueSource);
class t_ConstValueSource {
public:
PyObject_HEAD
ConstValueSource object;
static PyObject *wrap_Object(const ConstValueSource&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
}
#endif