Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_facet_RandomSamplingFacetsCollector_H
#define org_apache_lucene_facet_RandomSamplingFacetsCollector_H
#include "org/apache/lucene/facet/FacetsCollector.h"
namespace java {
namespace lang {
class Class;
}
namespace util {
class List;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
class IndexSearcher;
}
namespace facet {
class FacetsConfig;
class FacetResult;
class FacetsCollector$MatchingDocs;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace facet {
class RandomSamplingFacetsCollector : public ::org::apache::lucene::facet::FacetsCollector {
public:
enum {
mid_init$_54889bef30791899,
mid_init$_e7822e9c668e5510,
mid_amortizeFacetCounts_7dc65b8c5e8fdc1c,
mid_getMatchingDocs_f256ac6804d320e9,
mid_getOriginalMatchingDocs_f256ac6804d320e9,
mid_getSamplingRate_ab5a92c6a29be348,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit RandomSamplingFacetsCollector(jobject obj) : ::org::apache::lucene::facet::FacetsCollector(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
RandomSamplingFacetsCollector(const RandomSamplingFacetsCollector& obj) : ::org::apache::lucene::facet::FacetsCollector(obj) {}
RandomSamplingFacetsCollector(jint);
RandomSamplingFacetsCollector(jint, jlong);
::org::apache::lucene::facet::FacetResult amortizeFacetCounts(const ::org::apache::lucene::facet::FacetResult &, const ::org::apache::lucene::facet::FacetsConfig &, const ::org::apache::lucene::search::IndexSearcher &) const;
::java::util::List getMatchingDocs() const;
::java::util::List getOriginalMatchingDocs() const;
jdouble getSamplingRate() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace facet {
extern PyType_Def PY_TYPE_DEF(RandomSamplingFacetsCollector);
extern PyTypeObject *PY_TYPE(RandomSamplingFacetsCollector);
class t_RandomSamplingFacetsCollector {
public:
PyObject_HEAD
RandomSamplingFacetsCollector object;
static PyObject *wrap_Object(const RandomSamplingFacetsCollector&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif