Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / store / FileSwitchDirectory.h
Size: Mime:
#ifndef org_apache_lucene_store_FileSwitchDirectory_H
#define org_apache_lucene_store_FileSwitchDirectory_H

#include "org/apache/lucene/store/Directory.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace util {
    class Set;
    class Collection;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        class IOContext;
        class IndexOutput;
        class Lock;
        class IndexInput;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {

        class FileSwitchDirectory : public ::org::apache::lucene::store::Directory {
         public:
          enum {
            mid_init$_e537870f811c2f96,
            mid_close_d7775b228e076e62,
            mid_createOutput_fcd40afc63179f73,
            mid_createTempOutput_f25ae638a9cca5c5,
            mid_deleteFile_d1402cb7ea6d4983,
            mid_fileLength_ce399713da39cd21,
            mid_getExtension_b6b89aa915f3be5f,
            mid_getPendingDeletions_0f146b3deb900c94,
            mid_getPrimaryDir_6205e81cc599847f,
            mid_getSecondaryDir_6205e81cc599847f,
            mid_listAll_a83a436412ba6f82,
            mid_obtainLock_01f2c3d1f52ac7a1,
            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 FileSwitchDirectory(jobject obj) : ::org::apache::lucene::store::Directory(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          FileSwitchDirectory(const FileSwitchDirectory& obj) : ::org::apache::lucene::store::Directory(obj) {}

          FileSwitchDirectory(const ::java::util::Set &, const ::org::apache::lucene::store::Directory &, const ::org::apache::lucene::store::Directory &, jboolean);

          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;
          static ::java::lang::String getExtension(const ::java::lang::String &);
          ::java::util::Set getPendingDeletions() const;
          ::org::apache::lucene::store::Directory getPrimaryDir() const;
          ::org::apache::lucene::store::Directory getSecondaryDir() const;
          JArray< ::java::lang::String > listAll() const;
          ::org::apache::lucene::store::Lock obtainLock(const ::java::lang::String &) 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(FileSwitchDirectory);
        extern PyTypeObject *PY_TYPE(FileSwitchDirectory);

        class t_FileSwitchDirectory {
        public:
          PyObject_HEAD
          FileSwitchDirectory object;
          static PyObject *wrap_Object(const FileSwitchDirectory&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif