9 namespace Deveel.Data.Spatial {
11 public override string SchemaName {
16 if (functionName.
Parent == null)
19 return base.NormalizeName(functionName);
24 var funcResult = func(args);
25 return context.
Result(funcResult);
29 Register(config => config.Named(
"from_wkb")
34 Register(config => config.Named(
"from_wkt")
39 Register(config => config.Named(
"to_wkt")
44 Register(config => config.Named(
"to_wkb")
49 Register(config => config.Named(
"envelope")
54 Register(config => config.Named(
"distance")
60 Register(config => config.Named(
"contains")
61 .WithSpatialParameter(
"g1")
62 .WithSpatialParameter(
"g2")
66 Register(config => config.Named(
"area")
67 .WithSpatialParameter(
"g")
69 .ReturnsSpatialType());
71 Register(config => config.Named(
"boundary")
72 .WithSpatialParameter(
"g")
74 .ReturnsSpatialType());
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
static DataObject FromWkt(IRequest context, DataObject source)
static SqlGeometry FromWkb(SqlBinary source)
static SpatialType Geometry(int srid)
static InvokeResult Simple(InvokeContext context, Func< DataObject[], DataObject > func)
static DataObject ToWkb(DataObject geometry)
static BinaryType Binary(int maxSize)
Describes the name of an object within a database.
static DataObject Envelope(DataObject geometry)
DataObject[] EvaluatedArguments
Represents the result of the execution of a routine.
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
static DataObject Boundary(DataObject geometry)
Provides utilities and properties for handling the SYSTEN schema of a database.
ObjectName Parent
Gets the parent reference of the current one, if any or null if none.
static DataObject Distance(DataObject geometry, DataObject other)
InvokeResult Result(DataObject value)
string Name
Gets the name of the object being referenced.
static StringType String()
static SqlBoolean Contains(SqlGeometry geometry, SqlGeometry other)
static DataObject Area(DataObject geometry)
const string Name
The name of the system schema that contains tables referring to system information.
static SqlString ToWkt(SqlGeometry geometry)
override ObjectName NormalizeName(ObjectName functionName)