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 / BufferedIndexInput.h
Size: Mime:
#ifndef org_apache_lucene_store_BufferedIndexInput_H
#define org_apache_lucene_store_BufferedIndexInput_H

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

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        class IOContext;
        class BufferedIndexInput;
        class RandomAccessInput;
      }
    }
  }
}
template<class T> class JArray;

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

        class BufferedIndexInput : public ::org::apache::lucene::store::IndexInput {
         public:
          enum {
            mid_init$_d1402cb7ea6d4983,
            mid_init$_356e54ea43ad962d,
            mid_init$_8d6b327f169ea240,
            mid_bufferSize_c7acb21875c614e6,
            mid_clone_dddad6659fdacb1b,
            mid_getBufferSize_9135e6328d9d7dfd,
            mid_getFilePointer_062ad918b5794303,
            mid_readByte_e0bb1ed55719c754,
            mid_readByte_28c5460027b89ec6,
            mid_readBytes_572579157b228a11,
            mid_readBytes_716a2c2763330fbd,
            mid_readInt_9135e6328d9d7dfd,
            mid_readInt_e04c5c80cabeae0e,
            mid_readLong_062ad918b5794303,
            mid_readLong_287a2baadd48f056,
            mid_readShort_410ac1426f0f5ae1,
            mid_readShort_be41260587b1f1a3,
            mid_readVInt_9135e6328d9d7dfd,
            mid_readVLong_062ad918b5794303,
            mid_seek_ea21977c7b14e0c0,
            mid_setBufferSize_54889bef30791899,
            mid_slice_9d0963a64a5a173c,
            mid_wrap_804bebbd82711f12,
            mid_flushBuffer_718a57b45de71635,
            mid_newBuffer_0fce1b0b1e1dc066,
            mid_readInternal_572579157b228a11,
            mid_seekInternal_ea21977c7b14e0c0,
            max_mid
          };

          static ::java::lang::Class *class$;
          static jmethodID *mids$;
          static bool live$;
          static jclass initializeClass(bool);

          explicit BufferedIndexInput(jobject obj) : ::org::apache::lucene::store::IndexInput(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          BufferedIndexInput(const BufferedIndexInput& obj) : ::org::apache::lucene::store::IndexInput(obj) {}

          static jint BUFFER_SIZE;
          static jint MERGE_BUFFER_SIZE;
          static jint MIN_BUFFER_SIZE;

          BufferedIndexInput(const ::java::lang::String &);
          BufferedIndexInput(const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &);
          BufferedIndexInput(const ::java::lang::String &, jint);

          static jint bufferSize(const ::org::apache::lucene::store::IOContext &);
          BufferedIndexInput clone() const;
          jint getBufferSize() const;
          jlong getFilePointer() const;
          jbyte readByte() const;
          jbyte readByte(jlong) const;
          void readBytes(const JArray< jbyte > &, jint, jint) const;
          void readBytes(const JArray< jbyte > &, jint, jint, jboolean) const;
          jint readInt() const;
          jint readInt(jlong) const;
          jlong readLong() const;
          jlong readLong(jlong) const;
          jshort readShort() const;
          jshort readShort(jlong) const;
          jint readVInt() const;
          jlong readVLong() const;
          void seek(jlong) const;
          void setBufferSize(jint) const;
          ::org::apache::lucene::store::IndexInput slice(const ::java::lang::String &, jlong, jlong) const;
          static BufferedIndexInput wrap(const ::java::lang::String &, const ::org::apache::lucene::store::IndexInput &, jlong, jlong);
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        extern PyType_Def PY_TYPE_DEF(BufferedIndexInput);
        extern PyTypeObject *PY_TYPE(BufferedIndexInput);

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

#endif