Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_IndexableField_H
#define org_apache_lucene_index_IndexableField_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
class Number;
class CharSequence;
}
namespace io {
class Reader;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
class Analyzer;
class TokenStream;
}
namespace index {
class IndexableFieldType;
}
namespace util {
class BytesRef;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class IndexableField : public ::java::lang::Object {
public:
enum {
mid_binaryValue_0c5811435dd00c85,
mid_fieldType_bbc235abe08fcfd5,
mid_getCharSequenceValue_10ee7ebcc8337321,
mid_name_a6d454b6117bc1ba,
mid_numericValue_1bfed88e11cf6a79,
mid_readerValue_daafc9be45d399f9,
mid_stringValue_a6d454b6117bc1ba,
mid_tokenStream_b0d9f6d649fb4ab0,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit IndexableField(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
IndexableField(const IndexableField& obj) : ::java::lang::Object(obj) {}
::org::apache::lucene::util::BytesRef binaryValue() const;
::org::apache::lucene::index::IndexableFieldType fieldType() const;
::java::lang::CharSequence getCharSequenceValue() const;
::java::lang::String name() const;
::java::lang::Number numericValue() const;
::java::io::Reader readerValue() const;
::java::lang::String stringValue() const;
::org::apache::lucene::analysis::TokenStream tokenStream(const ::org::apache::lucene::analysis::Analyzer &, const ::org::apache::lucene::analysis::TokenStream &) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(IndexableField);
extern PyTypeObject *PY_TYPE(IndexableField);
class t_IndexableField {
public:
PyObject_HEAD
IndexableField object;
static PyObject *wrap_Object(const IndexableField&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif