Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_codecs_simpletext_SimpleTextTermVectorsWriter_H
#define org_apache_lucene_codecs_simpletext_SimpleTextTermVectorsWriter_H
#include "org/apache/lucene/codecs/TermVectorsWriter.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 FieldInfo;
}
namespace util {
class BytesRef;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace codecs {
namespace simpletext {
class SimpleTextTermVectorsWriter : public ::org::apache::lucene::codecs::TermVectorsWriter {
public:
enum {
mid_init$_fd5c2293407db925,
mid_addPosition_e4b376f6e28e7d8f,
mid_close_d7775b228e076e62,
mid_finish_2313a48bbe59dbf1,
mid_startDocument_54889bef30791899,
mid_startField_98b0b7498e67a767,
mid_startTerm_7e936169e54d08ca,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit SimpleTextTermVectorsWriter(jobject obj) : ::org::apache::lucene::codecs::TermVectorsWriter(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
SimpleTextTermVectorsWriter(const SimpleTextTermVectorsWriter& obj) : ::org::apache::lucene::codecs::TermVectorsWriter(obj) {}
SimpleTextTermVectorsWriter(const ::org::apache::lucene::store::Directory &, const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &);
void addPosition(jint, jint, jint, const ::org::apache::lucene::util::BytesRef &) const;
void close() const;
void finish(const ::org::apache::lucene::index::FieldInfos &, jint) const;
void startDocument(jint) const;
void startField(const ::org::apache::lucene::index::FieldInfo &, jint, jboolean, jboolean, jboolean) const;
void startTerm(const ::org::apache::lucene::util::BytesRef &, jint) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace codecs {
namespace simpletext {
extern PyType_Def PY_TYPE_DEF(SimpleTextTermVectorsWriter);
extern PyTypeObject *PY_TYPE(SimpleTextTermVectorsWriter);
class t_SimpleTextTermVectorsWriter {
public:
PyObject_HEAD
SimpleTextTermVectorsWriter object;
static PyObject *wrap_Object(const SimpleTextTermVectorsWriter&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif