Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_LogMergePolicy_H
#define org_apache_lucene_index_LogMergePolicy_H
#include "org/apache/lucene/index/MergePolicy.h"
namespace org {
namespace apache {
namespace lucene {
namespace index {
class MergePolicy$MergeSpecification;
class MergeTrigger;
class MergePolicy$MergeContext;
class SegmentCommitInfo;
class SegmentInfos;
}
}
}
}
namespace java {
namespace lang {
class String;
class Class;
class Boolean;
}
namespace io {
class IOException;
}
namespace util {
class Map;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class LogMergePolicy : public ::org::apache::lucene::index::MergePolicy {
public:
enum {
mid_init$_d7775b228e076e62,
mid_findForcedDeletesMerges_f026c8c0e741d10d,
mid_findForcedMerges_2342da2ab1732081,
mid_findMerges_5e3713f3233fd628,
mid_getCalibrateSizeByDeletes_c20c2fcd6b89d9a9,
mid_getMaxMergeDocs_9135e6328d9d7dfd,
mid_getMergeFactor_9135e6328d9d7dfd,
mid_setCalibrateSizeByDeletes_8a3e0c1a306942cb,
mid_setMaxMergeDocs_54889bef30791899,
mid_setMergeFactor_54889bef30791899,
mid_toString_a6d454b6117bc1ba,
mid_isMerged_04be81691a1433a9,
mid_sizeDocs_c3c9cb0dbfa2432a,
mid_sizeBytes_c3c9cb0dbfa2432a,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit LogMergePolicy(jobject obj) : ::org::apache::lucene::index::MergePolicy(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
LogMergePolicy(const LogMergePolicy& obj) : ::org::apache::lucene::index::MergePolicy(obj) {}
static jint DEFAULT_MAX_MERGE_DOCS;
static jint DEFAULT_MERGE_FACTOR;
static jdouble DEFAULT_NO_CFS_RATIO;
static jdouble LEVEL_LOG_SPAN;
LogMergePolicy();
::org::apache::lucene::index::MergePolicy$MergeSpecification findForcedDeletesMerges(const ::org::apache::lucene::index::SegmentInfos &, const ::org::apache::lucene::index::MergePolicy$MergeContext &) const;
::org::apache::lucene::index::MergePolicy$MergeSpecification findForcedMerges(const ::org::apache::lucene::index::SegmentInfos &, jint, const ::java::util::Map &, const ::org::apache::lucene::index::MergePolicy$MergeContext &) const;
::org::apache::lucene::index::MergePolicy$MergeSpecification findMerges(const ::org::apache::lucene::index::MergeTrigger &, const ::org::apache::lucene::index::SegmentInfos &, const ::org::apache::lucene::index::MergePolicy$MergeContext &) const;
jboolean getCalibrateSizeByDeletes() const;
jint getMaxMergeDocs() const;
jint getMergeFactor() const;
void setCalibrateSizeByDeletes(jboolean) const;
void setMaxMergeDocs(jint) const;
void setMergeFactor(jint) const;
::java::lang::String toString() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(LogMergePolicy);
extern PyTypeObject *PY_TYPE(LogMergePolicy);
class t_LogMergePolicy {
public:
PyObject_HEAD
LogMergePolicy object;
static PyObject *wrap_Object(const LogMergePolicy&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif