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 / search / QueryCachingPolicy.h
Size: Mime:
#ifndef org_apache_lucene_search_QueryCachingPolicy_H
#define org_apache_lucene_search_QueryCachingPolicy_H

#include "java/lang/Object.h"

namespace java {
  namespace io {
    class IOException;
  }
  namespace lang {
    class Class;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        class QueryCachingPolicy;
        class Query;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {

        class QueryCachingPolicy : public ::java::lang::Object {
         public:
          enum {
            mid_onUse_760a83e711e9c8ec,
            mid_shouldCache_0fdee99252bc1a95,
            max_mid
          };

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

          explicit QueryCachingPolicy(jobject obj) : ::java::lang::Object(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          QueryCachingPolicy(const QueryCachingPolicy& obj) : ::java::lang::Object(obj) {}

          static QueryCachingPolicy *ALWAYS_CACHE;

          void onUse(const ::org::apache::lucene::search::Query &) const;
          jboolean shouldCache(const ::org::apache::lucene::search::Query &) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        extern PyType_Def PY_TYPE_DEF(QueryCachingPolicy);
        extern PyTypeObject *PY_TYPE(QueryCachingPolicy);

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

#endif