Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_codecs_simpletext_SimpleTextStoredFieldsWriter_H
#define org_apache_lucene_codecs_simpletext_SimpleTextStoredFieldsWriter_H
#include "org/apache/lucene/codecs/StoredFieldsWriter.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace store {
class IOContext;
class Directory;
}
namespace index {
class FieldInfos;
class IndexableField;
class FieldInfo;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace codecs {
namespace simpletext {
class SimpleTextStoredFieldsWriter : public ::org::apache::lucene::codecs::StoredFieldsWriter {
public:
enum {
mid_init$_fd5c2293407db925,
mid_close_d7775b228e076e62,
mid_finish_2313a48bbe59dbf1,
mid_startDocument_d7775b228e076e62,
mid_writeField_116b36b3eb4f9f5a,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit SimpleTextStoredFieldsWriter(jobject obj) : ::org::apache::lucene::codecs::StoredFieldsWriter(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
SimpleTextStoredFieldsWriter(const SimpleTextStoredFieldsWriter& obj) : ::org::apache::lucene::codecs::StoredFieldsWriter(obj) {}
SimpleTextStoredFieldsWriter(const ::org::apache::lucene::store::Directory &, const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &);
void close() const;
void finish(const ::org::apache::lucene::index::FieldInfos &, jint) const;
void startDocument() const;
void writeField(const ::org::apache::lucene::index::FieldInfo &, const ::org::apache::lucene::index::IndexableField &) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace codecs {
namespace simpletext {
extern PyType_Def PY_TYPE_DEF(SimpleTextStoredFieldsWriter);
extern PyTypeObject *PY_TYPE(SimpleTextStoredFieldsWriter);
class t_SimpleTextStoredFieldsWriter {
public:
PyObject_HEAD
SimpleTextStoredFieldsWriter object;
static PyObject *wrap_Object(const SimpleTextStoredFieldsWriter&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif