class Dse::Geometry::Point
Encapsulates a 2D point with x,y coordinates. It corresponds to the org.apache.cassandra.db.marshal.PointType
column type in DSE.
Inherits
Object
Includes
Cassandra::CustomData
Methods
self.
new
(*args)Returns a new instance of Point
self.
type
Returns type of column that is processed by this domain object class.
self.
deserialize
(data)Deserialize the given data into an instance of this domain object class.
x
Returns the x coordinate of the point.
y
Returns the y coordinate of the point.
wkt
Returns well-known-text representation of this point.
to_s
Returns a human-readable English string describing this Dse::Geometry::Point
.
serialize
Serialize this domain object into a byte array to send to DSE.