Xpace
Xpace::Source< LOC, RET > Class Template Referenceabstract

#include <data.h>

Inheritance diagram for Xpace::Source< LOC, RET >:
Xpace::SourceBase< RET >

Public Member Functions

virtual RET get (LOC location, int64 *value) const =0
 Get the value at a location as an int64. More...
 
virtual RET get (LOC location, DecimalFloat *value) const =0
 Get the value at a location as a DecimalFloat. More...
 
virtual RET get (LOC location, String8 *value) const =0
 Get the value at a location as a String8. More...
 
virtual RET get (LOC location, String16 *value) const =0
 Get the value at a location as a String16. More...
 
virtual RET get (LOC location, String *value) const =0
 Get the value at a location as a String. More...
 
virtual RET get (LOC location, BytesRef *value) const =0
 Get the value at a location as a byte array. More...
 
- Public Member Functions inherited from Xpace::SourceBase< RET >
virtual ~SourceBase ()
 destructor More...
 
virtual RET moveTo (uint64 targ)=0
 Move to another document/row/record. More...
 

Detailed Description

template<typename LOC, typename RET = bool>
class Xpace::Source< LOC, RET >

Parameters
LOCtype of the field or column identifier
RETthe return value of the getters

Definition at line 176 of file data.h.

Member Function Documentation

template<typename LOC , typename RET = bool>
virtual RET Xpace::Source< LOC, RET >::get ( LOC  location,
int64 value 
) const
pure virtual

Get the value at a location as an int64.

Parameters
locationfield or column identifier
Return values
valuerecipient of the data
Returns
true iff the value exists. If false, the contents of value are undefined.
template<typename LOC , typename RET = bool>
virtual RET Xpace::Source< LOC, RET >::get ( LOC  location,
DecimalFloat value 
) const
pure virtual

Get the value at a location as a DecimalFloat.

Parameters
locationfield or column identifier
Return values
valuerecipient of the data
Returns
true iff the value exists; if false, the contents of value are undefined.
template<typename LOC , typename RET = bool>
virtual RET Xpace::Source< LOC, RET >::get ( LOC  location,
String8 value 
) const
pure virtual

Get the value at a location as a String8.

Parameters
locationfield or column identifier
Return values
valuerecipient of the data
Returns
true iff the value exists; if false, the contents of value are undefined.
template<typename LOC , typename RET = bool>
virtual RET Xpace::Source< LOC, RET >::get ( LOC  location,
String16 value 
) const
pure virtual

Get the value at a location as a String16.

Parameters
locationfield or column identifier
Return values
valuerecipient of the data
Returns
true iff the value exists; if false, the contents of value are undefined.
template<typename LOC , typename RET = bool>
virtual RET Xpace::Source< LOC, RET >::get ( LOC  location,
String value 
) const
pure virtual

Get the value at a location as a String.

Parameters
locationfield or column identifier
Return values
valuerecipient of the data
Returns
true iff the value exists; if false, the contents of value are undefined.
template<typename LOC , typename RET = bool>
virtual RET Xpace::Source< LOC, RET >::get ( LOC  location,
BytesRef value 
) const
pure virtual

Get the value at a location as a byte array.

Parameters
locationfield or column identifier
Return values
valuerecipient of the data
Returns
true iff the value exists; if false, the contents of value are undefined.

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

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