|
| static bool | Equals (const Value &left, const Value &right) |
| static bool | NotEquals (const Value &left, const Value &right) |
| static bool | GreaterThan (const Value &left, const Value &right) |
| static bool | GreaterThanEquals (const Value &left, const Value &right) |
| static bool | LessThan (const Value &left, const Value &right) |
| static bool | LessThanEquals (const Value &left, const Value &right) |
| static bool | NotDistinctFrom (const Value &left, const Value &right) |
| static bool | DistinctFrom (const Value &left, const Value &right) |
| static bool | DistinctGreaterThan (const Value &left, const Value &right) |
| static bool | DistinctGreaterThanEquals (const Value &left, const Value &right) |
| static bool | DistinctLessThan (const Value &left, const Value &right) |
| static bool | DistinctLessThanEquals (const Value &left, const Value &right) |
◆ Equals()
| bool duckdb::ValueOperations::Equals |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141355 {
141356 if (left.IsNull() || right.IsNull()) {
141357 throw InternalException("Comparison on NULL values");
141358 }
141359 return TemplatedBooleanOperation<duckdb::Equals>(left, right);
141360}
◆ NotEquals()
| bool duckdb::ValueOperations::NotEquals |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141362 {
141363 return !ValueOperations::Equals(left, right);
141364}
◆ GreaterThan()
| bool duckdb::ValueOperations::GreaterThan |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141366 {
141367 if (left.IsNull() || right.IsNull()) {
141368 throw InternalException("Comparison on NULL values");
141369 }
141370 return TemplatedBooleanOperation<duckdb::GreaterThan>(left, right);
141371}
◆ GreaterThanEquals()
| bool duckdb::ValueOperations::GreaterThanEquals |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141373 {
141374 return !ValueOperations::GreaterThan(right, left);
141375}
◆ LessThan()
| bool duckdb::ValueOperations::LessThan |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141377 {
141378 return ValueOperations::GreaterThan(right, left);
141379}
◆ LessThanEquals()
| bool duckdb::ValueOperations::LessThanEquals |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141381 {
141382 return !ValueOperations::GreaterThan(left, right);
141383}
◆ NotDistinctFrom()
| bool duckdb::ValueOperations::NotDistinctFrom |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141385 {
141386 if (left.IsNull() && right.IsNull()) {
141387 return true;
141388 }
141389 if (left.IsNull() != right.IsNull()) {
141390 return false;
141391 }
141392 return TemplatedBooleanOperation<duckdb::Equals>(left, right);
141393}
◆ DistinctFrom()
| bool duckdb::ValueOperations::DistinctFrom |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141395 {
141396 return !ValueOperations::NotDistinctFrom(left, right);
141397}
◆ DistinctGreaterThan()
| bool duckdb::ValueOperations::DistinctGreaterThan |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141399 {
141400 if (left.IsNull() && right.IsNull()) {
141401 return false;
141402 } else if (right.IsNull()) {
141403 return false;
141404 } else if (left.IsNull()) {
141405 return true;
141406 }
141407 return TemplatedBooleanOperation<duckdb::GreaterThan>(left, right);
141408}
◆ DistinctGreaterThanEquals()
| bool duckdb::ValueOperations::DistinctGreaterThanEquals |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141410 {
141411 return !ValueOperations::DistinctGreaterThan(right, left);
141412}
◆ DistinctLessThan()
| bool duckdb::ValueOperations::DistinctLessThan |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141414 {
141415 return ValueOperations::DistinctGreaterThan(right, left);
141416}
◆ DistinctLessThanEquals()
| bool duckdb::ValueOperations::DistinctLessThanEquals |
( |
const Value & | left, |
|
|
const Value & | right ) |
|
static |
141418 {
141419 return !ValueOperations::DistinctGreaterThan(left, right);
141420}
The documentation for this struct was generated from the following files: