IndexEnvelope Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.decodeEnvelope |
( |
PropertyContainer |
container | ) |
|
void Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.encodeEnvelope |
( |
IndexEnvelope |
mbb, |
|
|
PropertyContainer |
container |
|
) |
| |
void Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.encodeGeometry |
( |
Geometry |
geometry, |
|
|
PropertyContainer |
container |
|
) |
| |
This method is called to store a geometry object to the database. It should write it to the container supplied. If the container is a node, it can be the root of an entire sub-graph.
- Parameters
-
Implements Neo4jSpatiotemporal.TemporalGeometryEncoder.
abstract void Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.encodeGeometryShape |
( |
Geometry |
geometry, |
|
|
PropertyContainer |
container |
|
) |
| |
|
abstractprotected |
Integer Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.encodeGeometryType |
( |
String |
jtsGeometryType | ) |
|
|
protected |
Object Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.getAttribute |
( |
Node |
geomNode, |
|
|
String |
name |
|
) |
| |
This method wraps the getProperty(String,null) method on the geometry node. This means the default way of storing attributes is simply as properties of the geometry node. This behaviour can be changed by other domain models with different encodings. If the property does not exist, the method returns null.
- Parameters
-
geomNode | |
attribute | to test |
- Returns
- attribute, or null
Implements Neo4jSpatiotemporal.TemporalGeometryEncoder.
boolean Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.hasAttribute |
( |
Node |
geomNode, |
|
|
String |
name |
|
) |
| |
This method wraps the hasProperty(String) method on the geometry node. This means the default way of storing attributes is simply as properties of the geometry node. This behaviour can be changed by other domain models with different encodings.
- Parameters
-
geomNode | |
attribute | to test |
- Returns
Implements Neo4jSpatiotemporal.TemporalGeometryEncoder.
void Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.init |
( |
LayerST |
layer | ) |
|
When accessing an existing layer, the Layer is constructed from a single node in the graph that represents a layer. This node is expected to have a property containing the class name of the GeometryEncoder for that layer, and it will be constructed and passed the layer using this method, allowing the Layer and the GeometryEncoder to interact.
- Parameters
-
layer | recently created Layer class |
Implements Neo4jSpatiotemporal.TemporalGeometryEncoder.
LayerST Neo4jSpatiotemporal.AbstractTemporalGeometryEncoder.layer |
|
protected |
The documentation for this class was generated from the following file: