[FEAT MERGE] GIS

This commit is contained in:
obdev
2022-12-23 12:08:27 +00:00
committed by ob-robot
parent 38846e73d6
commit 40d215fc5a
519 changed files with 158600 additions and 8396 deletions

View File

@ -264,6 +264,38 @@
#include "ob_expr_sha.h"
#include "ob_expr_compress.h"
#include "ob_expr_statement_digest.h"
#include "ob_expr_point.h"
#include "ob_expr_spatial_collection.h"
#include "ob_expr_st_geomfromtext.h"
#include "ob_expr_st_area.h"
#include "ob_expr_st_intersects.h"
#include "ob_expr_st_x.h"
#include "ob_expr_st_transform.h"
#include "ob_expr_priv_st_transform.h"
#include "ob_expr_st_covers.h"
#include "ob_expr_st_bestsrid.h"
#include "ob_expr_st_astext.h"
#include "ob_expr_st_buffer.h"
#include "ob_expr_spatial_cellid.h"
#include "ob_expr_spatial_mbr.h"
#include "ob_expr_st_geomfromewkb.h"
#include "ob_expr_st_geomfromwkb.h"
#include "ob_expr_st_geomfromewkt.h"
#include "ob_expr_st_asewkt.h"
#include "ob_expr_st_srid.h"
#include "ob_expr_st_distance.h"
#include "ob_expr_st_geometryfromtext.h"
#include "ob_expr_priv_st_setsrid.h"
#include "ob_expr_priv_st_point.h"
#include "ob_expr_priv_st_geogfromtext.h"
#include "ob_expr_priv_st_geographyfromtext.h"
#include "ob_expr_st_isvalid.h"
#include "ob_expr_st_dwithin.h"
#include "ob_expr_st_aswkb.h"
#include "ob_expr_st_distance_sphere.h"
#include "ob_expr_st_contains.h"
#include "ob_expr_st_within.h"
#include "ob_expr_priv_st_asewkb.h"
namespace oceanbase
{
@ -862,8 +894,54 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = {
NULL, /* 509 */
#endif
ObExprDayName::calc_dayname, /* 510 */
ObExprNullif::eval_nullif_enumset /* 511 */
ObExprNullif::eval_nullif_enumset, /* 511 */
ObExprSTIntersects::eval_st_intersects, /* 512 */
ObExprSTX::eval_st_x, /* 513 */
ObExprSTY::eval_st_y, /* 514 */
ObExprSTLatitude::eval_st_latitude, /* 515 */
ObExprSTLongitude::eval_st_longitude, /* 516 */
ObExprSTTransform::eval_st_transform, /* 517 */
ObExprPoint::eval_point, /* 518 */
ObExprLineString::eval_linestring, /* 519 */
ObExprMultiPoint::eval_multipoint, /* 520 */
ObExprMultiLineString::eval_multilinestring, /* 521 */
ObExprPolygon::eval_polygon, /* 522 */
ObExprMultiPolygon::eval_multipolygon, /* 523 */
ObExprGeomCollection::eval_geomcollection, /* 524 */
ObExprPrivSTCovers::eval_st_covers, /* 525 */
ObExprPrivSTBestsrid::eval_st_bestsrid, /* 526 */
ObExprSTAsText::eval_st_astext, /* 527 */
ObExprSTAsWkt::eval_st_astext, /* 528 */
ObExprSTBufferStrategy::eval_st_buffer_strategy, /* 529 */
ObExprSTBuffer::eval_st_buffer, /* 530 */
ObExprSpatialCellid::eval_spatial_cellid, /* 531 */
ObExprSpatialMbr::eval_spatial_mbr, /* 532 */
ObExprPrivSTGeomFromEWKB::eval_st_geomfromewkb, /* 533 */
ObExprSTGeomFromWKB::eval_st_geomfromwkb, /* 534 */
ObExprSTGeometryFromWKB::eval_st_geometryfromwkb, /* 535 */
ObExprPrivSTGeomFromEwkt::eval_st_geomfromewkt, /* 536 */
ObExprPrivSTAsEwkt::eval_priv_st_asewkt, /* 537 */
ObExprGeometryCollection::eval_geometrycollection, /* 538 */
ObExprSTSRID::eval_st_srid, /* 539 */
ObExprSTDistance::eval_st_distance, /* 540 */
ObExprPrivSTSetSRID::eval_priv_st_setsrid, /* 541 */
ObExprSTGeometryFromText::eval_st_geometryfromtext, /* 542 */
ObExprPrivSTPoint::eval_priv_st_point, /* 543 */
ObExprPrivSTGeogFromText::eval_priv_st_geogfromtext, /* 544 */
ObExprPrivSTGeographyFromText::eval_priv_st_geographyfromtext, /* 545 */
ObExprSTIsValid::eval_st_isvalid, /* 546 */
ObExprPrivSTBuffer::eval_priv_st_buffer, /* 547 */
ObExprSTAsWkb::eval_st_aswkb, /* 548 */
ObExprStPrivAsEwkb::eval_priv_st_as_ewkb, /* 549 */
ObExprSTAsBinary::eval_st_asbinary, /* 550 */
ObExprSTDistanceSphere::eval_st_distance_sphere, /* 551 */
ObExprPrivSTDWithin::eval_st_dwithin, /* 552 */
ObExprSTContains::eval_st_contains, /* 553 */
ObExprSTWithin::eval_st_within, /* 554 */
ObExprPrivSTTransform::eval_priv_st_transform, /* 555 */
ObExprSTGeomFromText::eval_st_geomfromtext, /* 556 */
ObExprSTArea::eval_st_area /* 557 */
};
static ObExpr::EvalBatchFunc g_expr_eval_batch_functions[] = {