Lines Matching refs:SqlValue

63   SqlValue value;
120 using value_type = SqlValue;
137 SqlValue operator*() const { return col_->Get(row_); }
210 SqlValue Get(uint32_t row) const { return GetAtIdx(row_map().Get(row)); } in Get()
213 base::Optional<uint32_t> IndexOf(SqlValue value) const { in IndexOf()
224 if (compare::SqlValue(Get(i), value) == 0) in IndexOf()
230 if (value.type != SqlValue::Type::kLong) in IndexOf()
239 void Set(uint32_t row, SqlValue value) { in Set()
277 void FilterInto(FilterOp op, SqlValue value, RowMap* rm) const { in FilterInto()
304 base::Optional<SqlValue> Min() const { in Min()
318 base::Optional<SqlValue> Max() const { in Max()
351 SqlValue::Type type() const { return ToSqlValueType(type_); } in type()
363 Constraint eq_value(SqlValue value) const { in eq_value()
366 Constraint gt_value(SqlValue value) const { in gt_value()
369 Constraint lt_value(SqlValue value) const { in lt_value()
372 Constraint ne_value(SqlValue value) const { in ne_value()
375 Constraint ge_value(SqlValue value) const { in ge_value()
378 Constraint le_value(SqlValue value) const { in le_value()
382 return Constraint{col_idx_in_table_, FilterOp::kIsNotNull, SqlValue()}; in is_not_null()
385 return Constraint{col_idx_in_table_, FilterOp::kIsNull, SqlValue()}; in is_null()
420 static SqlValue::Type ToSqlValueType() { in ToSqlValueType()
455 SqlValue GetAtIdx(uint32_t idx) const { in GetAtIdx()
459 return opt_value ? SqlValue::Long(*opt_value) : SqlValue(); in GetAtIdx()
463 return opt_value ? SqlValue::Long(*opt_value) : SqlValue(); in GetAtIdx()
467 return opt_value ? SqlValue::Long(*opt_value) : SqlValue(); in GetAtIdx()
471 return opt_value ? SqlValue::Double(*opt_value) : SqlValue(); in GetAtIdx()
475 return str == nullptr ? SqlValue() : SqlValue::String(str); in GetAtIdx()
478 return SqlValue::Long(idx); in GetAtIdx()
485 bool FilterIntoSorted(FilterOp op, SqlValue value, RowMap* rm) const { in FilterIntoSorted()
533 void FilterIntoSlow(FilterOp op, SqlValue value, RowMap* rm) const;
537 void FilterIntoNumericSlow(FilterOp op, SqlValue value, RowMap* rm) const;
547 void FilterIntoStringSlow(FilterOp op, SqlValue value, RowMap* rm) const;
550 void FilterIntoIdSlow(FilterOp op, SqlValue value, RowMap* rm) const;
578 static SqlValue::Type ToSqlValueType(ColumnType type) { in ToSqlValueType()
584 return SqlValue::Type::kLong; in ToSqlValueType()
586 return SqlValue::Type::kDouble; in ToSqlValueType()
588 return SqlValue::Type::kString; in ToSqlValueType()