class Dse::Geometry::LineString
Encapsulates a set of lines, characterized by a sequence of Point
s in the xy-plane. It corresponds to the
org.apache.cassandra.db.marshal.LineStringType
column type in DSE.
Inherits
Object
Includes
Cassandra::CustomData
Methods
self.
new
(*args)Returns a new instance of LineString
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.
points
Returns collection of points that make up this line-string.
wkt
Returns well-known-text representation of this line-string.
to_s
Returns a human-readable English string describing this Dse::Geometry::LineString
.
serialize
Serialize this domain object into a byte array to send to DSE.