Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_SegmentInfo_H
#define org_apache_lucene_index_SegmentInfo_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace util {
class Set;
class Map;
class Collection;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class Version;
}
namespace codecs {
class Codec;
}
namespace search {
class Sort;
}
namespace store {
class Directory;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class SegmentInfo : public ::java::lang::Object {
public:
enum {
mid_init$_2675349388539377,
mid_addFile_d1402cb7ea6d4983,
mid_addFiles_056491ce59c66210,
mid_equals_ac708f0101821708,
mid_files_0f146b3deb900c94,
mid_getAttribute_b6b89aa915f3be5f,
mid_getAttributes_192c7c05a36e3a34,
mid_getCodec_76f248b159f8bc56,
mid_getDiagnostics_192c7c05a36e3a34,
mid_getId_7e7da87ae816e9d4,
mid_getIndexSort_9db197114c8ff688,
mid_getMinVersion_a9dd76708d708301,
mid_getUseCompoundFile_c20c2fcd6b89d9a9,
mid_getVersion_a9dd76708d708301,
mid_hashCode_9135e6328d9d7dfd,
mid_maxDoc_9135e6328d9d7dfd,
mid_putAttribute_4c1f5c290969ca95,
mid_setCodec_eec6443635d05d56,
mid_setFiles_056491ce59c66210,
mid_toString_a6d454b6117bc1ba,
mid_toString_362d87738f8d2888,
max_mid
};
enum {
fid_dir,
fid_name,
max_fid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static jfieldID *fids$;
static bool live$;
static jclass initializeClass(bool);
explicit SegmentInfo(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
SegmentInfo(const SegmentInfo& obj) : ::java::lang::Object(obj) {}
static jint NO;
static jint YES;
::org::apache::lucene::store::Directory _get_dir() const;
::java::lang::String _get_name() const;
SegmentInfo(const ::org::apache::lucene::store::Directory &, const ::org::apache::lucene::util::Version &, const ::org::apache::lucene::util::Version &, const ::java::lang::String &, jint, jboolean, const ::org::apache::lucene::codecs::Codec &, const ::java::util::Map &, const JArray< jbyte > &, const ::java::util::Map &, const ::org::apache::lucene::search::Sort &);
void addFile(const ::java::lang::String &) const;
void addFiles(const ::java::util::Collection &) const;
jboolean equals(const ::java::lang::Object &) const;
::java::util::Set files() const;
::java::lang::String getAttribute(const ::java::lang::String &) const;
::java::util::Map getAttributes() const;
::org::apache::lucene::codecs::Codec getCodec() const;
::java::util::Map getDiagnostics() const;
JArray< jbyte > getId() const;
::org::apache::lucene::search::Sort getIndexSort() const;
::org::apache::lucene::util::Version getMinVersion() const;
jboolean getUseCompoundFile() const;
::org::apache::lucene::util::Version getVersion() const;
jint hashCode() const;
jint maxDoc() const;
::java::lang::String putAttribute(const ::java::lang::String &, const ::java::lang::String &) const;
void setCodec(const ::org::apache::lucene::codecs::Codec &) const;
void setFiles(const ::java::util::Collection &) const;
::java::lang::String toString() const;
::java::lang::String toString(jint) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(SegmentInfo);
extern PyTypeObject *PY_TYPE(SegmentInfo);
class t_SegmentInfo {
public:
PyObject_HEAD
SegmentInfo object;
static PyObject *wrap_Object(const SegmentInfo&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif