Xpace
Xpace Namespace Reference

Xpace project main namespace More...

Namespaces

 Remote
 

Classes

class  _impl_ref
 placeholder class More...
 
struct  BaseDataTags
 
class  BaseDataType
 
class  BigInt
 
class  BigUint
 
class  Bounds_Error
 
struct  Buf
 A low-level data holder. More...
 
class  CantCreateCollator
 
struct  ChangeSign
 
struct  ChangeSign< int16 >
 
struct  ChangeSign< int32 >
 
struct  ChangeSign< int64 >
 
struct  ChangeSign< int8 >
 
struct  ChangeSign< uint16 >
 
struct  ChangeSign< uint32 >
 
struct  ChangeSign< uint64 >
 
struct  ChangeSign< uint8 >
 
class  CollatorBufferKey
 
struct  CollatorTags
 
class  CollatorTempKey
 
class  CollatorTermMismatch
 
class  CollatorTermTooLong
 
class  CollatorValueOutOfRange
 
class  CompressibleInt
 
class  CompressibleString
 
class  CompressList
 
class  ConfigImpl
 
class  Configurable
 base class for a configurable object inherit from this to make your object configurable More...
 
class  Configuration
 Each high-level Xpace object has a Configuration. More...
 
class  Corrupt_Error
 
struct  DataFileTags
 
class  Date
 
class  DateTime
 
class  DecimalFloat
 A floatimg-point number with explicit mantissa and decimals TODO: normalize. More...
 
struct  DerivedDataTags
 
class  DerivedDataType
 
class  eltIntCoded
 
class  eltIntFixed
 
class  eltIntInfo
 
class  eltIntVar
 
class  eltIntVarCoded
 
class  evalBadOperator
 Thrown when a query contains an unknown or out-of-place operator. More...
 
class  evalCantOpenIndex
 
class  evalCantRegex
 
class  evalInvalidRegex
 
class  evalNoIndex
 Thrown when a query on an IndexList contains no Index identifier. More...
 
class  Exception
 
class  File
 
class  File_Cant_Close
 
class  File_Cant_Open
 
class  File_Cant_Read
 
class  File_Cant_Write
 
class  File_Corrupt
 
class  FindNextDoc
 
class  FloatList
 
class  forEachNode
 
class  IncompatibleType
 Thrown when you ask for a type that cannot be converted E.g., asking for string data as an int64. More...
 
class  Index
 An index. More...
 
class  IndexList
 
class  indexListImpl
 
struct  internalDataType
 
struct  IntWrapper
 
class  IPv4
 
class  JavaStatus
 
class  JavaStoreSink
 
class  JavaTableSink
 
class  LoadIndexParser
 
class  MatchString
 
struct  Node
 
struct  NullList
 
class  Parser_Error
 
class  PassNumeral
 
class  PassString
 
struct  RawString
 Raw Strings - just a pointer and length. More...
 
struct  Ref
 A low-level const data holder. More...
 
class  RefListCursor
 A cursor into a list of references - e.g., a search result A single reference is an array of uint64s. More...
 
struct  SearchNames
 
class  SharedImpl
 The base class for all shared implementations. More...
 
class  SharedImplPointer
 A pointer to a shared class object Copying the pointer calls T::clone() T must inherit SharedImpl. More...
 
class  SharedVoidPointer
 an anonymous pointer, used only in conjunction with SharedImplPointer More...
 
struct  Signed
 
struct  Signed< BigInt< SIZE > >
 
struct  Signed< BigUint< SIZE > >
 
struct  Signed< uint16 >
 
struct  Signed< uint32 >
 
struct  Signed< uint64 >
 
struct  Signed< uint8 >
 
class  Sink
 
class  SinkBase
 The non-LOC part of a Sink. More...
 
class  SkipPtrNode
 
class  SkipStringNode
 
struct  SortContext
 Parameters for sorting. More...
 
class  SortToSink
 
class  Source
 
class  SourceBase
 A Source is an interface to an object that provides access to each field or column of a data record or row. More...
 
