|
Xpace
|
Go to the source code of this file.
Classes | |
| struct | Xpace_Table_Sink |
Typedefs | |
| typedef void * | Xpace_Table |
| typedef void * | Xpace_Table_Source |
Enumerations | |
| enum | Xpace_StoreAccess { SA_readWrite, SA_readOnly, SA_bulkWrite } |
Functions | |
| XPACE_C_EXPORT (Xpace_Error) Xpace_Table_getColumnConfig(const Xpace_Table | |
| Get a column's configuration. More... | |
| XPACE_C_EXPORT (void) Xpace_Table_Source_destroy(Xpace_Table_Source) | |
| destroy a Table Source More... | |
Variables | |
| Xpace_StoreAccess | access |
| Xpace_StoreAccess Xpace_Table * | result |
| uint | col |
| uint64 | row |
| Begin a new row, committing this one (if any) More... | |
| uint | column |
| Add a 64-bit int to the row. More... | |
| uint bool * | ok |
| const Xpace_Char16 * | name |
| Sink callbacks for table data. More... | |
| const Xpace_Char16 Xpace_Data_Type | type |
| const Xpace_Char16 Xpace_Data_Type uint | columnNum |
| const Xpace_Char16 Xpace_Data_Type uint bool * | added |
| const Xpace_Char16 Xpace_Data_Type uint bool void * | callerInfo |
| We're finished with this sink. More... | |
| uint int64 | value |
| uint int64 | mantissa |
| uint int64 int | decimals |
| uint const Xpace_Char8 * | data |
| uint const Xpace_Char8 size_t | len |
| uint * | columns |
| uint uint64 | maxRows |
| uint uint64 Xpace_Table_Sink * | sink |
| typedef void* Xpace_Table |
| typedef void* Xpace_Table_Source |
| enum Xpace_StoreAccess |
| XPACE_C_EXPORT | ( | Xpace_Error | ) |
Get a column's configuration.
Get to the error that cause this one (if any)
Get Table data through a callback, starting from and updating the current position.
get the (raw) contents of a cell from the current row NB only guarenteed to be valid while the row is current
get the (integer) contents of a cell from the current row
get the (String) contents of a cell from the current row
create a read-only cursor into a Table
| config | the Table's Configuration |
| access | how the Table will be opened |
| true | if the table is empty |
| the | table's name |
| col | the column number |
| the | column's Configuration |
| the | number of rows in the table |
| the | number of columns in the table |
| row | start at this row |
| the | Source |
| row | move cursor to this row |
| true | if successful, false (and don't move) if not |
| column | from this column |
| the | (String) contents of the cell |
| column | from this column |
| ok | fillin true if successful |
| the | (integer) contents of the cell |
| column | from this column |
| the | (raw) contents of the cell |
| columns | ~0-terminated list of columns to get; if 0, get all columns |
| maxRows | the maximum number of rows to get |
| sink | called for each cell #param result fillin true iff each call to sink->set() returned true |
| XPACE_C_EXPORT | ( | void | ) |
destroy a Table Source
| Xpace_StoreAccess access |
| uint uint64 Xpace_Table_Sink void bool * result |
Definition at line 42 of file table_c.h.
Referenced by Xpace::TableResult::alloc(), Xpace::CompressibleString< STR >::diff(), Xpace::eval_range(), Xpace::TableResult::get(), Xpace::TableResult::newDoc(), and Xpace::CompressibleString< STR >::sum().
| uint col |
Definition at line 69 of file table_c.h.
Referenced by Xpace::TableSinkToStore::add().
| uint64 row |
| uint column |
Add a 64-bit int to the row.
Add DateTime.
Add raw bytes.
Add a String16 to the row.
Add a String8 to the row.
Add a double to the row.
| column | |
| value |
| column | |
| mantissa | |
| decimals |
| column | |
| data | the String8's contents - NB valid only as long as the row is current |
| len | the String8's length |
| column | |
| data | the String16's contents - NB valid only as long as the row is current |
| len | the String16's length |
| column | |
| data | the bytes - NB valid only as long as the row is current |
| len | the bytes' length |
| column | |
| value | - NB valid only as long as the row is current |
Definition at line 108 of file table_c.h.
Referenced by Xpace::JavaTableSink::add(), and Xpace::TableSinkToStore::BadCode::BadCode().
| const Xpace_Char16* name |
Sink callbacks for table data.
Set a column's name and type
| name | the name of the column |
| type | the type of the column |
| columnNum | a proposed column number |
| added | true iff actually added |
Definition at line 141 of file table_c.h.
Referenced by Xpace::eval_range(), Xpace::File::getName(), Xpace::WrapImplPointer< T >::operator SharedImplPointer< T, true >(), Xpace::TranslateStringDateTime< LOC, STR >::TranslateStringDateTime(), Xpace::TranslateStringInt< LOC, STR >::TranslateStringInt(), Xpace::TranslateStringIPv4< LOC, STR >::TranslateStringIPv4(), and Xpace::TranslateStringUint< LOC, STR >::TranslateStringUint().
| const Xpace_Char16 Xpace_Data_Type type |
Definition at line 141 of file table_c.h.
Referenced by Xpace::TranslatePtr< LOC, STR >::create(), Xpace::TranslateString< LOC, STR >::create(), Xpace::CompressibleInt< N, B >::GCF(), and Xpace::TranslateNode< LOC >::getType().
| const Xpace_Char16 Xpace_Data_Type uint columnNum |
| const Xpace_Char16 Xpace_Data_Type uint bool* added |
Definition at line 141 of file table_c.h.
Referenced by Xpace::TableSinkToStore::add(), Xpace::JavaTableSink::add(), and Xpace::Sink< uint >::add().
| uint uint64 Xpace_Table_Sink void * callerInfo |
| uint Xpace_DateTime * value |
Definition at line 159 of file table_c.h.
Referenced by Xpace::JavaStoreSink::set(), Xpace::TableSinkToStore::set(), Xpace::LoadIndexParser::set(), and Xpace::JavaTableSink::set().
Definition at line 180 of file table_c.h.
Referenced by Xpace::CompressibleString< STR >::operator const STR &(), and Xpace::SharedImplPointer< T, true >::operator->().
Definition at line 180 of file table_c.h.
Referenced by Xpace::TableResult::alloc(), Xpace::DecimalFloat::DecimalFloat(), Xpace::CompressibleString< STR >::diff(), Xpace::DecimalFloat::operator<(), Xpace::DecimalFloat::toRawString(), and Xpace::DecimalFloat::toString().
| uint* columns |
Definition at line 340 of file table_c.h.
Referenced by Xpace::TableSinkToStore::BadCode::BadCode().
| uint uint64 Xpace_Table_Sink* sink |
Definition at line 340 of file table_c.h.
Referenced by Xpace::TranslateString< LOC, STR >::create(), Xpace::Index::Sink::ref(), and Xpace::RefListCursor::Sink::~Sink().