C# Class NHibernate.Spatial.Dialect.PostGisDialect

Inheritance: NHibernate.Dialect.PostgreSQL82Dialect, ISpatialDialect
Afficher le fichier Open project: nhibernate/NHibernate.Spatial

Méthodes publiques

Méthode Description
CreateGeometryUserType ( ) : IGeometryUserType

Creates the geometry user type.

GetSpatialAggregateString ( object geometry, SpatialAggregate aggregate ) : NHibernate.SqlCommand.SqlString

Gets the spatial aggregate string.

GetSpatialAnalysisString ( object geometry, SpatialAnalysis analysis, object extraArgument ) : NHibernate.SqlCommand.SqlString

Gets the spatial analysis string.

GetSpatialCreateString ( string schema ) : string

Gets the spatial create string.

GetSpatialCreateString ( string schema, string table, string column, int srid, string subtype, int dimension, bool isNullable ) : string

Gets the spatial create string.

GetSpatialDropString ( string schema ) : string

Gets the spatial drop string.

GetSpatialDropString ( string schema, string table, string column ) : string

Gets the spatial drop string.

GetSpatialFilterString ( string tableAlias, string geometryColumnName, string primaryKeyColumnName, string tableName, NHibernate.SqlCommand.Parameter parameter ) : NHibernate.SqlCommand.SqlString
GetSpatialRelateString ( object geometry, object anotherGeometry, object pattern, bool isStringPattern, bool criterion ) : NHibernate.SqlCommand.SqlString
GetSpatialRelationString ( object geometry, SpatialRelation relation, object anotherGeometry, bool criterion ) : NHibernate.SqlCommand.SqlString
GetSpatialTransformString ( object geometry, int srid ) : NHibernate.SqlCommand.SqlString

Gets the spatial transform string.

GetSpatialValidationString ( object geometry, SpatialValidation validation, bool criterion ) : NHibernate.SqlCommand.SqlString

Gets the spatial validation string.

PostGisDialect ( ) : NHibernate.Dialect

Initializes a new instance of the PostGisDialect class.

SupportsSpatialMetadata ( MetadataClass metadataClass ) : bool

Gets a value indicating whether it supports spatial metadata.

ToBooleanValueString ( bool value ) : string

Méthodes protégées

Méthode Description
GetSpatialCreateString ( string schema, string prefix ) : string
RegisterSpatialFunction ( string name ) : void
RegisterSpatialFunction ( string name, IType returnedType ) : void
RegisterSpatialFunction ( string name, IType returnedType, int allowedArgsCount ) : void
RegisterSpatialFunction ( string name, int allowedArgsCount ) : void
RegisterSpatialFunction ( string standardName, string dialectName, IType returnedType ) : void
RegisterSpatialFunction ( string standardName, string dialectName, IType returnedType, int allowedArgsCount ) : void

Private Methods

Méthode Description
GetSpatialIndexCreateString ( string schema, string table, string column ) : string
GetSpatialIndexDropString ( string schema, string table, string column ) : string
QuoteSchema ( string schema ) : string

Quotes the schema.

RegisterBasicFunctions ( ) : void
RegisterFunctions ( ) : void
RegisterSpatialFunction ( SpatialAnalysis analysis ) : void
RegisterSpatialFunction ( SpatialRelation relation ) : void
RegisterSpatialFunction ( SpatialValidation validation ) : void

Method Details

CreateGeometryUserType() public méthode

Creates the geometry user type.
public CreateGeometryUserType ( ) : IGeometryUserType
Résultat IGeometryUserType

GetSpatialAggregateString() public méthode

Gets the spatial aggregate string.
public GetSpatialAggregateString ( object geometry, SpatialAggregate aggregate ) : NHibernate.SqlCommand.SqlString
geometry object The geometry.
aggregate SpatialAggregate The aggregate.
Résultat NHibernate.SqlCommand.SqlString

GetSpatialAnalysisString() public méthode

Gets the spatial analysis string.
public GetSpatialAnalysisString ( object geometry, SpatialAnalysis analysis, object extraArgument ) : NHibernate.SqlCommand.SqlString
geometry object The geometry.
analysis SpatialAnalysis The analysis.
extraArgument object The extra argument.
Résultat NHibernate.SqlCommand.SqlString

GetSpatialCreateString() public méthode

