Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_MergePolicy$OneMerge_H
#define org_apache_lucene_index_MergePolicy$OneMerge_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace util {
class List;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace index {
class SegmentCommitInfo;
class MergePolicy$MergeAbortedException;
class CodecReader;
class MergePolicy$OneMergeProgress;
}
namespace store {
class MergeInfo;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class MergePolicy$OneMerge : public ::java::lang::Object {
public:
enum {
mid_init$_4d1f55ceb80ffea6,
mid_checkAborted_d7775b228e076e62,
mid_getMergeInfo_10c727a744ea739f,
mid_getMergeProgress_a3a71e4b37a5d75e,
mid_getStoreMergeInfo_cada75350f14a2ac,
mid_isAborted_c20c2fcd6b89d9a9,
mid_mergeFinished_d7775b228e076e62,
mid_mergeInit_d7775b228e076e62,
mid_segString_a6d454b6117bc1ba,
mid_setAborted_d7775b228e076e62,
mid_setMergeInfo_bf9b942b25f0cbcc,
mid_totalBytesSize_062ad918b5794303,
mid_totalNumDocs_9135e6328d9d7dfd,
mid_wrapForMerge_2d2cc7a2054390c7,
max_mid
};
enum {
fid_estimatedMergeBytes,
fid_segments,
fid_totalMaxDoc,
max_fid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static jfieldID *fids$;
static bool live$;
static jclass initializeClass(bool);
explicit MergePolicy$OneMerge(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
MergePolicy$OneMerge(const MergePolicy$OneMerge& obj) : ::java::lang::Object(obj) {}
jlong _get_estimatedMergeBytes() const;
void _set_estimatedMergeBytes(jlong) const;
::java::util::List _get_segments() const;
jint _get_totalMaxDoc() const;
MergePolicy$OneMerge(const ::java::util::List &);
void checkAborted() const;
::org::apache::lucene::index::SegmentCommitInfo getMergeInfo() const;
::org::apache::lucene::index::MergePolicy$OneMergeProgress getMergeProgress() const;
::org::apache::lucene::store::MergeInfo getStoreMergeInfo() const;
jboolean isAborted() const;
void mergeFinished() const;
void mergeInit() const;
::java::lang::String segString() const;
void setAborted() const;
void setMergeInfo(const ::org::apache::lucene::index::SegmentCommitInfo &) const;
jlong totalBytesSize() const;
jint totalNumDocs() const;
::org::apache::lucene::index::CodecReader wrapForMerge(const ::org::apache::lucene::index::CodecReader &) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(MergePolicy$OneMerge);
extern PyTypeObject *PY_TYPE(MergePolicy$OneMerge);
class t_MergePolicy$OneMerge {
public:
PyObject_HEAD
MergePolicy$OneMerge object;
static PyObject *wrap_Object(const MergePolicy$OneMerge&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif