OmniSciDB
a5dc49c757
|
Functions | |
int64_t | scale_up_interval_endpoint (const int64_t endpoint, const SQLTypeInfo &ti) |
int64_t | get_conservative_datetrunc_bucket (const DatetruncField datetrunc_field) |
ExpressionRange | fpRangeFromDecimal (const ExpressionRange &arg_range, const int64_t scale, const SQLTypeInfo &target_ti) |
ExpressionRange | getDateTimePrecisionCastRange (const ExpressionRange &arg_range, const SQLTypeInfo &oper_ti, const SQLTypeInfo &target_ti) |
ExpressionRange anonymous_namespace{ExpressionRange.cpp}::fpRangeFromDecimal | ( | const ExpressionRange & | arg_range, |
const int64_t | scale, | ||
const SQLTypeInfo & | target_ti | ||
) |
Definition at line 750 of file ExpressionRange.cpp.
References CHECK, SQLTypeInfo::get_type(), ExpressionRange::getIntMax(), ExpressionRange::getIntMin(), ExpressionRange::hasNulls(), SQLTypeInfo::is_fp(), kFLOAT, ExpressionRange::makeDoubleRange(), and ExpressionRange::makeFloatRange().
Referenced by getExpressionRange().
int64_t anonymous_namespace{ExpressionRange.cpp}::get_conservative_datetrunc_bucket | ( | const DatetruncField | datetrunc_field | ) |
Definition at line 486 of file ExpressionRange.cpp.
References dtCENTURY, dtDAY, dtDECADE, dtHOUR, dtMILLENNIUM, dtMINUTE, dtMONTH, dtQUARTER, dtQUARTERDAY, dtWEEK, dtWEEK_SATURDAY, dtWEEK_SUNDAY, and dtYEAR.
Referenced by getDateTimePrecisionCastRange(), getExpressionRange(), and getLeafColumnRange().
ExpressionRange anonymous_namespace{ExpressionRange.cpp}::getDateTimePrecisionCastRange | ( | const ExpressionRange & | arg_range, |
const SQLTypeInfo & | oper_ti, | ||
const SQLTypeInfo & | target_ti | ||
) |
Definition at line 766 of file ExpressionRange.cpp.
References CHECK, DateTruncate(), dtDAY, field(), get_conservative_datetrunc_bucket(), DateTimeUtils::get_datetime_scaled_epoch(), SQLTypeInfo::get_dimension(), DateTimeUtils::get_timestamp_precision_scale(), ExpressionRange::getIntMax(), ExpressionRange::getIntMin(), ExpressionRange::hasNulls(), SQLTypeInfo::is_any(), SQLTypeInfo::is_date(), SQLTypeInfo::is_high_precision_timestamp(), SQLTypeInfo::is_timestamp(), kSecsPerDay, kTIME, ExpressionRange::makeIntRange(), DateTimeUtils::ScaleDown, and DateTimeUtils::ScaleUp.
Referenced by getExpressionRange().
int64_t anonymous_namespace{ExpressionRange.cpp}::scale_up_interval_endpoint | ( | const int64_t | endpoint, |
const SQLTypeInfo & | ti | ||
) |
Definition at line 367 of file ExpressionRange.cpp.
References exp_to_scale(), and SQLTypeInfo::get_scale().
Referenced by getExpressionRange().