Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_store_ByteBuffersDirectory_H
#define org_apache_lucene_store_ByteBuffersDirectory_H
#include "org/apache/lucene/store/BaseDirectory.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
}
namespace util {
class Collection;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace store {
class IOContext;
class IndexOutput;
class IndexInput;
class LockFactory;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace store {
class ByteBuffersDirectory : public ::org::apache::lucene::store::BaseDirectory {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_d4bdf139704e4eb9,
mid_close_d7775b228e076e62,
mid_createOutput_fcd40afc63179f73,
mid_createTempOutput_f25ae638a9cca5c5,
mid_deleteFile_d1402cb7ea6d4983,
mid_fileLength_ce399713da39cd21,
mid_listAll_a83a436412ba6f82,
mid_openInput_09fb272fde56ae2b,
mid_rename_9bb4c9427a947ae3,
mid_sync_056491ce59c66210,
mid_syncMetaData_d7775b228e076e62,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ByteBuffersDirectory(jobject obj) : ::org::apache::lucene::store::BaseDirectory(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ByteBuffersDirectory(const ByteBuffersDirectory& obj) : ::org::apache::lucene::store::BaseDirectory(obj) {}
ByteBuffersDirectory();
ByteBuffersDirectory(const ::org::apache::lucene::store::LockFactory &);
void close() const;
::org::apache::lucene::store::IndexOutput createOutput(const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &) const;
::org::apache::lucene::store::IndexOutput createTempOutput(const ::java::lang::String &, const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &) const;
void deleteFile(const ::java::lang::String &) const;
jlong fileLength(const ::java::lang::String &) const;
JArray< ::java::lang::String > listAll() const;
::org::apache::lucene::store::IndexInput openInput(const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &) const;
void rename(const ::java::lang::String &, const ::java::lang::String &) const;
void sync(const ::java::util::Collection &) const;
void syncMetaData() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace store {
extern PyType_Def PY_TYPE_DEF(ByteBuffersDirectory);
extern PyTypeObject *PY_TYPE(ByteBuffersDirectory);
class t_ByteBuffersDirectory {
public:
PyObject_HEAD
ByteBuffersDirectory object;
static PyObject *wrap_Object(const ByteBuffersDirectory&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif