|
Xpace
|
#include <tablesinktostore.h>
Classes | |
| class | BadCode |
| class | NoDocID |
Public Member Functions | |
| TableSinkToStore (const Configuration &config) | |
| virtual uint | add (const String &name, DerivedDataType type, uint columnNum, bool *added=0) override |
| Add a column by name. More... | |
| virtual uint | add (const Configuration &config, uint col, bool *added) override |
| Add a field from a Configuration. More... | |
| virtual int64 | start (uint64) override |
| Begin a new document/record/row, committing current one (if any) More... | |
| virtual bool | set (uint column, int64 value) override |
| Write an int64. More... | |
| virtual bool | set (uint column, const DecimalFloat &value) override |
| Add a DecimalFloat. More... | |
| virtual bool | set (uint column, const String8 &value) override |
| Add a String8. More... | |
| virtual bool | set (uint column, const String16 &value) override |
| Add a String16. More... | |
| virtual bool | set (uint column, const BytesRef &value) override |
| Add a BytesRef. More... | |
| virtual void | close () override |
| We're finshed with this Sink. More... | |
Public Member Functions inherited from Xpace::Sink< uint > | |
| virtual bool | move (uintlocation) |
| Move without setting data. More... | |
| virtual bool | set (uintlocation, const DateTime &value) |
| Add a DateTime. 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... | |
Static Public Attributes | |
| static const char * | DOC_ID_TAG |
| tag of the field (column) that contains the document identifier More... | |
| static const char * | LOC_TAG |
| tag of fields (columns) that contain location in the final store More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Xpace::SinkBase | |
| SinkBase () | |
Definition at line 21 of file tablesinktostore.h.
| Xpace::TableSinkToStore::TableSinkToStore | ( | const Configuration & | config | ) |
|
inlineoverridevirtual |
Add a column by name.
| name | the name of the column |
| type | the type of the column |
| columnNum | a proposed column number |
| added | true iff the field or column was added |
Implements Xpace::Table::Sink.
Definition at line 31 of file tablesinktostore.h.
|
overridevirtual |
Add a field from a Configuration.
| config | the configuration of the field |
| location | a proposed location; may be null |
| added | true iff the column was added |
Reimplemented from Xpace::Sink< uint >.
Begin a new document/record/row, committing current one (if any)
| docNum | a suggested document |
Reimplemented from Xpace::SinkBase.
Definition at line 46 of file tablesinktostore.h.
References Xpace::SA_bulkWrite.
Write an int64.
| location | |
| value |
Reimplemented from Xpace::Sink< uint >.
Definition at line 57 of file tablesinktostore.h.
References value.
|
inlineoverridevirtual |
Add a DecimalFloat.
| location | |
| value |
Reimplemented from Xpace::Sink< uint >.
Definition at line 64 of file tablesinktostore.h.
References value.
|
inlineoverridevirtual |
Add a String8.
| location | |
| value |
Reimplemented from Xpace::Sink< uint >.
Definition at line 71 of file tablesinktostore.h.
References value.
|
inlineoverridevirtual |
Add a String16.
| location | |
| value |
Reimplemented from Xpace::Sink< uint >.
Definition at line 78 of file tablesinktostore.h.
References value.
|
inlineoverridevirtual |
Add a BytesRef.
| location | |
| value |
Reimplemented from Xpace::Sink< uint >.
Definition at line 86 of file tablesinktostore.h.
References value.
|
inlineoverridevirtual |
We're finshed with this Sink.
Reimplemented from Xpace::SinkBase.
Definition at line 93 of file tablesinktostore.h.
|
static |
tag of the field (column) that contains the document identifier
Definition at line 24 of file tablesinktostore.h.
|
static |
tag of fields (columns) that contain location in the final store
Definition at line 25 of file tablesinktostore.h.