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 / codecs / bloom / FuzzySet.h
Size: Mime:
#ifndef org_apache_lucene_codecs_bloom_FuzzySet_H
#define org_apache_lucene_codecs_bloom_FuzzySet_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        class Accountable;
        class BytesRef;
      }
      namespace codecs {
        namespace bloom {
          class FuzzySet$ContainsResult;
          class FuzzySet;
          class HashFunction;
        }
      }
      namespace store {
        class DataOutput;
        class DataInput;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {
        namespace bloom {

          class FuzzySet : public ::java::lang::Object {
           public:
            enum {
              mid_addValue_56afe0077fbf95be,
              mid_contains_26bcb99dba738e4f,
              mid_createSetBasedOnMaxMemory_4d6389c095253b95,
              mid_createSetBasedOnQuality_61dc50922b839173,
              mid_deserialize_3311751234c551c2,
              mid_downsize_c4c7695eb35a3632,
              mid_getEstimatedNumberUniqueValuesAllowingForCollisions_8911bf18e41c2ffc,
              mid_getEstimatedUniqueValues_9135e6328d9d7dfd,
              mid_getNearestSetSize_898568c95ed890a7,
              mid_getNearestSetSize_5aa333df38c30328,
              mid_getSaturation_2d3e9e78eeb8f24f,
              mid_hashFunctionForVersion_a19d0239d2c4a38b,
              mid_ramBytesUsed_062ad918b5794303,
              mid_serialize_d52a6c6e7cd0e6f1,
              mid_toString_a6d454b6117bc1ba,
              max_mid
            };

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

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

            static jint VERSION_CURRENT;
            static jint VERSION_SPI;
            static jint VERSION_START;

            void addValue(const ::org::apache::lucene::util::BytesRef &) const;
            ::org::apache::lucene::codecs::bloom::FuzzySet$ContainsResult contains(const ::org::apache::lucene::util::BytesRef &) const;
            static FuzzySet createSetBasedOnMaxMemory(jint);
            static FuzzySet createSetBasedOnQuality(jint, jfloat);
            static FuzzySet deserialize(const ::org::apache::lucene::store::DataInput &);
            FuzzySet downsize(jfloat) const;
            static jint getEstimatedNumberUniqueValuesAllowingForCollisions(jint, jint);
            jint getEstimatedUniqueValues() const;
            static jint getNearestSetSize(jint);
            static jint getNearestSetSize(jint, jfloat);
            jfloat getSaturation() const;
            static ::org::apache::lucene::codecs::bloom::HashFunction hashFunctionForVersion(jint);
            jlong ramBytesUsed() const;
            void serialize(const ::org::apache::lucene::store::DataOutput &) const;
            ::java::lang::String toString() const;
          };
        }
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {
        namespace bloom {
          extern PyType_Def PY_TYPE_DEF(FuzzySet);
          extern PyTypeObject *PY_TYPE(FuzzySet);

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

#endif