Package io.debezium.spatial
Class GeometryBytes.EmptyGeometryCollectionVisitor
java.lang.Object
io.debezium.spatial.GeometryBytes.EmptyGeometryCollectionVisitor
- All Implemented Interfaces:
GeometryVisitor
- Enclosing class:
GeometryBytes
Utility visitor that checks if the
GEOMETRYCOLLECTION is empty.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstartGeometryCollection(int geometryCount) Called after reading the number of geometries present in aGEOMETRYCOLLECTIONgeometry type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.spatial.GeometryVisitor
endGeometryCollection, endLineString, endMultiLineString, endMultiPoint, endMultiPolygon, endPolygon, endRing, enterCollectionGeometry, enterGeometry, enterSubGeometry, exitCollectionGeometry, exitGeometry, exitSubGeometry, startLineString, startMultiLineString, startMultiPoint, startMultiPolygon, startPolygon, startRing, visitCoordinate, visitSrid
-
Field Details
-
isGeometryCollection
boolean isGeometryCollection -
isEmpty
boolean isEmpty
-
-
Constructor Details
-
EmptyGeometryCollectionVisitor
EmptyGeometryCollectionVisitor()
-
-
Method Details
-
startGeometryCollection
public void startGeometryCollection(int geometryCount) Description copied from interface:GeometryVisitorCalled after reading the number of geometries present in aGEOMETRYCOLLECTIONgeometry type.- Specified by:
startGeometryCollectionin interfaceGeometryVisitor- Parameters:
geometryCount- the number of geometries
-