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 / document / FeatureField.h
Size: Mime:
#ifndef org_apache_lucene_document_FeatureField_H
#define org_apache_lucene_document_FeatureField_H

#include "org/apache/lucene/document/Field.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace analysis {
        class Analyzer;
        class TokenStream;
      }
      namespace search {
        class Query;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace document {

        class FeatureField : public ::org::apache::lucene::document::Field {
         public:
          enum {
            mid_init$_ec737d4ac9eea8d9,
            mid_newLogQuery_2fc0f06d7adeca32,
            mid_newSaturationQuery_f3d939833b489361,
            mid_newSaturationQuery_2fc0f06d7adeca32,
            mid_newSigmoidQuery_b40a8ff4dc06cc70,
            mid_setFeatureValue_735109f3a68e4236,
            mid_tokenStream_b0d9f6d649fb4ab0,
            max_mid
          };

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

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

          FeatureField(const ::java::lang::String &, const ::java::lang::String &, jfloat);

          static ::org::apache::lucene::search::Query newLogQuery(const ::java::lang::String &, const ::java::lang::String &, jfloat, jfloat);
          static ::org::apache::lucene::search::Query newSaturationQuery(const ::java::lang::String &, const ::java::lang::String &);
          static ::org::apache::lucene::search::Query newSaturationQuery(const ::java::lang::String &, const ::java::lang::String &, jfloat, jfloat);
          static ::org::apache::lucene::search::Query newSigmoidQuery(const ::java::lang::String &, const ::java::lang::String &, jfloat, jfloat, jfloat);
          void setFeatureValue(jfloat) const;
          ::org::apache::lucene::analysis::TokenStream tokenStream(const ::org::apache::lucene::analysis::Analyzer &, const ::org::apache::lucene::analysis::TokenStream &) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace document {
        extern PyType_Def PY_TYPE_DEF(FeatureField);
        extern PyTypeObject *PY_TYPE(FeatureField);

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

#endif