class  Store
 A Store is a hierarchically organized dataset, suitable for managing structured text and multidimensional (OLAP) data. More...
 
class  String
 A string, Unicode UTF-16 and reference-counted. More...
 
class  Table
 
class  TableResult
 
class  TableSinkToStore
 
class  Time
 
class  Trace
 debugging More...
 
struct  TranslateNames
 
class  TranslateNode
 Translate content Input can be anything Output is to a Sink<LOC> so must be one of its supported types. More...
 
class  TranslatePtr
 
class  TranslatePtrInt
 
class  TranslatePtrInt< LOC, STR, false, 1 >
 
class  TranslatePtrInt< LOC, STR, false, 2 >
 
class  TranslatePtrInt< LOC, STR, false, 4 >
 
class  TranslatePtrInt< LOC, STR, false, 8 >
 
class  TranslatePtrInt< LOC, STR, true, 1 >
 
class  TranslatePtrInt< LOC, STR, true, 2 >
 
class  TranslatePtrInt< LOC, STR, true, 4 >
 
class  TranslatePtrInt< LOC, STR, true, 8 >
 
class  TranslateString
 
class  TranslateStringDateTime
 
class  TranslateStringInt
 
class  TranslateStringIPv4
 
class  TranslateStringString
 
class  TranslateStringUint
 
class  Unimplemented_Error
 General exceptions. More...
 
struct  Unsigned
 
struct  Unsigned< BigInt< SIZE > >
 
struct  Unsigned< BigUint< SIZE > >
 
struct  Unsigned< int16 >
 
struct  Unsigned< int32 >
 
struct  Unsigned< int64 >
 
struct  Unsigned< int8 >
 
