Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_util_packed_PackedInts_H
#define org_apache_lucene_util_packed_PackedInts_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class Class;
class String;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
namespace packed {
class PackedInts$ReaderIterator;
class PackedInts$Reader;
class PackedInts$Mutable;
class PackedInts$Decoder;
class PackedInts$FormatAndBits;
class PackedInts$Format;
class PackedInts$Writer;
class PackedInts$Encoder;
}
}
namespace store {
class DataOutput;
class DataInput;
class IndexInput;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace util {
namespace packed {
class PackedInts : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_bitsRequired_e04c5c80cabeae0e,
mid_checkVersion_54889bef30791899,
mid_copy_024a469d340e98f2,
mid_fastestFormatAndBits_f839b22d72057d43,
mid_getDecoder_66daede155e79440,
mid_getDirectReader_a8bfa0d0ee322ab6,
mid_getDirectReaderNoHeader_6b8b3a06efc50cde,
mid_getEncoder_787bb993305905d9,
mid_getMutable_77080b60b29ae1f2,
mid_getMutable_5e25d7719e2c891d,
mid_getReader_1664c44c4d2819f2,
mid_getReaderIterator_0f0b488e0378f412,
mid_getReaderIteratorNoHeader_9f48ae726b594f9d,
mid_getReaderNoHeader_f2bd0342d3ee2ce0,
mid_getWriter_1576331383b38a84,
mid_getWriterNoHeader_f92aab097d68047e,
mid_maxValue_4254bb0e767bf1cd,
mid_unsignedBitsRequired_e04c5c80cabeae0e,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit PackedInts(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
PackedInts(const PackedInts& obj) : ::java::lang::Object(obj) {}
static ::java::lang::String *CODEC_NAME;
static jfloat COMPACT;
static jfloat DEFAULT;
static jint DEFAULT_BUFFER_SIZE;
static jfloat FAST;
static jfloat FASTEST;
static jint VERSION_CURRENT;
static jint VERSION_MONOTONIC_WITHOUT_ZIGZAG;
static jint VERSION_START;
PackedInts();
static jint bitsRequired(jlong);
static void checkVersion(jint);
static void copy(const ::org::apache::lucene::util::packed::PackedInts$Reader &, jint, const ::org::apache::lucene::util::packed::PackedInts$Mutable &, jint, jint, jint);
static ::org::apache::lucene::util::packed::PackedInts$FormatAndBits fastestFormatAndBits(jint, jint, jfloat);
static ::org::apache::lucene::util::packed::PackedInts$Decoder getDecoder(const ::org::apache::lucene::util::packed::PackedInts$Format &, jint, jint);
static ::org::apache::lucene::util::packed::PackedInts$Reader getDirectReader(const ::org::apache::lucene::store::IndexInput &);
static ::org::apache::lucene::util::packed::PackedInts$Reader getDirectReaderNoHeader(const ::org::apache::lucene::store::IndexInput &, const ::org::apache::lucene::util::packed::PackedInts$Format &, jint, jint, jint);
static ::org::apache::lucene::util::packed::PackedInts$Encoder getEncoder(const ::org::apache::lucene::util::packed::PackedInts$Format &, jint, jint);
static ::org::apache::lucene::util::packed::PackedInts$Mutable getMutable(jint, jint, jfloat);
static ::org::apache::lucene::util::packed::PackedInts$Mutable getMutable(jint, jint, const ::org::apache::lucene::util::packed::PackedInts$Format &);
static ::org::apache::lucene::util::packed::PackedInts$Reader getReader(const ::org::apache::lucene::store::DataInput &);
static ::org::apache::lucene::util::packed::PackedInts$ReaderIterator getReaderIterator(const ::org::apache::lucene::store::DataInput &, jint);
static ::org::apache::lucene::util::packed::PackedInts$ReaderIterator getReaderIteratorNoHeader(const ::org::apache::lucene::store::DataInput &, const ::org::apache::lucene::util::packed::PackedInts$Format &, jint, jint, jint, jint);
static ::org::apache::lucene::util::packed::PackedInts$Reader getReaderNoHeader(const ::org::apache::lucene::store::DataInput &, const ::org::apache::lucene::util::packed::PackedInts$Format &, jint, jint, jint);
static ::org::apache::lucene::util::packed::PackedInts$Writer getWriter(const ::org::apache::lucene::store::DataOutput &, jint, jint, jfloat);
static ::org::apache::lucene::util::packed::PackedInts$Writer getWriterNoHeader(const ::org::apache::lucene::store::DataOutput &, const ::org::apache::lucene::util::packed::PackedInts$Format &, jint, jint, jint);
static jlong maxValue(jint);
static jint unsignedBitsRequired(jlong);
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace util {
namespace packed {
extern PyType_Def PY_TYPE_DEF(PackedInts);
extern PyTypeObject *PY_TYPE(PackedInts);
class t_PackedInts {
public:
PyObject_HEAD
PackedInts object;
static PyObject *wrap_Object(const PackedInts&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif