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

#include "org/apache/lucene/search/Query.h"

namespace org {
  namespace apache {
    namespace lucene {
      namespace index {
        class TermContext;
        class Term;
      }
      namespace search {
        class IndexSearcher;
        class Weight;
      }
    }
  }
}
namespace java {
  namespace lang {
    class String;
    class Class;
    class Object;
  }
  namespace io {
    class IOException;
  }
}
template<class T> class JArray;

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

        class TermQuery : public ::org::apache::lucene::search::Query {
         public:
          enum {
            mid_init$_36f98207de53ae96,
            mid_init$_8a354e39f6897ac7,
            mid_createWeight_68609b1af132dcdc,
            mid_equals_ac708f0101821708,
            mid_getTerm_8f857151e66a564e,
            mid_getTermContext_c94858a28d8d880f,
            mid_hashCode_9135e6328d9d7dfd,
            mid_toString_b6b89aa915f3be5f,
            max_mid
          };

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

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

          TermQuery(const ::org::apache::lucene::index::Term &);
          TermQuery(const ::org::apache::lucene::index::Term &, const ::org::apache::lucene::index::TermContext &);

          ::org::apache::lucene::search::Weight createWeight(const ::org::apache::lucene::search::IndexSearcher &, jboolean, jfloat) const;
          jboolean equals(const ::java::lang::Object &) const;
          ::org::apache::lucene::index::Term getTerm() const;
          ::org::apache::lucene::index::TermContext getTermContext() const;
          jint hashCode() const;
          ::java::lang::String toString(const ::java::lang::String &) const;
        };
      }
    }
  }
}

#include <Python.h>

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

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

#endif