public class MariaGeometryAdapter extends Object
| 构造器和说明 |
|---|
MariaGeometryAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
init(org.anyline.entity.geometry.Geometry geometry) |
static org.anyline.entity.geometry.LineString |
line(byte[] bytes,
int offset) |
static org.anyline.entity.geometry.LineString |
line(org.anyline.util.ByteBuffer buffer) |
static org.anyline.entity.geometry.MultiLine |
multiLine(org.anyline.util.ByteBuffer buffer) |
static org.anyline.entity.geometry.MultiPoint |
multiPoint(org.anyline.util.ByteBuffer buffer) |
static org.anyline.entity.geometry.MultiPolygon |
multiPolygon(org.anyline.util.ByteBuffer buffer) |
static org.anyline.entity.geometry.Geometry |
parse(byte[] bytes) |
static org.anyline.entity.geometry.GeometryCollection |
parseGeometryCollection(byte[] bytes)
解析MGeometryCollection
|
static org.anyline.entity.geometry.LineString |
parseLine(byte[] bytes)
解析Line
|
static org.anyline.entity.geometry.MultiLine |
parseMultiLine(byte[] bytes)
解析MultiLine
|
static org.anyline.entity.geometry.MultiPoint |
parseMultiPoint(byte[] bytes)
解析MultiPoint
|
static org.anyline.entity.geometry.MultiPolygon |
parseMultiPolygon(byte[] bytes)
解析MultiPolygon
|
static org.anyline.entity.geometry.Point |
parsePoint(byte[] bytes)
解析 Point
|
static org.anyline.entity.geometry.Polygon |
parsePolygon(byte[] bytes)
解析Polygon
|
static org.anyline.entity.geometry.Point |
point(byte[] bytes,
int offset) |
static org.anyline.entity.geometry.Point |
point(org.anyline.util.ByteBuffer buffer) |
static org.anyline.entity.geometry.Polygon |
polygon(byte[] bytes,
int offset) |
static org.anyline.entity.geometry.Polygon |
polygon(org.anyline.util.ByteBuffer buffer) |
static org.anyline.entity.geometry.Ring |
ring(org.anyline.util.ByteBuffer buffer) |
static String |
sql(org.anyline.entity.geometry.Geometry geometry) |
static String |
sql(org.anyline.entity.geometry.Point point) |
static org.anyline.entity.geometry.Geometry.Type |
type(Integer type) |
static void |
wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.Geometry geometry,
boolean head) |
static void |
wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.LineString line,
boolean head) |
static void |
wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.MultiLine multiLine,
boolean head) |
static void |
wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.MultiPoint multiPoint,
boolean head) |
static void |
wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.MultiPolygon multiPolygon,
boolean head) |
static void |
wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.Point point,
boolean head) |
static void |
wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.Polygon polygon,
boolean head) |
static void |
wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.Ring ring) |
static byte[] |
wkb(org.anyline.entity.geometry.Geometry geometry)
生成wkb格式要
|
static byte[] |
wkb(org.anyline.entity.geometry.GeometryCollection collection)
生成wkb格式要
|
static byte[] |
wkb(org.anyline.entity.geometry.LineString line) |
static byte[] |
wkb(org.anyline.entity.geometry.MultiLine multiLine) |
static byte[] |
wkb(org.anyline.entity.geometry.MultiPoint multiPoint) |
static byte[] |
wkb(org.anyline.entity.geometry.MultiPolygon multiPolygon) |
static byte[] |
wkb(org.anyline.entity.geometry.Point point) |
static byte[] |
wkb(org.anyline.entity.geometry.Polygon polygon) |
public static void init(org.anyline.entity.geometry.Geometry geometry)
public static org.anyline.entity.geometry.Geometry.Type type(Integer type)
public static String sql(org.anyline.entity.geometry.Geometry geometry)
public static String sql(org.anyline.entity.geometry.Point point)
public static org.anyline.entity.geometry.Geometry parse(byte[] bytes)
public static org.anyline.entity.geometry.Point parsePoint(byte[] bytes)
bytes - bytespublic static org.anyline.entity.geometry.Point point(byte[] bytes,
int offset)
public static org.anyline.entity.geometry.Point point(org.anyline.util.ByteBuffer buffer)
public static org.anyline.entity.geometry.LineString parseLine(byte[] bytes)
bytes - bytespublic static org.anyline.entity.geometry.LineString line(byte[] bytes,
int offset)
bytes - bytesoffset - point count的开始位置public static org.anyline.entity.geometry.LineString line(org.anyline.util.ByteBuffer buffer)
public static org.anyline.entity.geometry.Polygon parsePolygon(byte[] bytes)
bytes - bytespublic static org.anyline.entity.geometry.Polygon polygon(byte[] bytes,
int offset)
bytes - byteoffset - 环数量开始位置public static org.anyline.entity.geometry.Polygon polygon(org.anyline.util.ByteBuffer buffer)
public static org.anyline.entity.geometry.Ring ring(org.anyline.util.ByteBuffer buffer)
public static org.anyline.entity.geometry.MultiPoint parseMultiPoint(byte[] bytes)
bytes - bytespublic static org.anyline.entity.geometry.MultiPoint multiPoint(org.anyline.util.ByteBuffer buffer)
public static org.anyline.entity.geometry.MultiLine parseMultiLine(byte[] bytes)
bytes - bytespublic static org.anyline.entity.geometry.MultiLine multiLine(org.anyline.util.ByteBuffer buffer)
public static org.anyline.entity.geometry.MultiPolygon parseMultiPolygon(byte[] bytes)
bytes - bytespublic static org.anyline.entity.geometry.MultiPolygon multiPolygon(org.anyline.util.ByteBuffer buffer)
public static org.anyline.entity.geometry.GeometryCollection parseGeometryCollection(byte[] bytes)
bytes - bytespublic static byte[] wkb(org.anyline.entity.geometry.Geometry geometry)
geometry - geometrypublic static void wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.Geometry geometry,
boolean head)
public static byte[] wkb(org.anyline.entity.geometry.Point point)
public static void wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.Point point,
boolean head)
public static byte[] wkb(org.anyline.entity.geometry.LineString line)
public static void wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.LineString line,
boolean head)
public static byte[] wkb(org.anyline.entity.geometry.Polygon polygon)
public static void wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.Polygon polygon,
boolean head)
public static void wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.Ring ring)
public static byte[] wkb(org.anyline.entity.geometry.MultiPoint multiPoint)
public static void wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.MultiPoint multiPoint,
boolean head)
public static byte[] wkb(org.anyline.entity.geometry.MultiLine multiLine)
public static void wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.MultiLine multiLine,
boolean head)
public static byte[] wkb(org.anyline.entity.geometry.MultiPolygon multiPolygon)
public static void wkb(org.anyline.util.ByteBuffer buffer,
org.anyline.entity.geometry.MultiPolygon multiPolygon,
boolean head)
public static byte[] wkb(org.anyline.entity.geometry.GeometryCollection collection)
collection - GeometryCollectionCopyright © 2023. All rights reserved.