Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_codecs_blocktree_BlockTreeTermsWriter_H
#define org_apache_lucene_codecs_blocktree_BlockTreeTermsWriter_H
#include "org/apache/lucene/codecs/FieldsConsumer.h"
namespace org {
namespace apache {
namespace lucene {
namespace codecs {
class PostingsWriterBase;
}
namespace index {
class Fields;
class SegmentWriteState;
}
}
}
}
namespace java {
namespace lang {
class Class;
}
namespace io {
class IOException;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace codecs {
namespace blocktree {
class BlockTreeTermsWriter : public ::org::apache::lucene::codecs::FieldsConsumer {
public:
enum {
mid_init$_f0aa5a310efb7d0b,
mid_close_d7775b228e076e62,
mid_validateSettings_3addb8559d77fc6e,
mid_write_eb6c8bcebf87a246,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit BlockTreeTermsWriter(jobject obj) : ::org::apache::lucene::codecs::FieldsConsumer(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
BlockTreeTermsWriter(const BlockTreeTermsWriter& obj) : ::org::apache::lucene::codecs::FieldsConsumer(obj) {}
static jint DEFAULT_MAX_BLOCK_SIZE;
static jint DEFAULT_MIN_BLOCK_SIZE;
BlockTreeTermsWriter(const ::org::apache::lucene::index::SegmentWriteState &, const ::org::apache::lucene::codecs::PostingsWriterBase &, jint, jint);
void close() const;
static void validateSettings(jint, jint);
void write(const ::org::apache::lucene::index::Fields &) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace codecs {
namespace blocktree {
extern PyType_Def PY_TYPE_DEF(BlockTreeTermsWriter);
extern PyTypeObject *PY_TYPE(BlockTreeTermsWriter);
class t_BlockTreeTermsWriter {
public:
PyObject_HEAD
BlockTreeTermsWriter object;
static PyObject *wrap_Object(const BlockTreeTermsWriter&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif