Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_index_FieldInfo_H
#define org_apache_lucene_index_FieldInfo_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace util {
class Map;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace index {
class IndexOptions;
class DocValuesType;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace index {
class FieldInfo : public ::java::lang::Object {
public:
enum {
mid_init$_c92665a704eb1475,
mid_attributes_192c7c05a36e3a34,
mid_checkConsistency_c20c2fcd6b89d9a9,
mid_getAttribute_b6b89aa915f3be5f,
mid_getDocValuesGen_062ad918b5794303,
mid_getDocValuesType_088e57ae00bbe1cc,
mid_getIndexOptions_5400f9060f41d8c6,
mid_getPointDataDimensionCount_9135e6328d9d7dfd,
mid_getPointIndexDimensionCount_9135e6328d9d7dfd,
mid_getPointNumBytes_9135e6328d9d7dfd,
mid_hasNorms_c20c2fcd6b89d9a9,
mid_hasPayloads_c20c2fcd6b89d9a9,
mid_hasVectors_c20c2fcd6b89d9a9,
mid_isSoftDeletesField_c20c2fcd6b89d9a9,
mid_omitsNorms_c20c2fcd6b89d9a9,
mid_putAttribute_4c1f5c290969ca95,
mid_setDocValuesType_cf9db8a5d1eebedf,
mid_setIndexOptions_f559be1f13da3853,
mid_setOmitsNorms_d7775b228e076e62,
mid_setPointDimensions_ded3d79894b7d18d,
max_mid
};
enum {
fid_name,
fid_number,
max_fid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static jfieldID *fids$;
static bool live$;
static jclass initializeClass(bool);
explicit FieldInfo(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
FieldInfo(const FieldInfo& obj) : ::java::lang::Object(obj) {}
::java::lang::String _get_name() const;
jint _get_number() const;
FieldInfo(const ::java::lang::String &, jint, jboolean, jboolean, jboolean, const ::org::apache::lucene::index::IndexOptions &, const ::org::apache::lucene::index::DocValuesType &, jlong, const ::java::util::Map &, jint, jint, jint, jboolean);
::java::util::Map attributes() const;
jboolean checkConsistency() const;
::java::lang::String getAttribute(const ::java::lang::String &) const;
jlong getDocValuesGen() const;
::org::apache::lucene::index::DocValuesType getDocValuesType() const;
::org::apache::lucene::index::IndexOptions getIndexOptions() const;
jint getPointDataDimensionCount() const;
jint getPointIndexDimensionCount() const;
jint getPointNumBytes() const;
jboolean hasNorms() const;
jboolean hasPayloads() const;
jboolean hasVectors() const;
jboolean isSoftDeletesField() const;
jboolean omitsNorms() const;
::java::lang::String putAttribute(const ::java::lang::String &, const ::java::lang::String &) const;
void setDocValuesType(const ::org::apache::lucene::index::DocValuesType &) const;
void setIndexOptions(const ::org::apache::lucene::index::IndexOptions &) const;
void setOmitsNorms() const;
void setPointDimensions(jint, jint, jint) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace index {
extern PyType_Def PY_TYPE_DEF(FieldInfo);
extern PyTypeObject *PY_TYPE(FieldInfo);
class t_FieldInfo {
public:
PyObject_HEAD
FieldInfo object;
static PyObject *wrap_Object(const FieldInfo&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif