|
Xpace
|
#include <data.h>
Public Member Functions | |
| virtual LOC | add (const String &name, DerivedDataType type, LOC location, bool *added=0) |
| Add a field by name. More... | |
| virtual LOC | add (const Configuration &config, LOC location, bool *added=0) |
| Add a field from a Configuration. More... | |
| virtual RET | move (LOC location) |
| Move without setting data. More... | |
| virtual RET | set (LOC location, int64 value) |
| Write an int64. More... | |
| virtual RET | set (LOC location, const DecimalFloat &value) |
| Add a DecimalFloat. More... | |
| virtual RET | set (LOC location, const String8 &value) |
| Add a String8. More... | |
| virtual RET | set (LOC location, const String16 &value) |
| Add a String16. More... | |
| virtual RET | set (LOC location, const DateTime &value) |
| Add a DateTime. More... | |
| virtual RET | set (LOC 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from Xpace::SinkBase | |
| SinkBase () | |
| LOC | the location (absolute or relative) of a datum (e.g. table cell or field) |
| RET | type of the return value of the functions; usually a bool, true to continue, false to stop |
|
inlinevirtual |
Add a field by name.
| name | the name of the field |
| type | the type of the field |
| location | a proposed location; may be null |
| added | true iff the field or column was added |
Reimplemented in Xpace::Table::Sink, Xpace::JavaTableSink, and Xpace::TableSinkToStore.
Definition at line 319 of file data.h.
Referenced by Xpace::TranslateStringInt< LOC, STR >::operator()(), Xpace::TranslateStringDateTime< LOC, STR >::TranslateStringDateTime(), Xpace::TranslateStringInt< LOC, STR >::TranslateStringInt(), Xpace::TranslateStringIPv4< LOC, STR >::TranslateStringIPv4(), Xpace::TranslateStringString< LOC, STR >::TranslateStringString(), and Xpace::TranslateStringUint< LOC, STR >::TranslateStringUint().
|
inlinevirtual |
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 in Xpace::TableSinkToStore.
|
inlinevirtual |
Move without setting data.
| location |
Definition at line 346 of file data.h.
Referenced by Xpace::TableSinkToStore::BadCode::BadCode().
|
inlinevirtual |
Write an int64.
| location | |
| value |
Reimplemented in Xpace::JavaStoreSink, Xpace::JavaStoreSink, Xpace::JavaTableSink, and Xpace::TableSinkToStore.
Definition at line 357 of file data.h.
Referenced by Xpace::TableSinkToStore::BadCode::BadCode(), Xpace::TranslatePtrInt< LOC, STR, SIGNED, SIZE >::operator()(), Xpace::TranslateStringString< LOC, STR >::operator()(), Xpace::TranslatePtrInt< LOC, STR, false, 1 >::operator()(), Xpace::TranslatePtrInt< LOC, STR, true, 1 >::operator()(), Xpace::TranslateStringUint< LOC, STR >::operator()(), Xpace::TranslatePtrInt< LOC, STR, false, 2 >::operator()(), Xpace::TranslatePtrInt< LOC, STR, true, 2 >::operator()(), Xpace::TranslateStringInt< LOC, STR >::operator()(), Xpace::TranslatePtrInt< LOC, STR, false, 4 >::operator()(), Xpace::TranslatePtrInt< LOC, STR, true, 4 >::operator()(), Xpace::TranslatePtrInt< LOC, STR, false, 8 >::operator()(), Xpace::TranslatePtrInt< LOC, STR, true, 8 >::operator()(), Xpace::TranslateStringDateTime< LOC, STR >::operator()(), and Xpace::TranslateStringIPv4< LOC, STR >::operator()().
|
inlinevirtual |
Add a DecimalFloat.
| location | |
| value |
Reimplemented in Xpace::JavaStoreSink, Xpace::JavaStoreSink, Xpace::JavaTableSink, and Xpace::TableSinkToStore.
|
inlinevirtual |
Add a String8.
| location | |
| value |
Reimplemented in Xpace::JavaStoreSink, Xpace::JavaStoreSink, Xpace::JavaTableSink, and Xpace::TableSinkToStore.
|
inlinevirtual |
Add a String16.
| location | |
| value |
Reimplemented in Xpace::JavaStoreSink, Xpace::JavaStoreSink, Xpace::JavaTableSink, and Xpace::TableSinkToStore.
|
inlinevirtual |
Add a DateTime.
| location | |
| value |
Reimplemented in Xpace::JavaStoreSink, Xpace::JavaStoreSink, and Xpace::JavaTableSink.
|
inlinevirtual |
Add a BytesRef.
| location | |
| value |
Reimplemented in Xpace::JavaStoreSink, Xpace::JavaStoreSink, Xpace::JavaTableSink, and Xpace::TableSinkToStore.