OmniSciDB
a5dc49c757
|
Go to the source code of this file.
Functions | |
static DEVICE void | decompress (const SQLTypeInfo &ti, int8_t *compressed, VarlenDatum *result, Datum *datum) |
void | ChunkIter_reset (ChunkIter *it) |
DEVICE void | ChunkIter_get_next (ChunkIter *it, bool uncompress, VarlenDatum *result, bool *is_end) |
DEVICE void | ChunkIter_get_nth (ChunkIter *it, int n, bool uncompress, VarlenDatum *result, bool *is_end) |
DEVICE void | ChunkIter_get_nth (ChunkIter *it, int n, ArrayDatum *result, bool *is_end) |
DEVICE void | ChunkIter_get_nth_varlen (ChunkIter *it, int n, ArrayDatum *result, bool *is_end) |
DEVICE void | ChunkIter_get_nth_varlen_notnull (ChunkIter *it, int n, ArrayDatum *result, bool *is_end) |
DEVICE void | ChunkIter_get_nth_point_coords (ChunkIter *it, int n, ArrayDatum *result, bool *is_end) |
DEVICE void ChunkIter_get_next | ( | ChunkIter * | it, |
bool | uncompress, | ||
VarlenDatum * | result, | ||
bool * | is_end | ||
) |
Definition at line 148 of file ChunkIter.cpp.
References ChunkIter::current_pos, ChunkIter::datum, decompress(), ChunkIter::end_pos, SQLTypeInfo::get_compression(), VarlenDatum::is_null, SQLTypeInfo::is_null(), kENCODING_NONE, VarlenDatum::length, VarlenDatum::pointer, ChunkIter::second_buf, ChunkIter::skip, ChunkIter::skip_size, and ChunkIter::type_info.
DEVICE void ChunkIter_get_nth | ( | ChunkIter * | it, |
int | n, | ||
bool | uncompress, | ||
VarlenDatum * | result, | ||
bool * | is_end | ||
) |
Definition at line 182 of file ChunkIter.cpp.
References ChunkIter::datum, decompress(), SQLTypeInfo::get_compression(), VarlenDatum::is_null, SQLTypeInfo::is_null(), FlatBufferManager::isFlatBuffer(), kENCODING_NONE, VarlenDatum::length, ChunkIter::num_elems, VarlenDatum::pointer, ChunkIter::second_buf, ChunkIter::skip_size, ChunkIter::start_pos, ChunkIter::type_info, and VarlenArray_get_nth().
Referenced by anonymous_namespace{ResultSetIteration.cpp}::lazy_fetch_chunk(), ResultSet::lazyReadInt(), ResultSet::makeVarlenTargetValue(), string_decode(), and anonymous_namespace{ExternalExecutor.cpp}::vt_column().
DEVICE void ChunkIter_get_nth | ( | ChunkIter * | it, |
int | n, | ||
ArrayDatum * | result, | ||
bool * | is_end | ||
) |
Definition at line 221 of file ChunkIter.cpp.
References SQLTypeInfo::get_notnull(), is_null(), SQLTypeInfo::is_null_fixlen_array(), FlatBufferManager::isFlatBuffer(), ChunkIter::num_elems, ChunkIter::second_buf, ChunkIter::skip_size, ChunkIter::start_pos, ChunkIter::type_info, and VarlenArray_get_nth().
DEVICE void ChunkIter_get_nth_point_coords | ( | ChunkIter * | it, |
int | n, | ||
ArrayDatum * | result, | ||
bool * | is_end | ||
) |
Definition at line 321 of file ChunkIter.cpp.
References SQLTypeInfo::get_notnull(), is_null(), SQLTypeInfo::is_null_point_coord_array(), ChunkIter::num_elems, ChunkIter::skip_size, ChunkIter::start_pos, and ChunkIter::type_info.
DEVICE void ChunkIter_get_nth_varlen | ( | ChunkIter * | it, |
int | n, | ||
ArrayDatum * | result, | ||
bool * | is_end | ||
) |
Definition at line 267 of file ChunkIter.cpp.
References FlatBufferManager::isFlatBuffer(), anonymous_namespace{Utm.h}::n, ChunkIter::num_elems, ChunkIter::second_buf, ChunkIter::start_pos, and VarlenArray_get_nth().
DEVICE void ChunkIter_get_nth_varlen_notnull | ( | ChunkIter * | it, |
int | n, | ||
ArrayDatum * | result, | ||
bool * | is_end | ||
) |
Definition at line 301 of file ChunkIter.cpp.
References anonymous_namespace{Utm.h}::n, ChunkIter::num_elems, ChunkIter::second_buf, and ChunkIter::start_pos.
void ChunkIter_reset | ( | ChunkIter * | it | ) |
Definition at line 144 of file ChunkIter.cpp.
References ChunkIter::current_pos, and ChunkIter::start_pos.
|
static |
Definition at line 27 of file ChunkIter.cpp.
References Datum::bigintval, SQLTypeInfo::get_comp_param(), SQLTypeInfo::get_compression(), SQLTypeInfo::get_type(), Datum::intval, VarlenDatum::is_null, SQLTypeInfo::is_null(), kBIGINT, kDATE, kDECIMAL, kENCODING_DATE_IN_DAYS, kENCODING_DICT, kENCODING_DIFF, kENCODING_FIXED, kENCODING_NONE, kENCODING_RL, kENCODING_SPARSE, kINT, kNUMERIC, kSMALLINT, kTIME, kTIMESTAMP, VarlenDatum::length, VarlenDatum::pointer, and Datum::smallintval.
Referenced by ChunkIter_get_next(), and ChunkIter_get_nth().