class  WrapImplPointer
 A wrapper around a shared class object Used to store objects in containers (e.g. More...
 
class  XML_Bad_Value
 Found a value, but it's bad (e.g., out of range, meaningless) More...
 
class  XML_Error
 Configuration errors. More...
 
class  XML_No_Value
 Can't find a named value. More...
 

Typedefs

typedef Ref< byteBytesRef
 
typedef RawString< utf8_tString8
 
typedef RawString< utf16_tString16
 
typedef std::function< int64(uint64 val)> StatusCallback
 A status callback passed to operations that could be time-consuming. More...
 
typedef int errno_t
 
typedef std::function< int64(int64 val)> NextDocCallback
 
typedef std::function< bool(utf16_t ch, const String &term)> TranslationError
 Called on translation error. More...
 
unsigned types
typedef unsigned char uchar
 
typedef uchar byte
 
typedef unsigned int uint
 
explicity-sized types
typedef char int8
 
typedef unsigned char uint8
 
typedef short int16
 
typedef unsigned short uint16
 
typedef int int32
 
typedef unsigned int uint32
 
typedef long long int64
 
typedef unsigned long long uint64
 
UTF char types
typedef unsigned char utf8_t
 
typedef unsigned short utf16_t
 
fastest native types of at least 32 bits
typedef int32 int_fast32
 
typedef uint32 uint_fast32
 

Enumerations

enum  { _CVTBUFSIZE = 349 }
 
enum  XML_Encoding { UTF8, UTF16 }
 
enum  NextDocResult { NDR_abort_false = -1, NDR_abort_true = -2 }
 
enum  StoreAccess { SA_readWrite, SA_readOnly, SA_bulkWrite }
 
enum  SinkNotifyCount { SNC_Never, SNC_Continue, SNC_After, SNC_Before }
 Sink is an interface to an object that receives data. More...
 

Functions

XPACE_EXPORT std::ostream & operator<< (std::ostream &ostr, const String &str)
 Output a String to a narrow char stream. More...
 
XPACE_EXPORT std::wostream & operator<< (std::wostream &ostr, const String &str)
 Output a String to a wide char stream. More...
 
uint32 XPACE_EXPORT pow10_32 (uint p)
 
uint64 XPACE_EXPORT pow10_64 (uint p)
 
template<typename TO , typename FROM >
TO narrow_to (FROM from)
 checked loss-of-precision cast More...
 
int64 _atoi64 (const char *)
 
int64 _wtoi64 (const wchar_t *)
 
int sprintf_s (char *, size_t, const char *,...)
 
int swprintf_s (wchar_t *, size_t, const wchar_t *,...)
 
char * strtok_s (char *, const char *, char **)
 
errno_t strncpy_s (char *, size_t, const char *, size_t)
 
errno_t _itoa_s (int, char *, size_t, int)
 
errno_t _itow_s (int, wchar_t *, size_t, int)
 
errno_t _i64toa_s (int64, char *, size_t, int)
 
errno_t _i64tow_s (int64, wchar_t *, size_t, int)
 
errno_t wmemmove_s (wchar_t *, size_t, const wchar_t *, size_t)
 
static int type_max (int)
 
static uint type_max (uint)
 
static int64 type_max (int64)
 
static uint64 type_max (uint64)
 
template<size_t SIZE>
static BigInt< SIZE > type_max (BigInt< SIZE >)
 
template<size_t SIZE>
static BigUint< SIZE > type_max (BigUint< SIZE >)
 
static int type_min (int)
 
static uint type_min (uint)
 
static int64 type_min (int64)
 
static uint64 type_min (uint64)
 
template<size_t SIZE>
static BigInt< SIZE > type_min (BigInt< SIZE >)
 
template<size_t SIZE>
static BigUint< SIZE > type_min (BigUint< SIZE >)
 
bool stringToUint (const String8 &str, uint radix, std::vector< uint64 > *val)
 
bool stringToUint (const String16 &str, uint radix, std::vector< uint64 > *val)
 
bool stringToInt (const String8 &str, uint radix, std::vector< uint64 > *val)
 
bool stringToInt (const String16 &str, uint radix, std::vector< uint64 > *val)
 
XPACE_EXPORT Table searchTable (const Index &index, const Table &table, const String &query)
 Search an Index, get results from a Table to a Table. More...
 
XPACE_EXPORT Table searchTable (const IndexList &indexList, const Table &table, const String &query)
 Search an IndexList, get results from an Table to a Table. More...
 
XPACE_EXPORT bool searchTable (const Index &index, const Table &table, const String &query, Table::Sink *sink, SinkNotifyCount sinkCount=SNC_After, const std::vector< uint > &columns=std::vector< uint >(), const std::vector< SortContext > &sort=std::vector< SortContext >())
 Search an Index, get results from a Table to a Sink. More...
 
XPACE_EXPORT bool searchTable (const IndexList &indexList, const Table &table, const String &query, Table::Sink *sink, SinkNotifyCount sinkCount=SNC_After, const std::vector< uint > &columns=std::vector< uint >(), const std::vector< SortContext > &sort=std::vector< SortContext >())
 Search an Indexlist, get results from a Table to a Sink. More...
 
XPACE_EXPORT bool searchTable (const String &query, Table::Sink *sink)
 Search IndexLists, get results from a Table to a Sink NB Indexes, Table, and sort are fully specified in query, and must be open. More...
 
XPACE_EXPORT Store searchStore (const Index &index, const Store &store, const String &query)
 Search an Index, get results from a Store to a Store. More...
 
XPACE_EXPORT Store searchStore (const IndexList &indexList, const Store &table, const String &query)
 Search an IndexList, get results from an Store to a Store. More...
 
XPACE_EXPORT bool searchStore (const Index &index, const Store &store, const String &query, Store::Sink *sink, SinkNotifyCount sinkCount=SNC_After, const std::vector< SortContext > &sort=std::vector< SortContext >(), Store::AddressBy addressBy=Store::AB_location, const std::vector< Store::Location > &nodes=std::vector< Store::Location >())
 Search an Index, get results from a Store to a Sink. More...
 
XPACE_EXPORT bool searchStore (const IndexList &indexList, const Store &store, const String &query, Store::Sink *sink, SinkNotifyCount sinkCount=SNC_After, const std::vector< SortContext > &sort=std::vector< SortContext >(), Store::AddressBy addressBy=Store::AB_location, const std::vector< Store::Location > &nodes=std::vector< Store::Location >())
 Search an Indexlist, get results from a Store to a Sink. More...
 
XPACE_EXPORT bool searchStore (const String &query, Store::Sink *sink)
 Search IndexLists, get results from a Store to a Sink NB Indexes, Store, and sort are fully specified in query, and must be open. More...
 
template<typename INDEX , typename STR >
INDEX::Iter find_term (const INDEX &index, const STR &val, bool *found=0)
 
template<typename REFLISTCURSOR , typename INDEX_ITER >
REFLISTCURSOR eval_range (const INDEX_ITER &begin, const INDEX_ITER &end)
 
XPACE_EXPORT Table CullTable (Table src, RefListCursor refList)
 Return a Table containing only the documents in refList. More...
 
XPACE_EXPORT Store CullStore (Store src, RefListCursor refList)
 Return a Store containing only the documents in refList. More...
 
template<typename CH >
void readString (MemBitStream *b, CH *ch, size_t length)
 
template<typename STR >
void readString (MemBitStream *b, STR *str)
 
template<typename CH >
size_t charSize (const CH *str, size_t length)
 
template<typename CH >
size_t stringLen (const CH *str, size_t len)
 
template<typename STR >
size_t stringLen (const STR &str)
 
template<typename CH >
bool writeString (const CH *str, size_t length, MemBitStream *b)
 
template<typename STR >
bool writeString (const STR &str, MemBitStream *b)
 
int64 defaultNextDoc (int64 doc)
 
bool default_on_error (utf16_t, const String &)
 Default error handler. More...
 
check an unsigned number against an error value
Parameters
the(unsigned) number to test
Returns
bool if it's invalid
template<typename N >
bool INVALID (N n)
 

Variables

class XPACE_EXPORT DateTime
 
static StatusCallback defaultStatus = [](int64 doc){ return 0; }
 Default status function. More...
 
NullList null_list
 
uint _counts [16]
 
size_t _sizes [16]
 
bool _is_delta
 
uint _max_ht_size
 
uint _max_ht_pct
 

Detailed Description

Xpace project main namespace

Typedef Documentation

typedef unsigned char Xpace::uchar

Definition at line 73 of file types.h.

typedef uchar Xpace::byte

Definition at line 74 of file types.h.

typedef unsigned int Xpace::uint

Definition at line 75 of file types.h.

typedef char Xpace::int8

Definition at line 80 of file types.h.

typedef unsigned char Xpace::uint8

Definition at line 81 of file types.h.

typedef short Xpace::int16

Definition at line 82 of file types.h.

typedef unsigned short Xpace::uint16

Definition at line 83 of file types.h.

typedef int Xpace::int32

Definition at line 84 of file types.h.

typedef unsigned int Xpace::uint32

Definition at line 85 of file types.h.

typedef long long Xpace::int64

Definition at line 86 of file types.h.

typedef unsigned long long Xpace::uint64

Definition at line 87 of file types.h.

typedef unsigned char Xpace::utf8_t

Definition at line 145 of file types.h.

typedef unsigned short Xpace::utf16_t

Definition at line 146 of file types.h.

Definition at line 158 of file types.h.

Definition at line 159 of file types.h.

Definition at line 180 of file types.h.

Definition at line 265 of file types.h.

Definition at line 266 of file types.h.

typedef std::function<int64(uint64 val)> Xpace::StatusCallback

A status callback passed to operations that could be time-consuming.

Parameters
vala number indicating the operation's progress
Returns
the desired interval before the next call to this function, 0 to avoid being called, -1 to abort

Definition at line 457 of file types.h.

typedef int Xpace::errno_t

Definition at line 559 of file types.h.

typedef std::function<int64(int64 val)> Xpace::NextDocCallback

Definition at line 30 of file data_impl.h.

typedef std::function<bool(utf16_t ch, const String& term)> Xpace::TranslationError

Called on translation error.

Parameters
chthe offending character
termthe offending term
Returns
true to accept the term as far as possible, false to skip it

Definition at line 38 of file translate_string_node.h.

Enumeration Type Documentation

anonymous enum
Enumerator
_CVTBUFSIZE 

Definition at line 573 of file types.h.

Enumerator
UTF8 
UTF16 

Definition at line 27 of file internaltypes.h.

Enumerator
NDR_abort_false 
NDR_abort_true 

Definition at line 24 of file data_impl.h.

Enumerator
SA_readWrite 
SA_readOnly 
SA_bulkWrite 

Definition at line 136 of file data.h.

Sink is an interface to an object that receives data.

Each data object is allowed to have only one Sink. Request notification of document/row/record/count (via SinkBase::setCount())

Enumerator
SNC_Never 

no count (content comes immediately, retrieval stops when Sink returns false)

SNC_Continue 

< no count (content comes immediately, retrieval stops when Sink returns false) but keep state for future calls

SNC_After 

get count after content (content comes immediately; search resolution continues after Sink returns false)

SNC_Before 

get count before content (retrieval is completed before Sink is called)

Definition at line 251 of file data.h.

Function Documentation

template<typename N >
bool Xpace::INVALID ( n)
inline

Definition at line 96 of file types.h.

Referenced by Xpace::CompressList< T >::decode(), and Xpace::DecimalFloat::toString().

XPACE_EXPORT std::ostream& Xpace::operator<< ( std::ostream &  ostr,
const String str 
)

Output a String to a narrow char stream.

XPACE_EXPORT std::wostream& Xpace::operator<< ( std::wostream &  ostr,
const String str 
)

Output a String to a wide char stream.

uint32 XPACE_EXPORT Xpace::pow10_32 ( uint  p)
template<typename TO , typename FROM >
TO Xpace::narrow_to ( FROM  from)
inline

checked loss-of-precision cast

Definition at line 503 of file types.h.

References Xpace::Ref< T >::Ref().

int64 Xpace::_atoi64 ( const char *  )
int64 Xpace::_wtoi64 ( const wchar_t *  )
int Xpace::sprintf_s ( char *  ,
size_t  ,
const char *  ,
  ... 
)
int Xpace::swprintf_s ( wchar_t *  ,
size_t  ,
const wchar_t *  ,
  ... 
)
char* Xpace::strtok_s ( char *  ,
const char *  ,
char **   
)
errno_t Xpace::strncpy_s ( char *  ,
size_t  ,
const char *  ,
size_t   
)
errno_t Xpace::_itoa_s ( int  ,
char *  ,
size_t  ,
int   
)
errno_t Xpace::_itow_s ( int  ,
wchar_t *  ,
size_t  ,
int   
)
errno_t Xpace::_i64toa_s ( int64  ,
char *  ,
size_t  ,
int   
)
errno_t Xpace::_i64tow_s ( int64  ,
wchar_t *  ,
size_t  ,
int   
)
errno_t Xpace::wmemmove_s ( wchar_t *  ,
size_t  ,
const wchar_t *  ,
size_t   
)
static int Xpace::type_max ( int  )
inlinestatic
static uint Xpace::type_max ( uint  )
inlinestatic

Definition at line 227 of file integer.h.

References type_max().

static int64 Xpace::type_max ( int64  )
inlinestatic

Definition at line 234 of file integer.h.

References type_max().

static uint64 Xpace::type_max ( uint64  )
inlinestatic

Definition at line 241 of file integer.h.

References type_max().

template<size_t SIZE>
static BigInt<SIZE> Xpace::type_max ( BigInt< SIZE >  )
inlinestatic

Definition at line 249 of file integer.h.

References type_max().

template<size_t SIZE>
static BigUint<SIZE> Xpace::type_max ( BigUint< SIZE >  )
inlinestatic

Definition at line 261 of file integer.h.

References type_min().

static int Xpace::type_min ( int  )
inlinestatic

Definition at line 271 of file integer.h.

Referenced by type_max(), and type_min().

static uint Xpace::type_min ( uint  )
inlinestatic

Definition at line 278 of file integer.h.

References type_min().

static int64 Xpace::type_min ( int64  )
inlinestatic

Definition at line 285 of file integer.h.

References type_min().

static uint64 Xpace::type_min ( uint64  )
inlinestatic

Definition at line 292 of file integer.h.

References type_min().

template<size_t SIZE>
static BigInt<SIZE> Xpace::type_min ( BigInt< SIZE >  )
inlinestatic

Definition at line 300 of file integer.h.

References type_min().

template<size_t SIZE>
static BigUint<SIZE> Xpace::type_min ( BigUint< SIZE >  )
inlinestatic

Definition at line 312 of file integer.h.

bool Xpace::stringToUint ( const String8 str,
uint  radix,
std::vector< uint64 > *  val 
)
bool Xpace::stringToUint ( const String16 str,
uint  radix,
std::vector< uint64 > *  val 
)
bool Xpace::stringToInt ( const String8 str,
uint  radix,
std::vector< uint64 > *  val 
)
bool Xpace::stringToInt ( const String16 str,
uint  radix,
std::vector< uint64 > *  val 
)
XPACE_EXPORT Table Xpace::searchTable ( const Index index,
const Table table,
const String query 
)

Search an Index, get results from a Table to a Table.

Parameters
indexthe Index
tablethe Table from which to get results
querythe query
Returns
the table containing results
XPACE_EXPORT Table Xpace::searchTable ( const IndexList indexList,
const Table table,
const String query 
)

Search an IndexList, get results from an Table to a Table.

Parameters
indexListthe IndexList
tablethe Table from which to get results
querythe query
Returns
the table containing results
XPACE_EXPORT bool Xpace::searchTable ( const Index index,
const Table table,
const String query,
Table::Sink sink,
SinkNotifyCount  sinkCount = SNC_After,
const std::vector< uint > &  columns = std::vector< uint >(),
const std::vector< SortContext > &  sort = std::vector< SortContext >() 
)

Search an Index, get results from a Table to a Sink.

Parameters
indexthe Index
tablethe Table from which to get results
querythe query
sinkcall for each row and element
sinkCountwhen/if to call sink->getCount()
columnsif not empty, return these columns in this order
sortthe context with which to sort (if any)
Returns
true iff the Sink always returned true
XPACE_EXPORT bool Xpace::searchTable ( const IndexList indexList,
const Table table,
const String query,
Table::Sink sink,
SinkNotifyCount  sinkCount = SNC_After,
const std::vector< uint > &  columns = std::vector< uint >(),
const std::vector< SortContext > &  sort = std::vector< SortContext >() 
)

Search an Indexlist, get results from a Table to a Sink.

Parameters
indexListthe IndexList
tablethe Table from which to get results
querythe query
sinkcall for each row and element
sinkCountwhen to call sink->getCount()
sortthe context with which to sort (if any)
columnsif not empty, return these columns in this order
sortthe context with which to sort (if any)
Returns
true iff the Sink always returned true
XPACE_EXPORT bool Xpace::searchTable ( const String query,
Table::Sink sink 
)

Search IndexLists, get results from a Table to a Sink NB Indexes, Table, and sort are fully specified in query, and must be open.

Parameters
sinkcalled for each node
Returns
true iff the Sink always returned true
XPACE_EXPORT Store Xpace::searchStore ( const Index index,
const Store store,
const String query 
)

Search an Index, get results from a Store to a Store.

Parameters
indexthe Index
storethe Store from which to get results
querythe query
Returns
the store containing results
XPACE_EXPORT Store Xpace::searchStore ( const IndexList indexList,
const Store table,
const String query 
)

Search an IndexList, get results from an Store to a Store.

Parameters
indexListthe IndexList
tablethe Store from which to get results
querythe query
Returns
the store containing results
XPACE_EXPORT bool Xpace::searchStore ( const Index index,
const Store store,
const String query,
Store::Sink sink,
SinkNotifyCount  sinkCount = SNC_After,
const std::vector< SortContext > &  sort = std::vector< SortContext >(),
Store::AddressBy  addressBy = Store::AB_location,
const std::vector< Store::Location > &  nodes = std::vector< Store::Location >() 
)

Search an Index, get results from a Store to a Sink.

Parameters
indexthe Index
storethe Store from which to get results
querythe query
sinkcalled for each node
sinkCountwhen to call sink->getCount()
sortthe context with which to sort (if any)
addressByuse this set of callbacks to Sink
nodesif not empty, return these nodes in store order
Returns
true iff the Sink always returned true
XPACE_EXPORT bool Xpace::searchStore ( const IndexList indexList,
const Store store,
const String query,
Store::Sink sink,
SinkNotifyCount  sinkCount = SNC_After,
const std::vector< SortContext > &  sort = std::vector< SortContext >(),
Store::AddressBy  addressBy = Store::AB_location,
const std::vector< Store::Location > &  nodes = std::vector< Store::Location >() 
)

Search an Indexlist, get results from a Store to a Sink.

Parameters
indexListthe IndexList
storethe Store from which to get results
querythe query sink called for each node
sinkCountwhen to call sink->setCount()
sortthe context with which to sort (if any)
nodesif not empty, return these nodes in store order
addressByuse this set of callbacks to Sink
Returns
true iff the Sink always returned true
XPACE_EXPORT bool Xpace::searchStore ( const String query,
Store::Sink sink 
)

Search IndexLists, get results from a Store to a Sink NB Indexes, Store, and sort are fully specified in query, and must be open.

Parameters
sinkcalled for each node
Returns
true iff the Sink always returned true
template<typename INDEX , typename STR >
INDEX::Iter Xpace::find_term ( const INDEX &  index,
const STR &  val,
bool found = 0 
)

Definition at line 67 of file eval.h.

References eval_range().

Referenced by eval_range().

XPACE_EXPORT Table Xpace::CullTable ( Table  src,
RefListCursor  refList 
)

Return a Table containing only the documents in refList.

Parameters
srcsource Table
refListpreserve only documents with references in this list
Returns
culled Table
XPACE_EXPORT Store Xpace::CullStore ( Store  src,
RefListCursor  refList 
)

Return a Store containing only the documents in refList.

Parameters
srcsource Store
refListpreserve only documents with references in this list
Returns
culled Store
template<typename CH >
void Xpace::readString ( MemBitStream *  b,
CH *  ch,
size_t  length 
)
inline
template<typename STR >
void Xpace::readString ( MemBitStream *  b,
STR *  str 
)
inline

Definition at line 218 of file compress.h.

References charSize(), and readString().

template<typename CH >
size_t Xpace::charSize ( const CH *  str,
size_t  length 
)
inline

Definition at line 227 of file compress.h.

References stringLen().

Referenced by readString(), stringLen(), and writeString().

template<typename CH >
size_t Xpace::stringLen ( const CH *  str,
size_t  len 
)
inline

Definition at line 239 of file compress.h.

References charSize().

Referenced by charSize(), Xpace::CompressibleString< STR >::lenVar(), and stringLen().

template<typename STR >
size_t Xpace::stringLen ( const STR &  str)
inline

Definition at line 251 of file compress.h.

References stringLen(), and writeString().

template<typename CH >
bool Xpace::writeString ( const CH *  str,
size_t  length,
MemBitStream *  b 
)
inline

Definition at line 259 of file compress.h.

References charSize().

Referenced by Xpace::CompressibleString< STR >::addVar(), stringLen(), and writeString().

template<typename STR >
bool Xpace::writeString ( const STR &  str,
MemBitStream *  b 
)
inline

Definition at line 283 of file compress.h.

References writeString().

int64 Xpace::defaultNextDoc ( int64  doc)
inline

Definition at line 34 of file data_impl.h.

bool Xpace::default_on_error ( utf16_t  ,
const String  
)
inline

Default error handler.

Definition at line 43 of file translate_string_node.h.

Variable Documentation

StatusCallback Xpace::defaultStatus = [](int64 doc){ return 0; }
static

Default status function.

Returns
0 so we're never called again

Definition at line 461 of file types.h.

NullList Xpace::null_list

Referenced by Xpace::NullList::add().

uint Xpace::_counts[16]
size_t Xpace::_sizes[16]
bool Xpace::_is_delta
uint Xpace::_max_ht_size
uint Xpace::_max_ht_pct

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