|
Xpace
|
#include <store_j.h>
Public Member Functions | |
| JavaStoreSink (JNIEnv *jnienv, jobject jsink) | |
| virtual bool | setCount (uint64 docs) override |
| Inform the Sink how many documents/records/rows to expect. More... | |
| virtual int64 | start (uint64 doc) override |
| Begin a new document/record/row, committing current one (if any) More... | |
| virtual bool | set (const Store::Location &loc, int64 value) override |
| virtual bool | set (const Store::Location &loc, const Xpace::DecimalFloat &value) override |
| virtual bool | set (const Store::Location &loc, const Xpace::String8 &value) override |
| virtual bool | set (const Store::Location &loc, const Xpace::String16 &value) override |
| virtual bool | set (const Store::Location &loc, const Xpace::BytesRef &value) override |
| virtual bool | set (const Store::Location &loc, const Xpace::DateTime &value) |
| virtual bool | set (const String8 &child, int64 value) override |
| Write an int64. More... | |
| virtual bool | set (const String8 &child, const Xpace::DecimalFloat &value) override |
| Add a DecimalFloat. More... | |
| virtual bool | set (const String8 &child, const Xpace::String8 &value) override |
| Add a String8. More... | |
| virtual bool | set (const String8 &child, const Xpace::String16 &value) override |
| Add a String16. More... | |
| virtual bool | set (const String8 &child, const Xpace::BytesRef &value) override |
| Add a BytesRef. More... | |
| virtual bool | set (const String8 &child, const Xpace::DateTime &value) |
| Add a DateTime. More... | |
| virtual bool | set (int child, int64 value) override |
| Write an int64. More... | |
| virtual bool | set (int child, const Xpace::DecimalFloat &value) override |
| Add a DecimalFloat. More... | |
| virtual bool | set (int child, const Xpace::String8 &value) override |
| Add a String8. More... | |
| virtual bool | set (int child, const Xpace::String16 &value) override |
| Add a String16. More... | |
| virtual bool | set (int child, const Xpace::BytesRef &value) override |
| Add a BytesRef. More... | |
| virtual bool | set (int child, const Xpace::DateTime &value) |
| Add a DateTime. More... | |
| virtual void | close () override |
| We're finshed with this Sink. More... | |
Public Member Functions inherited from Xpace::Sink< const Location & > | |
| virtual const Location & | add (const String &name, DerivedDataType type, const Location &location, bool *added=0) |
| Add a field by name. More... | |
| virtual const Location & | add (const Configuration &config, const Location &location, bool *added=0) |
| Add a field from a Configuration. More... | |
| virtual bool | move (const Location &location) |
| Move without setting data. More... | |
| virtual bool | set (const Location &location, int64 value) |
| Write an int64. More... | |
| virtual bool | set (const Location &location, const DecimalFloat &value) |
| Add a DecimalFloat. More... | |
| virtual bool | set (const Location &location, const String8 &value) |
| Add a String8. More... | |
| virtual bool | set (const Location &location, const String16 &value) |
| Add a String16. More... | |
| virtual bool | set (const Location &location, const DateTime &value) |
| Add a DateTime. More... | |
| virtual bool | set (const Location &location, const BytesRef &value) |
| Add a BytesRef. More... | |
Public Member Functions inherited from Xpace::SinkBase | |
| virtual | ~SinkBase () |
Public Member Functions inherited from Xpace::Sink< const String8 & > | |
| virtual const String8 & | add (const String &name, DerivedDataType type, const String8 &location, bool *added=0) |
| Add a field by name. More... | |
| virtual const String8 & | add (const Configuration &config, const String8 &location, bool *added=0) |
| Add a field from a Configuration. More... | |
| virtual bool | move (const String8 &location) |
| Move without setting data. More... | |
Public Member Functions inherited from Xpace::Sink< int > | |
| virtual int | add (const String &name, DerivedDataType type, intlocation, bool *added=0) |
| Add a field by name. More... | |
| virtual int | add (const Configuration &config, intlocation, bool *added=0) |
| Add a field from a Configuration. More... | |
| virtual bool | move (intlocation) |
| Move without setting data. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Xpace::SinkBase | |
| SinkBase () | |
| Xpace::JavaStoreSink::JavaStoreSink | ( | JNIEnv * | jnienv, |
| jobject | jsink | ||
| ) |
Inform the Sink how many documents/records/rows to expect.
| docs | the number of documents/records/rows |
Reimplemented from Xpace::SinkBase.
Definition at line 35 of file store_j.h.
References convert_pass(), and start().
Begin a new document/record/row, committing current one (if any)
| docNum | a suggested document |
Reimplemented from Xpace::SinkBase.
Definition at line 41 of file store_j.h.
References convert_pass().
Referenced by setCount().
|
inlineoverridevirtual |
Definition at line 49 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Definition at line 56 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Definition at line 63 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Definition at line 70 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Definition at line 77 of file store_j.h.
References convert_pass(), and value.
|
inlinevirtual |
Definition at line 84 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Write an int64.
| location | |
| value |
Reimplemented from Xpace::Sink< const String8 & >.
Definition at line 99 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Add a DecimalFloat.
| location | |
| value |
Reimplemented from Xpace::Sink< const String8 & >.
Definition at line 106 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Add a String8.
| location | |
| value |
Reimplemented from Xpace::Sink< const String8 & >.
Definition at line 113 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Add a String16.
| location | |
| value |
Reimplemented from Xpace::Sink< const String8 & >.
Definition at line 120 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Add a BytesRef.
| location | |
| value |
Reimplemented from Xpace::Sink< const String8 & >.
Definition at line 127 of file store_j.h.
References convert_pass(), and value.
|
inlinevirtual |
Add a DateTime.
| location | |
| value |
Reimplemented from Xpace::Sink< const String8 & >.
Definition at line 134 of file store_j.h.
References convert_pass(), and value.
Write an int64.
| location | |
| value |
Reimplemented from Xpace::Sink< int >.
Definition at line 149 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Add a DecimalFloat.
| location | |
| value |
Reimplemented from Xpace::Sink< int >.
Definition at line 156 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Add a String8.
| location | |
| value |
Reimplemented from Xpace::Sink< int >.
Definition at line 163 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Add a String16.
| location | |
| value |
Reimplemented from Xpace::Sink< int >.
Definition at line 170 of file store_j.h.
References convert_pass(), and value.
|
inlineoverridevirtual |
Add a BytesRef.
| location | |
| value |
Reimplemented from Xpace::Sink< int >.
Definition at line 177 of file store_j.h.
References convert_pass(), and value.
|
inlinevirtual |
Add a DateTime.
| location | |
| value |
Reimplemented from Xpace::Sink< int >.
Definition at line 184 of file store_j.h.
References close(), convert_pass(), and value.
|
inlineoverridevirtual |
We're finshed with this Sink.
Reimplemented from Xpace::SinkBase.
Definition at line 199 of file store_j.h.
Referenced by set().