api-docs / org.ktorm.support.postgresql / EarthSqlType
EarthSqlType
object EarthSqlType : SqlType<Earth>
(source code)Cube-based earth abstraction, using 3 coordinates representing the x, y, and z distance from the center of the Earth.
Part of PostgreSQL earthdistance
SQL extension.
Inherited Properties
Name | Summary |
---|---|
val typeCode: Int a constant value defined in java.sql.Types to identify JDBC types. | |
val typeName: String the name of the type in specific databases, such as |
Functions
Name | Summary |
---|---|
Obtain a result from a given ResultSet by index, the result may be null. | |
fun doSetParameter( Set the parameter to a given PreparedStatement, the parameter can’t be null. |
Inherited Functions
Name | Summary |
---|---|
Indicates whether some other object is “equal to” this SQL type. | |
Obtain a result from a given ResultSet by index. Obtain a result from a given ResultSet by columnLabel. | |
open fun hashCode(): Int Return a hash code value for this SQL type. | |
open fun setParameter( Set the nullable parameter to a given PreparedStatement. | |
open fun <R : Any> transform( Transform this SqlType to another. The returned SqlType has the same typeCode and typeName as the |
Extension Functions
Name | Summary |
---|---|
infix fun <T : Any> T.eq( Equal operator, translated to | |
infix fun <T : Any> T.neq( Not-equal operator, translated to | |
infix fun <T : Any> T.notEq( Not-equal operator, translated to |