Xpace
Xpace::Store::Sink Class Reference

A write-only, forward (by document) cursor into a Store. More...

#include <store.h>

Inheritance diagram for Xpace::Store::Sink:
Xpace::Sink< const Location & > Xpace::Sink< const String8 & > Xpace::Sink< int > Xpace::SinkBase Xpace::SinkBase Xpace::SinkBase Xpace::JavaStoreSink

Additional Inherited Members

- 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 ()
 
virtual bool setCount (uint64 docs)
 Inform the Sink how many documents/records/rows to expect. More...
 
virtual int64 start (uint64 docNum)
 Begin a new document/record/row, committing current one (if any) More...
 
virtual void close ()
 We're finshed with this Sink. More...
 
- Public Member Functions inherited from Xpace::Sink< const String8 & >
virtual const String8add (const String &name, DerivedDataType type, const String8 &location, bool *added=0)
 Add a field by name. More...
 
virtual const String8add (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...
 
virtual bool set (const String8 &location, int64 value)
 Write an int64. More...
 
virtual bool set (const String8 &location, const DecimalFloat &value)
 Add a DecimalFloat. More...
 
virtual bool set (const String8 &location, const String8 &value)
 Add a String8. More...
 
virtual bool set (const String8 &location, const String16 &value)
 Add a String16. More...
 
virtual bool set (const String8 &location, const DateTime &value)
 Add a DateTime. More...
 
virtual bool set (const String8 &location, const BytesRef &value)
 Add a BytesRef. 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...
 
virtual bool set (intlocation, int64 value)
 Write an int64. More...
 
virtual bool set (intlocation, const DecimalFloat &value)
 Add a DecimalFloat. More...
 
virtual bool set (intlocation, const String8 &value)
 Add a String8. More...
 
virtual bool set (intlocation, const String16 &value)
 Add a String16. More...
 
virtual bool set (intlocation, const DateTime &value)
 Add a DateTime. More...
 
virtual bool set (intlocation, const BytesRef &value)
 Add a BytesRef. More...
 
- Protected Member Functions inherited from Xpace::SinkBase
 SinkBase ()
 

Detailed Description

A write-only, forward (by document) cursor into a Store.

< move to child before writing

Definition at line 79 of file store.h.


The documentation for this class was generated from the following file:

current as of Wed Jun 10 2026 12:00:06