Gets the spatial create string.
public GetSpatialCreateString ( string schema ) : string
schema string The schema.
Résultat string

GetSpatialCreateString() protected méthode

protected GetSpatialCreateString ( string schema, string prefix ) : string
schema string
prefix string
Résultat string

GetSpatialCreateString() public méthode

Gets the spatial create string.
public GetSpatialCreateString ( string schema, string table, string column, int srid, string subtype, int dimension, bool isNullable ) : string
schema string The schema.
table string The table.
column string The column.
srid int The srid.
subtype string The subtype.
dimension int [3DIS] The dimension
isNullable bool Whether or not the column is nullable
Résultat string

GetSpatialDropString() public méthode

Gets the spatial drop string.
public GetSpatialDropString ( string schema ) : string
schema string The schema.
Résultat string

GetSpatialDropString() public méthode

Gets the spatial drop string.
public GetSpatialDropString ( string schema, string table, string column ) : string
schema string The schema.
table string The table.
column string The column.
Résultat string

GetSpatialFilterString() public méthode

public GetSpatialFilterString ( string tableAlias, string geometryColumnName, string primaryKeyColumnName, string tableName, NHibernate.SqlCommand.Parameter parameter ) : NHibernate.SqlCommand.SqlString
tableAlias string
geometryColumnName string
primaryKeyColumnName string
tableName string
parameter NHibernate.SqlCommand.Parameter
Résultat NHibernate.SqlCommand.SqlString

GetSpatialRelateString() public méthode

public GetSpatialRelateString ( object geometry, object anotherGeometry, object pattern, bool isStringPattern, bool criterion ) : NHibernate.SqlCommand.SqlString
geometry object
anotherGeometry object
pattern object
isStringPattern bool
criterion bool
Résultat NHibernate.SqlCommand.SqlString

GetSpatialRelationString() public méthode

public GetSpatialRelationString ( object geometry, SpatialRelation relation, object anotherGeometry, bool criterion ) : NHibernate.SqlCommand.SqlString
geometry object
relation SpatialRelation
anotherGeometry object
criterion bool
Résultat NHibernate.SqlCommand.SqlString

GetSpatialTransformString() public méthode

Gets the spatial transform string.
public GetSpatialTransformString ( object geometry, int srid ) : NHibernate.SqlCommand.SqlString
geometry object The geometry.
srid int The srid.
Résultat NHibernate.SqlCommand.SqlString

GetSpatialValidationString() public méthode

Gets the spatial validation string.
public GetSpatialValidationString ( object geometry, SpatialValidation validation, bool criterion ) : NHibernate.SqlCommand.SqlString
geometry object The geometry.
validation SpatialValidation The validation.
criterion bool if set to true [criterion].
Résultat NHibernate.SqlCommand.SqlString

PostGisDialect() public méthode

Initializes a new instance of the PostGisDialect class.
public PostGisDialect ( ) : NHibernate.Dialect
Résultat NHibernate.Dialect

RegisterSpatialFunction() protected méthode

protected RegisterSpatialFunction ( string name ) : void
name string
Résultat void

RegisterSpatialFunction() protected méthode

protected RegisterSpatialFunction ( string name, IType returnedType ) : void
name string
returnedType IType
Résultat void

RegisterSpatialFunction() protected méthode

protected RegisterSpatialFunction ( string name, IType returnedType, int allowedArgsCount ) : void
name string
returnedType IType
allowedArgsCount int
Résultat void

RegisterSpatialFunction() protected méthode

protected RegisterSpatialFunction ( string name, int allowedArgsCount ) : void
name string
allowedArgsCount int
Résultat void

RegisterSpatialFunction() protected méthode

protected RegisterSpatialFunction ( string standardName, string dialectName, IType returnedType ) : void
standardName string
dialectName string
returnedType IType
Résultat void

RegisterSpatialFunction() protected méthode

protected RegisterSpatialFunction ( string standardName, string dialectName, IType returnedType, int allowedArgsCount ) : void
standardName string
dialectName string
returnedType IType
allowedArgsCount int
Résultat void

SupportsSpatialMetadata() public méthode

Gets a value indicating whether it supports spatial metadata.
public SupportsSpatialMetadata ( MetadataClass metadataClass ) : bool
metadataClass MetadataClass
Résultat bool

ToBooleanValueString() public méthode

public ToBooleanValueString ( bool value ) : string
value bool
Résultat string