Class Geo3dBinaryCodec
- java.lang.Object
-
- org.locationtech.spatial4j.io.BinaryCodec
-
- org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
-
public class Geo3dBinaryCodec extends org.locationtech.spatial4j.io.BinaryCodecGeo3d implementation ofBinaryCodec- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description Geo3dBinaryCodec(org.locationtech.spatial4j.context.SpatialContext ctx, org.locationtech.spatial4j.context.SpatialContextFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.spatial4j.shape.CirclereadCircle(DataInput dataInput)org.locationtech.spatial4j.shape.ShapeCollectionreadCollection(DataInput dataInput)org.locationtech.spatial4j.shape.PointreadPoint(DataInput dataInput)org.locationtech.spatial4j.shape.RectanglereadRect(DataInput dataInput)org.locationtech.spatial4j.shape.ShapereadShape(DataInput dataInput)voidwriteCircle(DataOutput dataOutput, org.locationtech.spatial4j.shape.Circle c)voidwriteCollection(DataOutput dataOutput, org.locationtech.spatial4j.shape.ShapeCollection col)voidwritePoint(DataOutput dataOutput, org.locationtech.spatial4j.shape.Point pt)voidwriteRect(DataOutput dataOutput, org.locationtech.spatial4j.shape.Rectangle r)voidwriteShape(DataOutput dataOutput, org.locationtech.spatial4j.shape.Shape s)
-
-
-
Method Detail
-
readShape
public org.locationtech.spatial4j.shape.Shape readShape(DataInput dataInput) throws IOException
- Overrides:
readShapein classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
writeShape
public void writeShape(DataOutput dataOutput, org.locationtech.spatial4j.shape.Shape s) throws IOException
- Overrides:
writeShapein classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
readPoint
public org.locationtech.spatial4j.shape.Point readPoint(DataInput dataInput) throws IOException
- Overrides:
readPointin classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
writePoint
public void writePoint(DataOutput dataOutput, org.locationtech.spatial4j.shape.Point pt) throws IOException
- Overrides:
writePointin classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
readRect
public org.locationtech.spatial4j.shape.Rectangle readRect(DataInput dataInput) throws IOException
- Overrides:
readRectin classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
writeRect
public void writeRect(DataOutput dataOutput, org.locationtech.spatial4j.shape.Rectangle r) throws IOException
- Overrides:
writeRectin classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
readCircle
public org.locationtech.spatial4j.shape.Circle readCircle(DataInput dataInput) throws IOException
- Overrides:
readCirclein classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
writeCircle
public void writeCircle(DataOutput dataOutput, org.locationtech.spatial4j.shape.Circle c) throws IOException
- Overrides:
writeCirclein classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
readCollection
public org.locationtech.spatial4j.shape.ShapeCollection readCollection(DataInput dataInput) throws IOException
- Overrides:
readCollectionin classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
writeCollection
public void writeCollection(DataOutput dataOutput, org.locationtech.spatial4j.shape.ShapeCollection col) throws IOException
- Overrides:
writeCollectionin classorg.locationtech.spatial4j.io.BinaryCodec- Throws:
IOException
-
-